public static class FwkToggleDialogPaneValue.ToggleValue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
iconKey
The icon key value.
|
java.lang.String |
textKey
The text key value.
|
boolean |
value
The state value.
|
Constructor and Description |
---|
FwkToggleDialogPaneValue.ToggleValue(java.lang.String textKey,
java.lang.String iconKey,
boolean value)
This constructor receives all necessary values to display a toggle value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of the value.
|
boolean |
isSelected()
Get a boolean whether the value is selected.
|
java.lang.String |
toString()
Get the string presentation of the value.
|
public java.lang.String textKey
public java.lang.String iconKey
public boolean value
public FwkToggleDialogPaneValue.ToggleValue(java.lang.String textKey, java.lang.String iconKey, boolean value)
textKey
- The text property keyword.iconKey
- The icon property keyword.value
- The boolean state value.public boolean isSelected()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object