Module platform

Class CheckBoxItem

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, RegistryContext, UIItem, UserFields, XObject, Described, EventListener, Map, Serializable, EventListener

public final class CheckBoxItem extends Item implements UIItem, EventListener
See Also:
  • Field Details

  • Constructor Details

    • CheckBoxItem

      public CheckBoxItem()
  • Method Details

    • getUINodeType

      public int getUINodeType()
      Specified by:
      getUINodeType in interface UIItem
    • invoke

      public Object invoke(Context ctx, String method, Object arg)
      Specified by:
      invoke in interface UIItem
    • get

      public static CheckBoxItem get(UINodeHandler handler, Object node)
    • setValue

      public void setValue(Context ctx, boolean value)
    • eventOccured

      public void eventOccured(EventObject event)
      Description copied from interface: EventListener
      This method is invoked on registered event listeners when event has occured. This general listener interface does not restrict the possible kinds of events. Concrete sources of events should specify which events they may fire.
      Specified by:
      eventOccured in interface EventListener
      Parameters:
      event - an event
    • getProperty

      public UIProperty getProperty()
    • getValue

      public boolean getValue(Context ctx)
    • isAvailable

      public boolean isAvailable(Context ctx)
      Specified by:
      isAvailable in interface UIItem
    • isEnabled

      public boolean isEnabled(Context ctx)
      Specified by:
      isEnabled in interface UIItem
    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Item
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Item
      Returns:
      new instance of class of this node