|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.jtheque.core.managers.view.impl.actions.JThequeAction
public abstract class JThequeAction
An action of JTheque.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
|
JThequeAction(java.lang.String key)
Construct a new JThequeAction. |
protected |
JThequeAction(java.lang.String key,
java.lang.Object[] replaces)
Construct a new JThequeAction. |
Method Summary | |
---|---|
java.lang.String |
getTextKey()
Return the internationalization key. |
void |
refreshText()
Refresh the text. |
void |
setIcon(javax.swing.ImageIcon icon)
Set the icon of te action. |
void |
setText(java.lang.String text)
Set the text of the action. |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.ActionListener |
---|
actionPerformed |
Constructor Detail |
---|
public JThequeAction(java.lang.String key)
key
- The internationalization key.protected JThequeAction(java.lang.String key, java.lang.Object[] replaces)
key
- The internationalization key.replaces
- The replacements on the message ressource.Method Detail |
---|
public final java.lang.String getTextKey()
public final void setText(java.lang.String text)
text
- The text.public final void setIcon(javax.swing.ImageIcon icon)
icon
- The icon.public final void refreshText()
Internationalizable
refreshText
in interface Internationalizable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |