Package chemaxon.struc.graphics
Class MRectanglePoint.Sticky
- java.lang.Object
-
- chemaxon.struc.MObject
-
- chemaxon.struc.MPoint
-
- chemaxon.struc.graphics.MRectanglePoint
-
- chemaxon.struc.graphics.MRectanglePoint.Sticky
-
- All Implemented Interfaces:
Serializable
,Cloneable
- Enclosing class:
- MRectanglePoint
public static class MRectanglePoint.Sticky extends MRectanglePoint
Fixed rectangle point that can be a point of a polyline.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class chemaxon.struc.graphics.MRectanglePoint
MRectanglePoint.Sticky
-
-
Field Summary
-
Fields inherited from class chemaxon.struc.graphics.MRectanglePoint
parentRect, positionInRect
-
Fields inherited from class chemaxon.struc.MObject
TRANSFORM_DISTORT
-
-
Constructor Summary
Constructors Modifier Constructor Description Sticky(MRectangle r, int pos)
Constructor.protected
Sticky(MRectanglePoint p)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MRectanglePoint.Sticky
clone()
Creates a clone.void
getLocation(DPoint3 q, CTransform3D trot)
Gets the location.-
Methods inherited from class chemaxon.struc.graphics.MRectanglePoint
addNotify, equals, getParentRect, getPositionInRect, isChildOf, isSelectableNow, isTransformable, removeNotify, setLocation, toString, transform
-
Methods inherited from class chemaxon.struc.MPoint
calcCenter, distanceFrom, getLocation, getLocation, getPoint, getPointCount, getPointRef, getPointRefCount, hashCode, isInternalSelectable
-
Methods inherited from class chemaxon.struc.MObject
addAttributeKeys, addCdataAttributeKeys, checkValidity, connectToSgroupOfAtom, containsAtom, containsPoint, distanceFrom, finishCloning, fixClonedPoints, getAttribute, getBackground, getColor, getContainerMObject, getLineColor, hasBackground, hasColor, hasLineColor, isEmpty, isReactionArrow, isSelected, makeColor, removeAtom, removeChild, replaceAtom, setAttribute, setBackground, setColor, setLineColor, setSelected, unselectContents, updateBoundingRect, updateBoundingRect
-
-
-
-
Constructor Detail
-
Sticky
public Sticky(MRectangle r, int pos)
Constructor.- Parameters:
r
- the parent rectanglepos
- the position
-
Sticky
protected Sticky(MRectanglePoint p)
Copy constructor.- Parameters:
p
- the point
-
-
Method Detail
-
clone
public MRectanglePoint.Sticky clone()
Description copied from class:MObject
Creates a clone.- Overrides:
clone
in classMRectanglePoint
- Returns:
- the clone
-
getLocation
public void getLocation(DPoint3 q, CTransform3D trot)
Gets the location.- Overrides:
getLocation
in classMPoint
- Parameters:
q
- the output point objecttrot
- the viewing transformation or null- Since:
- Marvin 4.1, 04/28/2006
-
-