org.malai.interaction
Class CheckBoxTransition

java.lang.Object
  extended by org.malai.interaction.Transition
      extended by org.malai.interaction.CheckBoxTransition
All Implemented Interfaces:
ITransition

public class CheckBoxTransition
extends Transition

This transition is mapped to a checkbox that has been modified.

This file is part of Malai.
Copyright (c) 2009-2012 Arnaud BLOUIN

Malai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Malai is distributed without any warranty; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

05/19/2010

Since:
0.2
Author:
Arnaud BLOUIN

Field Summary
protected  javax.swing.JCheckBox checkBox
          The modified checkbox.
 
Fields inherited from class org.malai.interaction.Transition
hid, inputState, outputState
 
Constructor Summary
CheckBoxTransition(SourceableState inputState, TargetableState outputState)
          Transition.Transition(SourceableState, TargetableState)
 
Method Summary
 javax.swing.JCheckBox getCheckBox()
           
 void setCheckBox(javax.swing.JCheckBox checkBox)
          Sets the checkbox that produced the transition.
 
Methods inherited from class org.malai.interaction.Transition
action, getHid, getInputState, getOutputState, isGuardRespected, setHid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

checkBox

protected javax.swing.JCheckBox checkBox
The modified checkbox.

Constructor Detail

CheckBoxTransition

public CheckBoxTransition(SourceableState inputState,
                          TargetableState outputState)
Transition.Transition(SourceableState, TargetableState)

Since:
0.2
Method Detail

getCheckBox

public javax.swing.JCheckBox getCheckBox()
Returns:
The modified checkbox.
Since:
0.2

setCheckBox

public void setCheckBox(javax.swing.JCheckBox checkBox)
Sets the checkbox that produced the transition.

Parameters:
checkBox - The checkbox.
Since:
0.2