|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chemaxon.struc.MDocument chemaxon.struc.MSelectionDocument
Selection document. This class is under development and internal use only.
Field Summary |
Fields inherited from class chemaxon.struc.MDocument |
mainMChemicalStruct, objectContainingSelection, objects |
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. |
java.lang.Object |
clone()
Creates a clone. |
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, toString, wait, wait, wait |
Constructor Detail |
public MSelectionDocument(SelectionMolecule m)
m
- the main molecule graphpublic MSelectionDocument(MSelectionDocument doc)
doc
- the sourceMethod Detail |
public java.lang.Object clone()
clone
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |