|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.display.AbstractStateAdapter<Boolean>
net.sf.doolin.gui.display.BooleanStateAdapter
public class BooleanStateAdapter
Adapter from a Boolean value to a DisplayState.
| Constructor Summary | |
|---|---|
BooleanStateAdapter()
|
|
| Method Summary | |
|---|---|
DisplayState |
convertSubjectToTarget(Boolean subjectValue)
Conversion from the subject to the target |
DisplayState |
getIfFalseState()
Gets the state if the boolean is evaluated to false |
DisplayState |
getIfTrueState()
Gets the state if the boolean is evaluated to true |
void |
setIfFalseState(DisplayState ifFalseState)
Sets the state to return if the boolean is evaluated to false |
void |
setIfTrueState(DisplayState ifTrueState)
Sets the state to return if the boolean is evaluated to true |
| Methods inherited from class net.sf.doolin.gui.display.AbstractStateAdapter |
|---|
convertTargetToSubject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanStateAdapter()
| Method Detail |
|---|
public DisplayState convertSubjectToTarget(Boolean subjectValue)
Adapter
subjectValue - Subject value
public DisplayState getIfTrueState()
true
public void setIfTrueState(DisplayState ifTrueState)
true
ifTrueState - Statepublic DisplayState getIfFalseState()
false
public void setIfFalseState(DisplayState ifFalseState)
false
ifFalseState - State
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||