Package chemaxon.struc.graphics
Class MAssigner
java.lang.Object
chemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MAssigner
- All Implemented Interfaces:
Serializable
,Cloneable
Atom assigner to connect two atoms.
- Since:
- Marvin 5.4, Jul 12, 2010
- See Also:
-
Field Summary
Fields inherited from class chemaxon.struc.graphics.MPolyline
ARROW_BACK_FLAG, ARROW_CROSSED_FLAG, ARROW_CURVED_FLAG, ARROW_DASHED_FLAG, ARROW_EQUILIBRIUM_FLAG, ARROW_GROUP1_MASK, ARROW_GROUP2_MASK, ARROW_HALF_LEFT, ARROW_HALF_MASK, ARROW_HALF_RIGHT, ARROW_RETROSYNTHETIC_FLAG, arrowFlags, CLOSED_FLAG, DEFAULT_ARROW_HEAD_LENGTH, DEFAULT_ARROW_HEAD_WIDTH, DEFAULT_EQUILIBRIUM_HEAD_WIDTH, DEFAULT_MAX_CROSS_SIZE, DEFAULT_RETROSYNTHETIC_HEAD_WIDTH, DEFAULT_THICKNESS, HEAD, points, TAIL, THICKNESS_SET_FLAG
Fields inherited from class chemaxon.struc.MObject
TRANSFORM_DISTORT
-
Constructor Summary
-
Method Summary
Methods inherited from class chemaxon.struc.graphics.MPolyline
addAttributeKeys, calcCenter, checkValidity, containsAtom, copyProperties, distanceFrom, finishCloning, fixClonedPoints, fixMidPointClones, getArcAngle, getArcCenter, getArcRadius, getArcRadius, getArrowFlags, getArrowLength, getArrowWidth, getAttribute, getFlags, getLineMiddlePoint, getMidPointLocation, getMirroredArrowFlags, getPoint, getPointCount, getPointRef, getPointRefCount, getPoints, getSkip, getThickness, hasBackground, hasColor, hasFace, hasLineColor, hasOutline, isArrow, isEmpty, isThicknessSet, removeChild, removeNotify, replaceAtom, reverse, rotate, setArcAngle, setArrow, setArrowFlags, setArrowLength, setArrowWidth, setAttribute, setFlags, setPoints, setSkip, setThickness, transform, unselectContents, updateBoundingRect
Methods inherited from class chemaxon.struc.MObject
addCdataAttributeKeys, addNotify, connectToSgroupOfAtom, containsPoint, distanceFrom, getBackground, getColor, getContainerMObject, getLineColor, isChildOf, isInternalSelectable, isReactionArrow, isSelectableNow, isSelected, isTransformable, makeColor, removeAtom, setBackground, setColor, setLineColor, setSelected, toString, updateBoundingRect
-
Constructor Details
-
MAssigner
Contructs an assigner with the specified endpoints.- Parameters:
p1
- the starting pointp2
- the endpoint
-
MAssigner
public MAssigner()Contructs an assigner. -
MAssigner
Copy constructor.- Parameters:
a
- the original assigner
-
-
Method Details
-
clone
Description copied from class:MObject
Creates a clone. -
setOrder
public void setOrder(int i) Sets the order of an assigner.- Parameters:
i
- the order
-
getOrder
public int getOrder()Gets the order of an assigner.- Returns:
- the order
-
getAssignedAtoms
Gets the atoms which are assigned by this object.- Returns:
- the array of atoms
-
copyProperties
Copies the assigner properties to another assigner object.- Parameters:
l
- the other assigner- Since:
- Marvin 5.4, 14/07/2010
-