Interface Editable

All Superinterfaces:
Labelable
All Known Implementing Classes:
AbstractValueHoldingSwingGadget

public interface Editable extends Labelable
Aspect definition for editable gadgets. Although this aspect inherits from Labelable, a gadget has to provide/register both aspects to enable both.
Since:
4.2.405
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AspectType<Editable>
    The aspect's technical to be used for requesting the aspect from an Aspectable.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEditable(boolean editable)
    Set the editable state of the gadget.

    Methods inherited from interface de.espirit.firstspirit.ui.gadgets.aspects.Labelable

    getLabel
  • Field Details

    • TYPE

      static final AspectType<Editable> TYPE
      The aspect's technical to be used for requesting the aspect from an Aspectable.
      Since:
      4.2.405
  • Method Details

    • setEditable

      void setEditable(boolean editable)
      Set the editable state of the gadget.

      The outer framework guarantees that his method is not invoked before the gadget's component was requested.

      Parameters:
      editable - If true, the gadget should be set editable.
      Since:
      4.2.405