bibliothek.gui.dock.common.action
Class CAction

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

@Todo(compatibility=COMPATIBLE,
      priority=ENHANCEMENT,
      target=VERSION_1_1_0,
      description="remove \'abstract\'")
public abstract 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 Summary
protected CAction(DockAction action)
          Creates a new CAction
 
Method Summary
protected  void init(DockAction action)
          Initializes this action.
 DockAction intern()
          Gets the internal representation of the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAction

protected CAction(DockAction action)
Creates a new CAction

Parameters:
action - the internal representation of this action. Subclasses can put null in here and later call init(DockAction)
Method Detail

init

protected void init(DockAction action)
Initializes this action. This method can be called only once.

Parameters:
action - the internal representation, not null

intern

public DockAction intern()
Gets the internal representation of the action.

Returns:
the representation