All Classes Namespaces Files Functions Variables
fi.jyu.mit.fxgui.MultipleChooser< T > Interface Reference

Allows selecting multiples of some items from the component. More...

Inheritance diagram for fi.jyu.mit.fxgui.MultipleChooser< T >:
fi.jyu.mit.fxgui.Chooser< T >

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.
 
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.
 

Detailed Description

Allows selecting multiples of some items from the component.

Author
terop
Version
13.1.2017
Parameters
<T>Type to store to the chooser component

Definition at line 11 of file MultipleChooser.java.

Member Function Documentation

List<Integer> fi.jyu.mit.fxgui.MultipleChooser< T >.getSelectedIndices ( )

Returns all of the selected indices.

Returns
all selected indices
List<T> fi.jyu.mit.fxgui.MultipleChooser< T >.getSelectedObjects ( )

Returns all of the selected objects from the components.

Returns
the objects
List<String> fi.jyu.mit.fxgui.MultipleChooser< T >.getSelectedTexts ( )

Returns all of the selected texts in the components.

Returns
the texts

The documentation for this interface was generated from the following file: