public class CAction extends Object
CAction
is associated with one CDockable
, allowing the
user to perform actions which are somehow connected to that CDockable
.Modifier | Constructor and Description |
---|---|
protected |
CAction()
Creates a new empty
CAction , subclasses must call
init(CommonDockAction) to complete initialization of this action. |
protected |
CAction(CommonDockAction action)
Creates a new CAction
|
Modifier and Type | Method and Description |
---|---|
protected void |
init(CommonDockAction action)
Initializes this action.
|
CommonDockAction |
intern()
Gets the internal representation of the action.
|
protected CAction()
CAction
, subclasses must call
init(CommonDockAction)
to complete initialization of this action.protected CAction(CommonDockAction action)
action
- the internal representation of this action. Subclasses
can put null
in here and later call init(CommonDockAction)
protected void init(CommonDockAction action)
action
- the internal representation, not null
public CommonDockAction intern()