chemaxon.struc.graphics
Class MRectanglePoint.Sticky

java.lang.Object
  extended by chemaxon.struc.MObject
      extended by chemaxon.struc.MPoint
          extended by chemaxon.struc.graphics.MRectanglePoint
              extended by chemaxon.struc.graphics.MRectanglePoint.Sticky
All Implemented Interfaces:
java.io.Serializable, java.lang.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
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT
 
Constructor Summary
  MRectanglePoint.Sticky(MRectangle r, int pos)
          Constructor.
protected MRectanglePoint.Sticky(MRectanglePoint p)
          Copy constructor.
 
Method Summary
 java.lang.Object clone()
          Creates a clone.
 void getLocation(DPoint3 q, CTransform3D trot)
          Gets the location.
 
Methods inherited from class chemaxon.struc.graphics.MRectanglePoint
addNotify, equals, equals, getParentRect, getPositionInRect, isChildOf, isSelectableNow, isTransformable, removeNotify, setLocation, toString, transform
 
Methods inherited from class chemaxon.struc.MPoint
calcCenter, distanceFrom, equals, getLocation, getLocation, getPoint, getPointCount, getPointRef, getPointRefCount, isInternalSelectable
 
Methods inherited from class chemaxon.struc.MObject
addAttributeKeys, addCdataAttributeKeys, checkValidity, containsAtom, containsPoint, distanceFrom, finishCloning, fixClonedPoints, getAttribute, getBackground, getColor, getLineColor, hasBackground, hasColor, hasLineColor, isEmpty, isReactionArrow, isSelected, makeColor, removeAtom, removeChild, replaceAtom, setAttribute, setBackground, setColor, setLineColor, setSelected, unselectContents, updateBoundingRect
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MRectanglePoint.Sticky

public MRectanglePoint.Sticky(MRectangle r,
                              int pos)
Constructor.

Parameters:
r - the parent rectangle
pos - the position

MRectanglePoint.Sticky

protected MRectanglePoint.Sticky(MRectanglePoint p)
Copy constructor.

Parameters:
p - the point
Method Detail

clone

public java.lang.Object clone()
Description copied from class: MObject
Creates a clone.

Overrides:
clone in class MRectanglePoint
Returns:
the clone

getLocation

public void getLocation(DPoint3 q,
                        CTransform3D trot)
Gets the location.

Overrides:
getLocation in class MPoint
Parameters:
q - the output point object
trot - the viewing transformation or null
Since:
Marvin 4.1, 04/28/2006