|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jsxe.LocalizedAction
An action that can be used by jsXe. These actions are registered
with jsXe through ActionSets. These ActionSets can be registered with
jsXe by plugins. Once an LocalizedAction is included in an ActionSet and
registered with jsXe via the addActionSet()
method,
key bindings can be associated to the action via the InputManager.
jsXe
,
ActionSet
,
InputManager
Field Summary | |
static String |
INTERNAL_NAME
The internal name of the action used for retrieval from jsXe.getAction(String) and for storing properties related
to the action. |
static String |
MESSAGE_NAME
The message name of the action used to retrieve the localized human readable text for the action. |
static String |
NAME
As an alternative to the MESSAGE_NAME an actual name can be used. |
static String |
TOOLTIP_MESSAGE_NAME
The message name for the localized tooltip message that is associated with this action. |
Constructor Summary | |
LocalizedAction(String name)
Creates a new LocalizedAction that can be used with jsXe. |
Method Summary | |
String |
getLabel()
Gets the human readable localized label for this action. |
String |
getName()
Gets the internal name for this action. |
abstract void |
invoke(TabbedView view,
ActionEvent evt)
The method that is run when the action is invoked. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String INTERNAL_NAME
jsXe.getAction(String)
and for storing properties related
to the action.
public static final String MESSAGE_NAME
public static final String NAME
public static final String TOOLTIP_MESSAGE_NAME
Constructor Detail |
public LocalizedAction(String name)
name
- the internal name of the action.Method Detail |
public abstract void invoke(TabbedView view, ActionEvent evt)
view
- the view that invoked the action.evt
- the ActionEvent for this event.public String getName()
public String getLabel()
getName()
suffixed with .label
.
Messages
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |