toxtree.ui.tree.actions
Class AddCategoryAction
java.lang.Object
javax.swing.AbstractAction
toxtree.ui.tree.actions.AddCategoryAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class AddCategoryAction
- extends javax.swing.AbstractAction
A descendant of AbstractAction
Used in toxTree.ui
Launches a dialog with a list of all available categories IDecisionCategory
and adds the selected one to the list
- Author:
- Nina Jeliazkova
Modified 2005-10-9
- See Also:
- Serialized Form
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 |
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 |
AddCategoryAction
public AddCategoryAction(java.util.List list)
- Parameters:
list
- should be IDecisionCategories
AddCategoryAction
public AddCategoryAction(java.util.List list,
java.lang.String name)
- Parameters:
list
- of categories IDecisionCategories
name
- Action name
AddCategoryAction
public AddCategoryAction(java.util.List list,
java.lang.String name,
javax.swing.Icon icon)
- Parameters:
list
- name
- icon
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.