|
||||||||||
| 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.MRectanglePoint
Rectangle point object.
| Nested Class Summary | |
static class |
MRectanglePoint.Sticky
Fixed rectangle point that can be a point of a polyline. |
| Field Summary | |
protected MRectangle |
parentRect
|
protected byte |
positionInRect
|
| Fields inherited from class chemaxon.struc.MObject |
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT |
| Constructor Summary | |
protected |
MRectanglePoint(MRectangle r,
int i,
double x,
double y,
double z)
Contructs a rectangle corner point object. |
protected |
MRectanglePoint(MRectanglePoint p)
Copy constructor. |
| Method Summary | |
void |
addNotify()
Point added to a document. |
java.lang.Object |
clone()
Creates a clone. |
boolean |
equals(MRectanglePoint o)
Two rectangle points equal if their parent rectangles are the same and they are on the same corner or edge. |
boolean |
equals(java.lang.Object o)
Two rectangle points equal if their parent rectangles are the same and they are on the same corner or edge. |
MRectangle |
getParentRect()
Gets the parent rectangle. |
int |
getPositionInRect()
Gets the position in the rectangle. |
boolean |
isChildOf(MObject o)
Is this object a children of another one? |
boolean |
isSelectableNow()
Is the object selectable now? |
void |
removeNotify()
Point removed from a document. |
void |
setLocation(DPoint3 p,
CTransform3D t)
Sets the coordinates. |
java.lang.String |
toString()
Overrides Object.toString() to ease debugging. |
void |
transform(CTransform3D t,
int opts,
CTransform3D trot)
Transforms all points. |
| Methods inherited from class chemaxon.struc.MPoint |
calcCenter, distanceFrom, equals, getLocation, getLocation, getLocation, getPoint, getPointCount, getPointRef, getPointRefCount, isInternalSelectable, paint |
| Methods inherited from class chemaxon.struc.MObject |
addAttributeKeys, addCdataAttributeKeys, checkValidity, containsAtom, distanceFrom, finishCloning, getAttribute, getBackground, getColor, getLineColor, hasBackground, hasColor, hasLineColor, isEmpty, isSelected, isTransformable, makeColor, removeChild, replaceAtom, setAttribute, setBackground, setColor, setLineColor, setSelected, unselectContents |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected transient byte positionInRect
protected transient MRectangle parentRect
| Constructor Detail |
protected MRectanglePoint(MRectangle r,
int i,
double x,
double y,
double z)
r - the parent rectanglei - position on the rectangle (0-3)x - the x coordinatey - the y coordinatez - the z coordinateprotected MRectanglePoint(MRectanglePoint p)
p - the point| Method Detail |
public boolean equals(java.lang.Object o)
equals in class MPointo - the other point
public boolean equals(MRectanglePoint o)
o - the other point
public java.lang.Object clone()
MObject
clone in class MPointpublic boolean isSelectableNow()
MObject
isSelectableNow in class MObjectpublic boolean isChildOf(MObject o)
isChildOf in class MPointo - a possible parent
public int getPositionInRect()
public MRectangle getParentRect()
public void addNotify()
addNotify in class MObjectpublic void removeNotify()
removeNotify in class MObject
public void setLocation(DPoint3 p,
CTransform3D t)
setLocation in class MPointp - the new locationt - the viewing transformation or null
public void transform(CTransform3D t,
int opts,
CTransform3D trot)
transform in class MPointt - the transformation matrixopts - the optionstrot - the viewing transformation or nullpublic java.lang.String toString()
MObject@', and the unsigned
hexadecimal representation of the hash code of the object.
toString in class MObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||