|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.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 |
pointerCopyDrag(int modifiers)
|
boolean |
pointerDrag(int modifiers)
|
boolean |
pointerMove(int modifiers)
|
| 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 copy| Method Detail |
public boolean containedObjectEquals(SketchMode o)
containedObjectEquals in class SketchModepublic java.lang.Object clone()
clone in class SketchModepublic Molecule getMol()
getMol in class SketchModepublic boolean canPointToAtom()
canPointToAtom in class SketchModetruepublic boolean canPointToSgroup()
canPointToSgroup in class SketchModetrue
public int buttonDown(boolean dblClick,
int modifiers)
buttonDown in class SketchMode
public int buttonUp(int modifiers,
boolean doHist)
buttonUp in class SketchModepublic boolean pointerMove(int modifiers)
pointerMove in class SketchModepublic boolean pointerDrag(int modifiers)
pointerDrag in class SketchModepublic boolean pointerCopyDrag(int modifiers)
pointerCopyDrag in class SketchMode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||