Class CAction
java.lang.Object
bibliothek.gui.dock.common.action.CAction
- Direct Known Subclasses:
CBlank,CDecorateableAction,CSeparator
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
ConstructorsModifierConstructorDescriptionprotectedCAction()Creates a new emptyCAction, subclasses must callinit(CommonDockAction)to complete initialization of this action.protectedCAction(CommonDockAction action) Creates a new CAction -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit(CommonDockAction action) Initializes this action.intern()Gets the internal representation of the action.
-
Constructor Details
-
CAction
protected CAction()Creates a new emptyCAction, subclasses must callinit(CommonDockAction)to complete initialization of this action. -
CAction
Creates a new CAction- Parameters:
action- the internal representation of this action. Subclasses can putnullin here and later callinit(CommonDockAction)
-
-
Method Details
-
init
Initializes this action. This method can be called only once.- Parameters:
action- the internal representation, notnull
-
intern
Gets the internal representation of the action.- Returns:
- the representation
-