|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionData
Definition of an interface for describing properties of an action.
This interface is used in communication between a concrete implementation of
the interface and tag handler classes
for defining action objects. The properties defined by this interface are
supported by the generic action classes.
ActionManager
The here specified properties are typical for GUI controls that represent actions, e.g. a textual description, an icon, and a tool tip text.
| Method Summary | |
|---|---|
Accelerator |
getAccelerator()
Returns the Accelerator associated with this action. |
java.lang.Object |
getIcon()
Returns an icon for the represented action. |
int |
getMnemonicKey()
Returns the mnemonic for the represented action. |
java.lang.String |
getName()
Returns the name of the represented action. |
java.lang.Object |
getTask()
Returns the task object for the represented action. |
java.lang.String |
getText()
Returns a text for this action. |
java.lang.String |
getToolTip()
Returns the tool tip text for the represented action. |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getText()
java.lang.String getToolTip()
int getMnemonicKey()
Accelerator getAccelerator()
Accelerator associated with this action. Through
an accelerator the action can be associated with a specific key
combination. By typing this key combination the action will be triggered.
An example for an accelerator is the well-known key combination CONTROL+C
for copying the current selection into the clipboard.
Accelerator for this action; can be null,
then the action is not associated with an
Acceleratorjava.lang.Object getIcon()
java.lang.Object getTask()
Runnable
or an ActionTask object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||