ru.biosoft.graphics.editor
Class InsertAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--ru.biosoft.graphics.editor.InsertAction
- public class InsertAction
- extends AbstractAction
The InsertAction class extends functionality of AbstractAction
| Field Summary |
final static String | PARAMETER Action key for sending of any parameters to action |
| Constructor Summary |
InsertAction() |
InsertAction(String name, String shortDesc, String longDesc, int mnemonic, String imageFile, String cmd, ActionListener listener) Defines an Action object with the specified
name,long/short description string,mnemonic key,icon, command string and the listener. |
InsertAction(String name, String shortDesc, String longDesc, int mnemonic, String imageFile, ActionListener listener) Defines an Action object with the specified
name,long/short description string,mnemonic key,icon and action listener. |
InsertAction(String name, String shortDesc, String longDesc, int mnemonic, String imageFile) Defines an Action object with the specified
name,long/short description string,mnemonic key,icon . |
| Methods inherited from class javax.swing.AbstractAction |
getValue, putValue, isEnabled, setEnabled, getKeys, addPropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
PARAMETER
public final static String PARAMETER
- Action key for sending of any parameters to action
InsertAction
public InsertAction()
InsertAction
public InsertAction(String name, String shortDesc, String longDesc, int mnemonic, String imageFile, String cmd, ActionListener listener)
- Defines an
Action object with the specified
name,long/short description string,mnemonic key,icon, command string and the listener.- Parameters:
- name - of action
- shortDesc - short description of action
- longDesc - long description of action
- mnemonic - hot key
- imageFile - image for icon on button or menu items
- cmd - corresponding string command
- listener - listener of action
InsertAction
public InsertAction(String name, String shortDesc, String longDesc, int mnemonic, String imageFile, ActionListener listener)
- Defines an
Action object with the specified
name,long/short description string,mnemonic key,icon and action listener.- Parameters:
- name - name of action
- shortDesc - shortDesc short description of action
- longDesc - longDesc long description of action
- mnemonic - mnemonic hot key
- imageFile - image for icon on button or menu items
- listener - listener listener of action
InsertAction
public InsertAction(String name, String shortDesc, String longDesc, int mnemonic, String imageFile)
- Defines an
Action object with the specified
name,long/short description string,mnemonic key,icon .- Parameters:
- name - name of action
- shortDesc - shortDesc short description of action
- longDesc - longDesc long description of action
- mnemonic - mnemonic hot key
- imageFile - image for icon on button or menu items
actionPerformed
public void actionPerformed(ActionEvent evt)
- Overridden method for translation action events to the all listeners
- Parameters:
- evt - ActionEvent
addActionListener
public void addActionListener(ActionListener l)
- Adds the specified action listener to receive action event .
removeActionListeners
public void removeActionListeners(Class clazz)
to Class org.apache.log4j.Category
to Class java.lang.String
- Action key for sending of any parameters to action
to Class java.util.Vector
- Action listener
BOTTOM