toxtree.ui.tree.actions
Class EditCategoryAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by toxtree.ui.tree.actions.AbstractTreeAction
          extended by toxtree.ui.tree.actions.EditCategoryAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, ICategoryAction, ITreeAction

public class EditCategoryAction
extends AbstractTreeAction
implements ICategoryAction

Edits a category

Author:
Nina Jeliazkova Modified 2005-10-23
See Also:
Serialized Form

Field Summary
protected  IDecisionCategory category
           
 
Fields inherited from class toxtree.ui.tree.actions.AbstractTreeAction
PARENTKEY, tree
 
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
 
Constructor Summary
EditCategoryAction(IDecisionMethod tree)
           
EditCategoryAction(IDecisionMethod tree, java.lang.String name)
           
EditCategoryAction(IDecisionMethod tree, java.lang.String name, javax.swing.Icon icon)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 IDecisionCategory getCategory()
           
 void setCategory(IDecisionCategory category)
           
 
Methods inherited from class toxtree.ui.tree.actions.AbstractTreeAction
getParentFrame, getTree, setTree
 
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

category

protected IDecisionCategory category
Constructor Detail

EditCategoryAction

public EditCategoryAction(IDecisionMethod tree)

EditCategoryAction

public EditCategoryAction(IDecisionMethod tree,
                          java.lang.String name)

EditCategoryAction

public EditCategoryAction(IDecisionMethod tree,
                          java.lang.String name,
                          javax.swing.Icon icon)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getCategory

public IDecisionCategory getCategory()
Specified by:
getCategory in interface ICategoryAction

setCategory

public void setCategory(IDecisionCategory category)
Specified by:
setCategory in interface ICategoryAction


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.