chemaxon.struc.graphics
Class MMidPoint.Sticky

java.lang.Object
  extended by chemaxon.struc.MObject
      extended by chemaxon.struc.MPoint
          extended by chemaxon.struc.graphics.MMidPoint
              extended by chemaxon.struc.graphics.MMidPoint.Sticky
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
MMidPoint

public static class MMidPoint.Sticky
extends MMidPoint

Fixed middle 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.MMidPoint
MMidPoint.Sticky
 
Field Summary
 
Fields inherited from class chemaxon.struc.graphics.MMidPoint
parentLine, polylinePointIndex
 
Fields inherited from class chemaxon.struc.MObject
PAINT_ANTIALIAS, PAINT_FOCUSED, TRANSFORM_DISTORT
 
Constructor Summary
protected MMidPoint.Sticky(MMidPoint p)
          Copy constructor.
  MMidPoint.Sticky(MPolyline l, int i)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Creates a clone.
 void getLocation(DPoint3 q, CTransform3D t)
          Gets the location.
 
Methods inherited from class chemaxon.struc.graphics.MMidPoint
addNotify, equals, equals, getFixedLocation, getParentLine, getPositionInPolyline, isChildOf, isSelectableNow, 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, isTransformable, 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

MMidPoint.Sticky

public MMidPoint.Sticky(MPolyline l,
                        int i)
Constructor.

Parameters:
l - the parent line
i - position in the polyline

MMidPoint.Sticky

protected MMidPoint.Sticky(MMidPoint 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 MMidPoint
Returns:
the clone

getLocation

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

Overrides:
getLocation in class MMidPoint
Parameters:
q - the output point object
t - the transformation matrix or null