Package chemaxon.struc.graphics
Class MRArrow
java.lang.Object
chemaxon.struc.MObject
chemaxon.struc.graphics.MPolyline
chemaxon.struc.graphics.MRArrow
- All Implemented Interfaces:
Serializable
,Cloneable
Reaction arrow object.
- Since:
- Marvin 5.0, 04/09/2008
- 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, 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
-
MRArrow
Constructs a graphical reaction arrow between two points.- Parameters:
point
- the starting pointpoint2
- the end point
-
MRArrow
public MRArrow()Constructs an empty reaction arrow where end points are not set. -
MRArrow
Copy constructor.- Parameters:
arrow
- the original arrow
-
-
Method Details
-
clone
Description copied from class:MObject
Creates a clone. -
removeChild
Description copied from class:MObject
Removes a child object.- Overrides:
removeChild
in classMPolyline
- Parameters:
o
- the child
-
getType
public int getType()Returns the type of this arrow.- Returns:
- the type of the arrow.
- See Also:
-
copyProperties
Copies arrow properties to another arrow object.- Parameters:
l
- the other arrow- Since:
- Marvin 5.0, 04/09/2008
-
setType
public void setType(int type) Sets the type of this arrow.- Parameters:
type
- the type- See Also:
-