|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractAction | +--com.sshtools.sshterm.StandardAction | +--com.sshtools.sshterm.SaveAction
Describes the Save action for the SshTerminalFrame
Field Summary | |
static java.lang.String |
IMAGE_DIR
The imge directory path |
static java.lang.String |
LARGE_ICON
The key used for storing a large icon for the action, used for toolbar buttons. |
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 | |
SaveAction()
Constructor |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
Forwards the ActionEvent to the registered listener. |
void |
addActionListener(java.awt.event.ActionListener l)
Adds a feature to the ActionListener attribute of the StandardAction object |
java.lang.String |
getActionCommand()
Gets the value from the key Action.ACTION_COMMAND_KEY |
javax.swing.ImageIcon |
getIcon(java.lang.String name)
Returns the Icon associated with the name from the resources. |
java.lang.String |
getLongDescription()
Gets the value from the key Action.LONG_DESCRIPTION |
java.lang.String |
getName()
|
java.lang.String |
getShortDescription()
Gets the value from the key Action.SHORT_DESCRIPTION |
java.lang.String |
getSmallIcon()
|
void |
removeActionListener(java.awt.event.ActionListener l)
Description of the Method |
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 |
Field Detail |
public static final java.lang.String IMAGE_DIR
public static final java.lang.String LARGE_ICON
Constructor Detail |
public SaveAction()
Method Detail |
public java.lang.String getActionCommand()
public java.lang.String getShortDescription()
public java.lang.String getLongDescription()
public java.lang.String getName()
public java.lang.String getSmallIcon()
public void actionPerformed(java.awt.event.ActionEvent evt)
evt
- Description of the Parameterpublic void addActionListener(java.awt.event.ActionListener l)
l
- The feature to be added to the ActionListener attributepublic void removeActionListener(java.awt.event.ActionListener l)
l
- Description of the Parameterpublic javax.swing.ImageIcon getIcon(java.lang.String name)
name
- Name of the icon file i.e., help16.gif
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |