public class RMAnimPathShape extends RMPolygonShape
Modifier and Type | Class and Description |
---|---|
static class |
RMAnimPathShape.RMAnimPathGroup
A shape subclass that adds the ability to be rotated about an arbitrary point.
|
RMTypes.AlignX, RMTypes.AlignY
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMAnimPathShape()
Creates a new RMAnimPathShape.
|
RMAnimPathShape(RMShape aShape)
Creates an animpath shape from another shape.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(RMShape aChild,
int anIndex)
Override add child to handle animated child shape special
|
RMAnimPathShape |
clone()
Standard clone implementation.
|
boolean |
contains(RMPoint aPoint)
Overridden to just reflect bounds of anim child.
|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
java.lang.Object |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival.
|
RMShape |
getAnimChild()
Returns the animated child shape.
|
RMRect |
getBoundsMarked()
Overridden to just reflect bounds of anim child.
|
RMRect |
getBoundsMarkedDeep()
Overridden to just reflect bounds of anim child.
|
int |
getChildOrigin()
Returns the child origin.
|
float |
getDistance()
Returns distance along the path where children are positioned.
|
boolean |
getPreservesOrientation()
Returns whether the children will have their rotation adjusted as they move along the path.
|
RMLine[] |
getSegments()
Builds the segment list and caches it
|
float |
getTotalLength()
Returns the actual total arclength of the curve.
|
void |
paintShape(java.awt.Graphics2D aGraphics)
Overridden to skip painting at preview time and to paint stroke (anim path) under child.
|
void |
paintShapeOver(java.awt.Graphics2D aGraphics)
Overridden to skip painting stroke on top.
|
void |
pathChanged()
Called by the tool when the path has been changed.
|
void |
positionChildren()
PositionChildren
|
void |
setAnimChild(RMShape aChild)
Sets the shape which will be positioned along the path
|
void |
setChildOrigin(int aValue)
Sets child origin.
|
void |
setDistance(float aValue)
Sets distance along path to position children.
|
void |
setHeight(float aValue)
Overridden to mark the path dirty.
|
void |
setPath(RMPath aPath)
Overridden to mark the path dirty
|
void |
setPreservesOrientation(boolean aValue)
Sets whether the children's rotation should get adjusted as they move along the path.
|
void |
setWidth(float aValue)
Overridden to mark the path dirty.
|
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival.
|
getPath, getPathTransform, resetPath, superSelectable
acceptsChildren, acceptsMouse, addAction, addActions, addBinding, addChild, addChild, addChild, addDeepChangeListener, addListener, addMouseListener, animUpdate, bounds, bringShapesToFront, childrenSuperSelectImmediately, cloneDeep, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, createDivideShapeRemainder, createPartClone, deepChange, divideShapeFromEdge, divideShapeFromTop, doLayout, fromXML, fromXMLShapeChildren, fromXMLShapeLayout, get, get, getAction, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestSize, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsOfChildren, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildArray, getChildClipShape, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWithClass, getChildrenWithClass, getChildWithClass, getChildWithName, getClipShape, getColor, getDatasetEntity, getDatasetKey, getDocument, getEffect, getEventAdapter, getFill, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getHeight, getHover, getImageFill, getLayout, getLayout, getLayoutInfo, getLineWidth, getMaskPath, getMaximumSize, getMaximumSizeProperty, getMaxX, getMaxY, getMinimumSize, getMinimumSizeProperty, getName, getOpacity, getOpacityDeep, getOriginal, getOutline, getPageBreak, getPageBreakMax, getPageBreakPage, getPageBreakPageMax, getPageShape, getParent, getParentWithClass, getPart, getPartCount, getPartDeep, getPartDeepCount, getPathInBounds, getPreferredSize, getPreferredSize, getPreferredSizeProperty, getPropertyNameMapped, getPropertyNames, getReportMill, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getStrokeWidth, getTextColor, getTimeline, getTimeline, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getURL, getVisbileBounds, getVisibleBounds, getVisibleBounds, getVisibleBounds, getWidth, getX, getXY, getXYP, getY, height, indexOf, indexOfChild, intersects, isAncestor, isAnimProperty, isDescendant, isEditing, isEnabled, isHittable, isHittableChild, isLocked, isMaximumSizeSet, isMinimumSizeSet, isRoot, isRSS, isShowing, isUnderlined, isViewing, isVisible, isVisibleChild, layoutReset, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageMax, paint, paintShapeAll, paintShapeChildren, propertyChange, put, removeAction, removeBinding, removeBinding, removeChild, removeChild, removeChildren, removeDeepChangeListener, removeFromParent, removeMouseListener, repaint, repaint, resolvePageReferences, revalidate, sendShapesToBack, setAction, setAlignmentX, setAlignmentY, setAutosizing, setBestHeight, setBestSize, setBestSize, setBounds, setBounds, setCausesWrap, setCausesWrapType, setColor, setEffect, setEnabled, setFill, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHover, setLayout, setLayoutInfo, setLineWidth, setLocked, setMaximumSize, setMinimumSize, setName, setOpacity, setOutline, setParent, setPreferredSize, setReportMill, setReportMillBindings, setReportMillDeep, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSizeP, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setTime, setUnderlined, setURL, setVisible, setX, setXY, setXY, setXYP, setY, toString, toXML, toXMLShapeChildren, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
addPropertyChangeListener, removePropertyChangeListener
getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public RMAnimPathShape()
public RMAnimPathShape(RMShape aShape)
public RMShape getAnimChild()
public void setAnimChild(RMShape aChild)
public void addChild(RMShape aChild, int anIndex)
public RMRect getBoundsMarked()
getBoundsMarked
in class RMShape
public RMRect getBoundsMarkedDeep()
getBoundsMarkedDeep
in class RMShape
public boolean contains(RMPoint aPoint)
public RMAnimPathShape clone()
clone
in class RMPolygonShape
public void paintShape(java.awt.Graphics2D aGraphics)
paintShape
in class RMPolygonShape
public void paintShapeOver(java.awt.Graphics2D aGraphics)
paintShapeOver
in class RMShape
public float getDistance()
setDistance(float)
public void setDistance(float aValue)
public float getTotalLength()
public boolean getPreservesOrientation()
setPreservesOrientation(boolean)
public void setPreservesOrientation(boolean aValue)
public int getChildOrigin()
public void setChildOrigin(int aValue)
public void pathChanged()
public void setWidth(float aValue)
public void setHeight(float aValue)
public void setPath(RMPath aPath)
setPath
in class RMPolygonShape
public RMLine[] getSegments()
public void positionChildren()
public boolean equals(java.lang.Object anObj)
equals
in class RMPolygonShape
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMPolygonShape
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMPolygonShape