|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.struc.MObject
chemaxon.struc.MPoint
chemaxon.struc.graphics.MEFlowBasePoint
public class MEFlowBasePoint
Electron flow arrow base point. May be fixed to a lone pair.
| Field Summary |
|---|
| Fields inherited from class chemaxon.struc.MObject |
|---|
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT |
| Constructor Summary | |
|---|---|
MEFlowBasePoint()
Contructs an empty point object. |
|
MEFlowBasePoint(MEFlowBasePoint p)
Copy constructor. |
|
MEFlowBasePoint(MolAtom a,
MPoint p)
Contructs a point object. |
|
| Method Summary | |
|---|---|
boolean |
checkValidity(MDocument doc,
java.util.Collection<MolAtom> invec)
Is it a valid object in the document? |
java.lang.Object |
clone()
Creates a clone. |
boolean |
containsAtom(MolAtom a)
Checks if the atom set contains the specified atom object. |
boolean |
equals(MEFlowBasePoint o)
Two points equal if their atoms equal. |
boolean |
equals(MPoint o)
Two points equal if their atoms equal. |
boolean |
equals(java.lang.Object o)
Two points equal if their atoms equal. |
void |
finishCloning(MDocument olddoc,
MDocument newdoc)
Finish cloning a document. |
MolAtom |
getAtom()
Gets the atom. |
void |
getLocation(DPoint3 out,
CTransform3D trot)
Gets the location. |
MPoint |
getOtherEnd()
Gets the atom at the other end point. |
MPoint |
getPoint(int i)
Gets the point. |
boolean |
isTransformable()
Is it a transformable object? |
void |
replaceAtom(MolAtom orig,
MolAtom a)
Replaces a contained atom with another one. |
void |
setLocation(DPoint3 p,
CTransform3D trot)
Sets the atom coordinates. |
void |
setStartEnd(MolAtom a,
MPoint p)
Sets the atoms. |
void |
transform(CTransform3D t,
int opts,
CTransform3D trot)
Does not perform any operation. |
| Methods inherited from class chemaxon.struc.MPoint |
|---|
calcCenter, distanceFrom, getLocation, getLocation, getPointCount, getPointRef, getPointRefCount, isChildOf, isInternalSelectable |
| Methods inherited from class chemaxon.struc.MObject |
|---|
addAttributeKeys, addCdataAttributeKeys, addNotify, containsPoint, distanceFrom, fixClonedPoints, getAttribute, getBackground, getColor, getLineColor, hasBackground, hasColor, hasLineColor, isEmpty, isReactionArrow, isSelectableNow, isSelected, makeColor, removeAtom, removeChild, removeNotify, setAttribute, setBackground, setColor, setLineColor, setSelected, toString, unselectContents, updateBoundingRect |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MEFlowBasePoint()
public MEFlowBasePoint(MolAtom a,
MPoint p)
a - the starting point of the arrowp - other end point of the arrowpublic MEFlowBasePoint(MEFlowBasePoint p)
p - the point| Method Detail |
|---|
public boolean equals(MEFlowBasePoint o)
o - the other point
public boolean equals(MPoint o)
equals in class MPointo - the other point
public boolean equals(java.lang.Object o)
equals in class MPointo - the other point
public java.lang.Object clone()
MObject
clone in class MPoint
public void setStartEnd(MolAtom a,
MPoint p)
a - the starting point of the arrowp - other end point of the arrowpublic MolAtom getAtom()
public MPoint getOtherEnd()
public boolean containsAtom(MolAtom a)
containsAtom in class MObject
public void replaceAtom(MolAtom orig,
MolAtom a)
replaceAtom in class MObjectorig - the original atoma - the new atom
public void getLocation(DPoint3 out,
CTransform3D trot)
getLocation in class MPointout - the output point objecttrot - the viewing transformation or null
public void setLocation(DPoint3 p,
CTransform3D trot)
setLocation in class MPointp - the new locationtrot - the viewing transformation or nullpublic MPoint getPoint(int i)
getPoint in class MPointi - the point index (must be 0)
public void transform(CTransform3D t,
int opts,
CTransform3D trot)
transform in class MPointt - the transformation matrixopts - transform options or 0trot - the viewing transformation or nullMObject.TRANSFORM_DISTORTpublic boolean isTransformable()
isTransformable in class MObject
public boolean checkValidity(MDocument doc,
java.util.Collection<MolAtom> invec)
checkValidity in class MObjectdoc - the documentinvec - collection of invalid atoms or null
public void finishCloning(MDocument olddoc,
MDocument newdoc)
finishCloning in class MObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||