public class AddCategoryAction extends AbstractAction
AbstractAction
Used in toxTree.ui
Launches a dialog with a list of all available categories IDecisionCategory
and adds the selected one to the listchangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
AddCategoryAction(List list) |
AddCategoryAction(List list,
String name) |
AddCategoryAction(List list,
String name,
Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic AddCategoryAction(List list)
list - should be IDecisionCategoriespublic AddCategoryAction(List list, String name)
list - of categories IDecisionCategoriesname - Action namepublic void actionPerformed(ActionEvent e)
Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.