All Classes Namespaces Files Functions Variables
MultipleChooser.java
Go to the documentation of this file.
1 package fi.jyu.mit.fxgui;
2 
3 import java.util.List;
4 
5 /**
6  * Allows selecting multiples of some items from the component
7  * @author terop
8  * @version 13.1.2017
9  * @param <T> Type to store to the chooser component
10  */
11 public interface MultipleChooser<T> extends Chooser<T> {
12  /**
13  * Returns all of the selected objects from the components
14  * @return the objects
15  */
16  List<T> getSelectedObjects();
17 
18  /**
19  * Returns all of the selected texts in the components
20  * @return the texts
21  */
22  List<String> getSelectedTexts();
23 
24  /**
25  * Returns all of the selected indices
26  * @return all selected indices
27  */
28  List<Integer> getSelectedIndices();
29 }