Class SelectorItem
java.lang.Object
com.grapecity.documents.excel.forms.SelectorItem
- Direct Known Subclasses:
DropDownItem,ListBoxItem
Provides a base class for item types in a selection control.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal StringgetValue()Gets the content of this item.final booleanChecks if the object is in read-only mode.final voidsetReadOnly(boolean value) Sets the read-only mode of the object.final voidSets the content of this item.final voidUpdateBindingValue(String value) Updates the binding value with the specified value.
-
Constructor Details
-
SelectorItem
public SelectorItem()
-
-
Method Details
-
getValue
Gets the content of this item. -
setValue
Sets the content of this item. -
UpdateBindingValue
Updates the binding value with the specified value.- Parameters:
value- The new value to set for the binding.
-
isReadOnly
public final boolean isReadOnly()Checks if the object is in read-only mode.- Returns:
- True if the object is in read-only mode, False otherwise.
-
setReadOnly
public final void setReadOnly(boolean value) Sets the read-only mode of the object.- Parameters:
value- True to set the object as read-only, False to set it as editable.
-