001package fi.jyu.mit.fxgui; 002 003import java.util.List; 004 005/** 006 * Allows selecting multiples of some items from the component 007 * @author terop 008 * @version 13.1.2017 009 * @param <T> Type to store to the chooser component 010 */ 011public interface MultipleChooser<T> extends Chooser<T> { 012 /** 013 * Returns all of the selected objects from the components 014 * @return the objects 015 */ 016 List<T> getSelectedObjects(); 017 018 /** 019 * Returns all of the selected texts in the components 020 * @return the texts 021 */ 022 List<String> getSelectedTexts(); 023 024 /** 025 * Returns all of the selected indices 026 * @return all selected indices 027 */ 028 List<Integer> getSelectedIndices(); 029}