public interface MultiToggle extends Actionable
| Modifier and Type | Method and Description |
|---|---|
int |
getSelectedIndex()
Returns the index of the currently selected option
|
int |
getTotalOptions()
Returns the total amount of options
|
void |
nextOption()
Changes the current selection to the next available option
|
void |
previousOption()
Changes the current selection to the option before the currently selected
option.
|
void |
setSelectedIndex(int index)
Sets the currently selected option
|
addActionListener, isEnabled, notifyActionListenersOfBeginEvent, notifyActionListenersOfEndEvent, removeActionListener, setEnabledaddHoverListener, getId, invokeBeginHover, invokeEndHover, isHoverEnabled, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, removeHoverListener, setHoverEnabledint getSelectedIndex()
void setSelectedIndex(int index)
index - The index to set as selectedint getTotalOptions()
void nextOption()
void previousOption()