Interface Selectable

All Known Subinterfaces:
SelectActionControl, SelectButtonControl, SelectLinkControl, TreeNodeModel<V>
All Known Implementing Classes:
AbstractBooleanSelectActionControl, AbstractSelectActionControl, AbstractSelectActionValueControl, BooleanSelectButton, BooleanSelectLink, BooleanSelectToolButton, DefaultTreeNodeModel, DummyTreeNodeModel, DynamicTreeNodeModel, ImageBooleanSelectActionControl, SelectableLabel, SelectButton, SelectLink, TaskStateSelectLink, ValueSelectButton, ValueSelectLink

public interface Selectable
An object that can be selected.
Author:
Garret Wilson
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The bound property of whether the object is selected.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    setSelected(boolean newSelected)
    Sets whether the object is selected.
  • Field Details

    • SELECTED_PROPERTY

      static final String SELECTED_PROPERTY
      The bound property of whether the object is selected.
  • Method Details

    • isSelected

      boolean isSelected()
      Returns:
      Whether the object is selected.
    • setSelected

      void setSelected(boolean newSelected)
      Sets whether the object is selected. This is a bound property of type Boolean.
      Parameters:
      newSelected - true if the object should be selected, else false.
      See Also: