Interface ISelectorT<T extends SelectorItem,TCollection extends IItemList<T>>
- All Superinterfaces:
ICellLinkControl,ICellLinkControlT<Integer>,IControl,ISelector
public interface ISelectorT<T extends SelectorItem,TCollection extends IItemList<T>>
extends ISelector
Represents a control that allows a user to select items from among its child elements.
-
Method Summary
Modifier and TypeMethodDescriptiongetItems()Gets items of this control.Gets the currently selected item.Methods inherited from interface com.grapecity.documents.excel.forms.ICellLinkControl
getDisplay3DShading, getLinkedCell, setDisplay3DShading, setLinkedCellMethods inherited from interface com.grapecity.documents.excel.forms.ICellLinkControlT
getValue, setValueMethods inherited from interface com.grapecity.documents.excel.forms.IControl
bringToFront, delete, getBottomRightCell, getEnabled, getFormControlType, getHeight, getLeft, getLocked, getName, getParent, getPlacement, getPrintObject, getShapeRange, getTop, getTopLeftCell, getVisible, getWidth, getZOrder, sendToBack, setEnabled, setHeight, setLeft, setLocked, setName, setPlacement, setPrintObject, setTop, setVisible, setWidthMethods inherited from interface com.grapecity.documents.excel.forms.ISelector
getItemsSourceRange, getSelectedIndex, setItemsSourceRange, setSelectedIndex
-
Method Details
-
getItems
TCollection getItems()Gets items of this control. The list is read-only ifISelector.ItemsSourceRangeexists.- API Note:
- Not fully supported by the *.ssjson format. Data could lose.
-
getSelectedItem
T getSelectedItem()Gets the currently selected item.- API Note:
- Not fully supported by the *.ssjson format.
IndexOutOfBoundsExceptioncould occur if items are lost.
-