|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MRectangle
Rectangle object.
| Field Summary |
| Fields inherited from class chemaxon.struc.graphics.MPolyline |
ARROW_BACK_FLAG, ARROW_HALF_LEFT, ARROW_HALF_MASK, ARROW_HALF_RIGHT, CLOSED_FLAG, DEFAULT_THICKNESS, HEAD, TAIL, THICKNESS_SET_FLAG |
| Fields inherited from class chemaxon.struc.MObject |
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT |
| Constructor Summary | |
|
MRectangle()
Contructs a rectangle. |
|
MRectangle(MPoint p1,
MPoint p2,
java.awt.Color c,
java.awt.Color bg)
Contructs a rectangle with the specified corner points. |
protected |
MRectangle(MRectangle r)
Copy constructor. |
| Method Summary | |
java.lang.Object |
clone()
Creates a clone. |
protected java.lang.Object |
getClipObject(CTransform3D t)
Gets the clipping rectangle. |
MPoint |
getPointRef(int i)
Gets an internal selectable point of the rectangle. |
int |
getPointRefCount()
Gets the number of internal selectable point references. |
void |
removeChild(MObject o)
Removes a child object. |
void |
setCorners(MPoint p1,
MPoint p2)
Sets the corners. |
| Methods inherited from class chemaxon.struc.graphics.MPolyline |
addAttributeKeys, calcCenter, checkValidity, containsAtom, copyProperties, distanceFrom, finishCloning, getArcAngle, getArcCenter, getArcRadius, getArrowFlags, getArrowLength, getArrowWidth, getAttribute, getFlags, getPoint, getPointCount, getSkip, getThickness, hasBackground, hasColor, hasFace, hasLineColor, hasOutline, isArrow, isEmpty, isThicknessSet, paint, replaceAtom, setArcAngle, setArrow, setArrowFlags, setArrowLength, setArrowWidth, setAttribute, setFlags, setPoints, setSkip, setThickness, transform, unselectContents |
| Methods inherited from class chemaxon.struc.MObject |
addCdataAttributeKeys, addNotify, distanceFrom, getBackground, getColor, getLineColor, isChildOf, isInternalSelectable, isSelectableNow, isSelected, isTransformable, makeColor, makeColorString, removeNotify, setBackground, setColor, setLineColor, setSelected |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MRectangle()
public MRectangle(MPoint p1,
MPoint p2,
java.awt.Color c,
java.awt.Color bg)
p1 - the top left cornerp2 - the bottom right cornerc - the colorbg - the background colorprotected MRectangle(MRectangle r)
r - the original rectangle| Method Detail |
public void setCorners(MPoint p1,
MPoint p2)
p1 - the top left cornerp2 - the bottom right cornerpublic java.lang.Object clone()
MObject
clone in class MPolylinepublic void removeChild(MObject o)
MObject
removeChild in class MPolylinepublic int getPointRefCount()
getPointRefCount in class MPolylinepublic MPoint getPointRef(int i)
getPointRef in class MPolylinei - the point index
protected final java.lang.Object getClipObject(CTransform3D t)
t - the transformation matrix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||