toxtree.ui.tree.actions
Class AbstractTreeAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by toxtree.ui.tree.actions.AbstractTreeAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, ITreeAction
Direct Known Subclasses:
EditCategoryAction, EditRuleAction, EditTreeExplanation, NewRuleAction, SaveTreeAction, SelectCategoryFromListAction, SetBranchAction, VerifyUnreachableRulesAction, VerifyUnusedCategories

public abstract class AbstractTreeAction
extends javax.swing.AbstractAction
implements ITreeAction

An AbstractAction descendant, performing an action on a preset IDecisionMethod

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

Field Summary
static java.lang.String PARENTKEY
           
protected  IDecisionMethod 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
AbstractTreeAction(IDecisionMethod tree)
           
AbstractTreeAction(IDecisionMethod tree, java.lang.String name)
           
AbstractTreeAction(IDecisionMethod tree, java.lang.String name, javax.swing.Icon icon)
           
 
Method Summary
 javax.swing.JFrame getParentFrame()
           
 IDecisionMethod getTree()
           
 void setTree(IDecisionMethod tree)
           
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

tree

protected IDecisionMethod tree

PARENTKEY

public static java.lang.String PARENTKEY
Constructor Detail

AbstractTreeAction

public AbstractTreeAction(IDecisionMethod tree)

AbstractTreeAction

public AbstractTreeAction(IDecisionMethod tree,
                          java.lang.String name)
Parameters:
name -

AbstractTreeAction

public AbstractTreeAction(IDecisionMethod tree,
                          java.lang.String name,
                          javax.swing.Icon icon)
Parameters:
name -
icon -
Method Detail

getTree

public IDecisionMethod getTree()
Specified by:
getTree in interface ITreeAction

setTree

public void setTree(IDecisionMethod tree)
Specified by:
setTree in interface ITreeAction

getParentFrame

public javax.swing.JFrame getParentFrame()


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