Interface EditComponent

All Superinterfaces:
Component, DepictedObject, Displayable, EditListenable, InfoModel, LabelModel, Model, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable
All Known Implementing Classes:
AbstractEditComponentTextControl, AbstractEditValueControl, AbstractEditValuePanel, AbstractTextControl, CheckControl, EditComponentLabelControl, EditComponentTextControl, ResourceImportControl, SliderControl, Table, TextControl

public interface EditComponent extends Component, EditListenable
A component that has content that can be edited.
Author:
Garret Wilson
  • Field Details

    • EDITABLE_PROPERTY

      static final String EDITABLE_PROPERTY
      The editable bound property.
  • Method Details

    • isEditable

      boolean isEditable()
      Returns:
      Whether the value is editable and the component will allow the the user to change the value.
    • setEditable

      void setEditable(boolean newEditable)
      Sets whether the value is editable and the component will allow the the user to change the value. This is a bound property of type Boolean.
      Parameters:
      newEditable - true if the component should allow the user to change the value.
      See Also: