public class MoleculeEditor
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.KeyListener
| Modifier and Type | Field and Description |
|---|---|
boolean |
applyAble |
Engine |
engine |
java.util.Vector<javax.vecmath.Point3f[]> |
history |
javax.vecmath.Point3f[] |
initialPoints |
java.util.Vector<java.lang.Object[]> |
logs |
static int |
MODE_CONFORMATION |
static int |
MODE_GRANULARITY |
Particle |
particleExtending |
| Constructor and Description |
|---|
MoleculeEditor(Molecule_3D mol,
boolean applyable,
Engine engine,
java.lang.String currentProfile,
java.lang.Double standardStereoValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyCurrent() |
void |
applyProfile(Molecule_3D[] molsToApplyTo,
MoleculeProfile profile) |
void |
cancelCurrent() |
void |
combineCurrentSelection() |
void |
editMembers() |
Display |
getDisplay()
Returns the Display of this MoleculeEditor.
|
void |
handleRubberBandSelection() |
void |
keyPressed(java.awt.event.KeyEvent arg0) |
void |
keyReleased(java.awt.event.KeyEvent arg0) |
void |
keyTyped(java.awt.event.KeyEvent arg0) |
void |
mouseClicked(java.awt.event.MouseEvent arg0) |
void |
mouseDragged(java.awt.event.MouseEvent arg0) |
void |
mouseEntered(java.awt.event.MouseEvent arg0) |
void |
mouseExited(java.awt.event.MouseEvent arg0) |
void |
mouseMoved(java.awt.event.MouseEvent arg0) |
void |
mousePressed(java.awt.event.MouseEvent arg0) |
void |
mouseReleased(java.awt.event.MouseEvent arg0) |
void |
recombineEditedMembers(boolean applied) |
void |
setChanged(boolean b) |
void |
setDefaultConformation() |
void |
setProfile(java.lang.String selectedProfile) |
void |
treatCurrent(boolean saveAsNew,
boolean apply) |
void |
undoConformation(boolean fromHistory) |
void |
updateSelection() |
public static final int MODE_GRANULARITY
public static final int MODE_CONFORMATION
public javax.vecmath.Point3f[] initialPoints
public Particle particleExtending
public java.util.Vector<java.lang.Object[]> logs
public java.util.Vector<javax.vecmath.Point3f[]> history
public boolean applyAble
public Engine engine
public MoleculeEditor(Molecule_3D mol, boolean applyable, Engine engine, java.lang.String currentProfile, java.lang.Double standardStereoValue)
public void updateSelection()
public void mouseClicked(java.awt.event.MouseEvent arg0)
mouseClicked in interface java.awt.event.MouseListenerpublic void handleRubberBandSelection()
public void mouseEntered(java.awt.event.MouseEvent arg0)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent arg0)
mouseExited in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent arg0)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent arg0)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseDragged(java.awt.event.MouseEvent arg0)
mouseDragged in interface java.awt.event.MouseMotionListenerpublic void mouseMoved(java.awt.event.MouseEvent arg0)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void keyPressed(java.awt.event.KeyEvent arg0)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent arg0)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent arg0)
keyTyped in interface java.awt.event.KeyListenerpublic void combineCurrentSelection()
public void treatCurrent(boolean saveAsNew,
boolean apply)
public void setProfile(java.lang.String selectedProfile)
public void applyCurrent()
public void cancelCurrent()
public void undoConformation(boolean fromHistory)
public void setDefaultConformation()
public void editMembers()
public void recombineEditedMembers(boolean applied)
public void setChanged(boolean b)
public void applyProfile(Molecule_3D[] molsToApplyTo, MoleculeProfile profile)
public Display getDisplay()