| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
org.archiviststoolkit.swing.ConcreteAction
public class ConcreteAction
The Concrete action is used to manage delegate actions.
| Field Summary | 
|---|
| Fields inherited from class javax.swing.AbstractAction | 
|---|
changeSupport, enabled | 
| Fields inherited from interface javax.swing.Action | 
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON | 
| Constructor Summary | |
|---|---|
ConcreteAction(java.lang.String name)
Class constructor adds default values into the Action.  | 
|
| Method Summary | |
|---|---|
 void | 
actionPerformed(java.awt.event.ActionEvent actionEvent)
delegates the actions back out to the specific component.  | 
 void | 
addActionListener(java.awt.event.ActionListener listener)
Add an listener to this action.  | 
 void | 
removeActionListener(java.awt.event.ActionListener listener)
Remove the listener.  | 
 void | 
setDescription(java.lang.String name)
sets the description on the action.  | 
 void | 
setIcon(javax.swing.ImageIcon icon)
sets the icon for 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 | 
| Constructor Detail | 
|---|
public ConcreteAction(java.lang.String name)
name - the name of the action| Method Detail | 
|---|
public final void setIcon(javax.swing.ImageIcon icon)
icon - the icon to setpublic final void setDescription(java.lang.String name)
name - the text to assign to the descriptionpublic final void addActionListener(java.awt.event.ActionListener listener)
listener - to be addedpublic final void removeActionListener(java.awt.event.ActionListener listener)
listener - to be removedpublic final void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent - the event that needs to be handled
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||