Interface ISelector
- All Superinterfaces:
ICellLinkControl,ICellLinkControlT<Integer>,IControl
- All Known Subinterfaces:
IDropDown,IListBox,ISelectorT<T,TCollection>
Represents a control that allows a user to select items from among its child elements.
-
Method Summary
Modifier and TypeMethodDescriptionRepresents the items source of this control.intRepresents the selected index of this control.voidsetItemsSourceRange(IRange value) Represents the items source of this control.voidsetSelectedIndex(int value) Represents the selected index of this control.Methods inherited from interface com.grapecity.documents.excel.forms.ICellLinkControl
getDisplay3DShading, getLinkedCell, setDisplay3DShading, setLinkedCellMethods inherited from interface com.grapecity.documents.excel.forms.ICellLinkControlT
getValueMethods 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, setWidth
-
Method Details
-
getItemsSourceRange
IRange getItemsSourceRange()Represents the items source of this control. This property can't be used if items were added toISelectorT.Items.This property doesn't handle #REF! errors. #REF! will be treated as an empty collection.
-
setItemsSourceRange
Represents the items source of this control. This property can't be used if items were added toISelectorT.Items.This property doesn't handle #REF! errors. #REF! will be treated as an empty collection.
-
getSelectedIndex
int getSelectedIndex()Represents the selected index of this control.- API Note:
- Not fully supported by the *.ssjson format.The index could cause
IndexOutOfBoundsExceptionif items are lost.
-
setSelectedIndex
void setSelectedIndex(int value) Represents the selected index of this control.- API Note:
- Not fully supported by the *.ssjson format.The index could cause
IndexOutOfBoundsExceptionif items are lost.
-