|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.mpEdit.AbstractMpAction
This class will be changed to inherit from swing AbstractAction
Field Summary | |
private boolean |
enabled
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
ENABLED
Identifier passed to PropertyChangeListeners when enabled flag has changed |
static java.lang.String |
ID_STRING
mpEDIT addition: provide emacs-like action identifier |
protected java.lang.String |
idString
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
LONG_DESCRIPTION
Verbose description for help, or advanced info |
protected java.lang.String |
name
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
NAME
Text to be displayed on text button or in menu |
private java.beans.PropertyChangeSupport |
propertyChangeSupport
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
SHORT_DESCRIPTION
Short description to be displayed in tooltips etc |
protected java.lang.String |
shortDescription
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
SMALL_ICON
Key string for returning small (16x16) icon to be displayd on button |
static java.lang.String |
SMALL_ICON_DISABLED
mpEDIT additon: Small Icon in disabled state |
private static java.util.ResourceBundle |
strings
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
AbstractMpAction(java.lang.String aIdString)
Constructor for class AbstractMpAction |
Method Summary | |
abstract void |
actionPerformed(java.awt.event.ActionEvent e)
No comment provided by developer, please add a comment to improve documentation. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Access method for an one to n association. |
java.lang.String |
getIdString()
Get the idString attribute of the AbstractMpAction object |
java.lang.String |
getName()
Get the name attribute of the AbstractMpAction object |
java.lang.String |
getShortDescription()
Get the shortDescription attribute of the AbstractMpAction object |
java.lang.String |
getText(java.lang.String key)
Get the text attribute of the AbstractMpAction object |
boolean |
isEnabled()
Get the enabled attribute of the AbstractMpAction object |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
No comment provided by developer, please add a comment to improve documentation. |
void |
setEnabled(boolean b)
Sets the enabled attribute of the AbstractMpAction object |
void |
setName(java.lang.String text)
Sets the name attribute of the AbstractMpAction object |
void |
setShortDescription(java.lang.String text)
Sets the shortDescription attribute of the AbstractMpAction object |
void |
setText(java.lang.String key,
java.lang.String text)
Sets the text attribute of the AbstractMpAction object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static java.util.ResourceBundle strings
private boolean enabled
private java.beans.PropertyChangeSupport propertyChangeSupport
protected java.lang.String idString
protected java.lang.String name
protected java.lang.String shortDescription
public static final java.lang.String NAME
public static final java.lang.String LONG_DESCRIPTION
public static final java.lang.String SHORT_DESCRIPTION
public static final java.lang.String SMALL_ICON
public static final java.lang.String SMALL_ICON_DISABLED
public static final java.lang.String ID_STRING
public static final java.lang.String ENABLED
Constructor Detail |
public AbstractMpAction(java.lang.String aIdString)
aIdString
- No description providedMethod Detail |
public abstract void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- No description providedpublic java.lang.String getText(java.lang.String key)
getText
in interface MpAction
key
- No description provided
public void setText(java.lang.String key, java.lang.String text)
setText
in interface MpAction
key
- The new text valuetext
- The new text valuepublic java.lang.String getIdString()
getIdString
in interface MpAction
public java.lang.String getShortDescription()
getShortDescription
in interface MpAction
public void setShortDescription(java.lang.String text)
setShortDescription
in interface MpAction
text
- The new shortDescription valuepublic java.lang.String getName()
getName
in interface MpAction
public void setName(java.lang.String text)
setName
in interface MpAction
text
- The new name valuepublic boolean isEnabled()
isEnabled
in interface MpAction
public void setEnabled(boolean b)
setEnabled
in interface MpAction
b
- The new enabled valuepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface MpAction
listener
- The object added.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface MpAction
listener
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |