Class CAction

java.lang.Object
bibliothek.gui.dock.common.action.CAction
Direct Known Subclasses:
CBlank, CDecorateableAction, CSeparator

public class CAction extends Object
A CAction is associated with one CDockable, allowing the user to perform actions which are somehow connected to that CDockable.
Author:
Benjamin Sigg
  • Constructor Details

    • CAction

      protected CAction()
      Creates a new empty CAction, subclasses must call init(CommonDockAction) to complete initialization of this action.
    • CAction

      protected CAction(CommonDockAction action)
      Creates a new CAction
      Parameters:
      action - the internal representation of this action. Subclasses can put null in here and later call init(CommonDockAction)
  • Method Details

    • init

      protected void init(CommonDockAction action)
      Initializes this action. This method can be called only once.
      Parameters:
      action - the internal representation, not null
    • intern

      public CommonDockAction intern()
      Gets the internal representation of the action.
      Returns:
      the representation