public class MoleculeEditAction extends AbstractMoleculeAction
Modifier and Type | Field and Description |
---|---|
protected JChemPaintDialog |
jcpDialog |
protected org.openscience.cdk.interfaces.IChemModel |
jcpModel |
protected boolean |
modal |
protected org.openscience.cdk.interfaces.IAtomContainerSet |
molecules |
protected Component |
parentComponent |
protected org.openscience.cdk.layout.StructureDiagramGenerator |
sdg |
molecule
changeSupport, enabled
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 and Description |
---|
MoleculeEditAction() |
MoleculeEditAction(org.openscience.cdk.interfaces.IAtomContainer molecule) |
MoleculeEditAction(org.openscience.cdk.interfaces.IAtomContainer molecule,
String arg0) |
MoleculeEditAction(org.openscience.cdk.interfaces.IAtomContainer molecule,
String arg0,
Icon arg1) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg0) |
void |
editMolecule(boolean editable,
Component frame) |
protected org.openscience.cdk.interfaces.IAtomContainerSet |
getMoleculeForEdit(org.openscience.cdk.interfaces.IAtomContainer atomContainer) |
protected JFrame |
getParent(Component c) |
Component |
getParentComponent() |
boolean |
isModal() |
protected void |
setJCPModel() |
void |
setModal(boolean modal) |
void |
setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
setParentComponent(Component parentComponent) |
protected void |
updateMolecule(org.openscience.cdk.interfaces.IAtomContainer mol) |
getMolecule
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected org.openscience.cdk.interfaces.IAtomContainerSet molecules
protected org.openscience.cdk.interfaces.IChemModel jcpModel
protected org.openscience.cdk.layout.StructureDiagramGenerator sdg
protected Component parentComponent
protected JChemPaintDialog jcpDialog
protected boolean modal
public MoleculeEditAction()
public MoleculeEditAction(org.openscience.cdk.interfaces.IAtomContainer molecule)
public MoleculeEditAction(org.openscience.cdk.interfaces.IAtomContainer molecule, String arg0)
protected void setJCPModel()
public void actionPerformed(ActionEvent arg0)
public void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
setMolecule
in class AbstractMoleculeAction
protected org.openscience.cdk.interfaces.IAtomContainerSet getMoleculeForEdit(org.openscience.cdk.interfaces.IAtomContainer atomContainer) throws Exception
Exception
public Component getParentComponent()
public void setParentComponent(Component parentComponent)
parentComponent
- The parentComponent to set.public void editMolecule(boolean editable, Component frame)
protected void updateMolecule(org.openscience.cdk.interfaces.IAtomContainer mol)
public boolean isModal()
public void setModal(boolean modal)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.