|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.struc.MDocument
chemaxon.struc.MSelectionDocument
public class MSelectionDocument
Selection document. This class is under development and internal use only.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class chemaxon.struc.MDocument |
---|
MDocument.CheckerMark, MDocument.Prop |
Field Summary |
---|
Fields inherited from class chemaxon.struc.MDocument |
---|
mainMChemicalStruct, mainMMoleculeMovie, objectContainingSelection, objects, SETCOLOR_COLORLESS, SETCOLOR_DEFAULT, SETCOLOR_SPECIFIED |
Constructor Summary | |
---|---|
MSelectionDocument(MSelectionDocument doc)
Copy constructor. |
|
MSelectionDocument(SelectionMolecule m)
Creates a document for the specified molecule graph. |
Method Summary | |
---|---|
void |
addObject(MObject o)
Adds an object to the document. |
void |
clear()
Clears the document. |
MDocument |
cloneDocument()
Creates a clone. |
Sgroup |
findSelectedSgroup()
Gets the smallest sgroup that belongs to the selection. |
void |
removeObject(int i)
Removes an object from the document. |
void |
removeObject(MObject o)
Removes an object from the document. |
void |
setObject(MObject o,
int i)
Sets an object |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MSelectionDocument(SelectionMolecule m)
m
- the main molecule graphpublic MSelectionDocument(MSelectionDocument doc)
doc
- the sourceMethod Detail |
---|
public MDocument cloneDocument()
cloneDocument
in class MDocument
public void addObject(MObject o)
addObject
in class MDocument
o
- the objectpublic void removeObject(MObject o)
removeObject
in class MDocument
o
- the objectpublic void removeObject(int i)
removeObject
in class MDocument
i
- the object indexpublic void setObject(MObject o, int i)
setObject
in class MDocument
o
- the objecti
- the indexpublic void clear()
clear
in class MDocument
public Sgroup findSelectedSgroup()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |