toxtree.ui.tree.rules
Class RuleSubstructuresEditAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ambit2.jchempaint.editor.AbstractMoleculeAction
          extended by toxtree.ui.molecule.MoleculeEditAction
              extended by toxtree.ui.tree.rules.RuleMoleculeEditAction
                  extended by toxtree.ui.tree.rules.RuleSubstructuresEditAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, IRuleAction

public class RuleSubstructuresEditAction
extends RuleMoleculeEditAction

substructure rule

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

Field Summary
protected  boolean createNewMolecule
           
protected  int index
           
 
Fields inherited from class toxtree.ui.tree.rules.RuleMoleculeEditAction
rule
 
Fields inherited from class toxtree.ui.molecule.MoleculeEditAction
jcpDialog, jcpModel, modal, molecules, parentComponent, sdg
 
Fields inherited from class ambit2.jchempaint.editor.AbstractMoleculeAction
molecule
 
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
RuleSubstructuresEditAction(org.openscience.cdk.interfaces.IMolecule molecule)
           
RuleSubstructuresEditAction(org.openscience.cdk.interfaces.IMolecule molecule, java.lang.String arg0)
           
RuleSubstructuresEditAction(org.openscience.cdk.interfaces.IMolecule molecule, java.lang.String arg0, javax.swing.Icon arg1)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 boolean isCreateNewMolecule()
           
 void setAtomContainer(org.openscience.cdk.interfaces.IAtomContainer atomContainer, int index)
           
 void setCreateNewMolecule(boolean createNewMolecule)
           
protected  void updateMolecule(org.openscience.cdk.interfaces.IMolecule mol)
           
 
Methods inherited from class toxtree.ui.tree.rules.RuleMoleculeEditAction
getRule, setRule
 
Methods inherited from class toxtree.ui.molecule.MoleculeEditAction
editMolecule, getMoleculeForEdit, getParent, getParentComponent, isModal, setJCPModel, setModal, setMolecule, setParentComponent
 
Methods inherited from class ambit2.jchempaint.editor.AbstractMoleculeAction
getMolecule
 
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

createNewMolecule

protected boolean createNewMolecule

index

protected int index
Constructor Detail

RuleSubstructuresEditAction

public RuleSubstructuresEditAction(org.openscience.cdk.interfaces.IMolecule molecule)
Parameters:
molecule -

RuleSubstructuresEditAction

public RuleSubstructuresEditAction(org.openscience.cdk.interfaces.IMolecule molecule,
                                   java.lang.String arg0)
Parameters:
molecule -
arg0 -

RuleSubstructuresEditAction

public RuleSubstructuresEditAction(org.openscience.cdk.interfaces.IMolecule molecule,
                                   java.lang.String arg0,
                                   javax.swing.Icon arg1)
Parameters:
molecule -
arg0 -
arg1 -
Method Detail

actionPerformed

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

updateMolecule

protected void updateMolecule(org.openscience.cdk.interfaces.IMolecule mol)
Overrides:
updateMolecule in class MoleculeEditAction

setAtomContainer

public void setAtomContainer(org.openscience.cdk.interfaces.IAtomContainer atomContainer,
                             int index)

isCreateNewMolecule

public boolean isCreateNewMolecule()

setCreateNewMolecule

public void setCreateNewMolecule(boolean createNewMolecule)


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