toxtree.ui.tree.actions
Class AbstractRuleAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by toxtree.ui.tree.actions.AbstractRuleAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, IRuleAction
Direct Known Subclasses:
SubstructureFromListAction, SubstructuresFromFileAction

public abstract class AbstractRuleAction
extends javax.swing.AbstractAction
implements IRuleAction

An AbstractAction descendant , performing an action on a preset IDecisionRule

Author:
Nina Jeliazkova
See Also:
Serialized Form

Field Summary
protected  IDecisionRule rule
           
 
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
AbstractRuleAction(IDecisionRule rule)
           
AbstractRuleAction(IDecisionRule rule, java.lang.String arg0)
           
AbstractRuleAction(IDecisionRule rule, java.lang.String arg0, javax.swing.Icon arg1)
           
 
Method Summary
 javax.swing.JFrame getParentFrame()
           
 IDecisionRule getRule()
           
 void setRule(IDecisionRule rule)
           
 
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

rule

protected IDecisionRule rule
Constructor Detail

AbstractRuleAction

public AbstractRuleAction(IDecisionRule rule)

AbstractRuleAction

public AbstractRuleAction(IDecisionRule rule,
                          java.lang.String arg0)

AbstractRuleAction

public AbstractRuleAction(IDecisionRule rule,
                          java.lang.String arg0,
                          javax.swing.Icon arg1)
Method Detail

getRule

public IDecisionRule getRule()
Specified by:
getRule in interface IRuleAction

setRule

public void setRule(IDecisionRule rule)
Specified by:
setRule in interface IRuleAction

getParentFrame

public javax.swing.JFrame getParentFrame()


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