|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chemaxon.marvin.sketch.SketchMode chemaxon.marvin.sketch.SgroupSM
S-group mode. This class is under development, use it at your own risk!
Constructor Summary | |
SgroupSM(chemaxon.marvin.sketch.MolEditor e,
Sgroup sg)
Creates a sketcher S-group object. |
|
SgroupSM(SgroupSM so)
Copy constructor. |
Method Summary | |
int |
buttonDown(boolean dblClick,
int modifiers)
|
int |
buttonUp(int modifiers,
boolean doHist)
|
boolean |
canPointToAtom()
Can the user point to an atom in this sketching mode? |
boolean |
canPointToSgroup()
Can the user point to an S-group in this sketching mode? |
java.lang.Object |
clone()
Clones the selection object. |
boolean |
containedObjectEquals(SketchMode o)
|
Molecule |
getMol()
Gets a molecule instance containing the S-group's clone. |
boolean |
pointerDrag(int modifiers)
|
boolean |
pointerMove(int modifiers)
|
Methods inherited from class chemaxon.marvin.sketch.SketchMode |
canPointToAtomPair, canPointToBond, canPointToMObject, getEditor, getPointableAtomPairs, getPointableAtoms, getPointableBonds, getPointedAtomPairMinDstRatio2, getSelectUtil, initSketchMode, isCurrentJoinHighlighted, isRubber, isTemporaryObjectPaintingNeeded, moveTo, paintTemporaryObject, paintTemps1, prepareMolPaint, reset, setMol |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SgroupSM(chemaxon.marvin.sketch.MolEditor e, Sgroup sg)
e
- the molecule editorsg
- the S-grouppublic SgroupSM(SgroupSM so)
so
- the object to copyMethod Detail |
public boolean containedObjectEquals(SketchMode o)
containedObjectEquals
in class SketchMode
public java.lang.Object clone()
clone
in class SketchMode
public Molecule getMol()
getMol
in class SketchMode
public boolean canPointToAtom()
canPointToAtom
in class SketchMode
true
public boolean canPointToSgroup()
canPointToSgroup
in class SketchMode
true
public int buttonDown(boolean dblClick, int modifiers)
buttonDown
in class SketchMode
public int buttonUp(int modifiers, boolean doHist)
buttonUp
in class SketchMode
public boolean pointerMove(int modifiers)
pointerMove
in class SketchMode
public boolean pointerDrag(int modifiers)
pointerDrag
in class SketchMode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |