Class SelectorItem
- Direct Known Subclasses:
DropDownItem
, ListBoxItem
public abstract class SelectorItem
extends Object
Provides a base class for item types in a selection control.
-
Constructor Summary
Constructors
-
Method Summary
Gets the content of this item.
final boolean
Checks if the object is in read-only mode.
final void
Sets the read-only mode of the object.
final void
Sets the content of this item.
final void
Updates the binding value with the specified value.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SelectorItem
public SelectorItem()
-
Method Details
-
getValue
public final String getValue()
Gets the content of this item.
-
setValue
public final void setValue(String value)
Sets the content of this item.
-
UpdateBindingValue
public final void UpdateBindingValue(String value)
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.