Allows selecting multiples of some items from the component. More...
Public Member Functions | |
List< T > | getSelectedObjects () |
Returns all of the selected objects from the components. | |
List< String > | getSelectedTexts () |
Returns all of the selected texts in the components. | |
List< Integer > | getSelectedIndices () |
Returns all of the selected indices. | |
Public Member Functions inherited from fi.jyu.mit.fxgui.Chooser< T > | |
void | add (String name, T object) |
Adds a single object to the system. | |
void | addSelectionListener (Consumer< T > event) |
Adds the selection change listener to the component. | |
void | add (T object) |
Adds only the object to the system. | |
void | addExample (String name) |
Adds an example string to the gui without stored object. | |
void | clear () |
Clears the components of objects. | |
T | getSelectedObject () |
Returns the first seleceted object. | |
String | getSelectedText () |
Returns the first selected objects gui text. | |
int | getSelectedIndex () |
Returns the first selected index. | |
int | setSelectedIndex (int index) |
Sets item in index selected. | |
void | setRivit (String jono) |
Sets the rows. | |
void | setRivit (String[] rivit) |
Sets the rows. | |
String | removeMnemonic (String item) |
Poistetaan alleviiva. | |
Allows selecting multiples of some items from the component.
<T> | Type to store to the chooser component |
Definition at line 11 of file MultipleChooser.java.
List<Integer> fi.jyu.mit.fxgui.MultipleChooser< T >.getSelectedIndices | ( | ) |
Returns all of the selected indices.
List<T> fi.jyu.mit.fxgui.MultipleChooser< T >.getSelectedObjects | ( | ) |
Returns all of the selected objects from the components.
List<String> fi.jyu.mit.fxgui.MultipleChooser< T >.getSelectedTexts | ( | ) |
Returns all of the selected texts in the components.