Package com.iizix.prop.ui.selection
Interface IUIBooleanSelection
- All Superinterfaces:
IUISelection
- All Known Implementing Classes:
BooleanSelection
,RadioSelection
public interface IUIBooleanSelection extends IUISelection
The boolean selection is used for components that can be selected or unselected, e.g. a radio button.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IUIBooleanSelectionComp
getBooleanSource()
Get the source component of the event.boolean
isOFF()
Returns if the selection is "off".boolean
isON()
Returns if the selection is "on".boolean
isSelected()
Returns the selection state.boolean
isUnselected()
Returns if the selection is not set.Methods inherited from interface com.iizix.prop.ui.selection.IUISelection
asAnimatedSingleIndexedSelection, asBooleanSelection, asCellSelection, asIndexedSelection, asSingleIndexedSelection, asTriStateSelection, getSource, getUISource
Method Detail
getBooleanSource
IUIBooleanSelectionComp getBooleanSource()
Get the source component of the event.- Returns:
- The check-type component.
isSelected
boolean isSelected()
Returns the selection state.- Returns:
- true if selected, false if unselected.
isUnselected
boolean isUnselected()
Returns if the selection is not set.- Returns:
- true if unselected, false if selected.
isON
boolean isON()
Returns if the selection is "on".- Returns:
- true if on, false if off.
isOFF
boolean isOFF()
Returns if the selection is "off".- Returns:
- true if off, false if on.