public class RMPainterShape extends RMShape
RMTypes.AlignX, RMTypes.AlignY
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMPainterShape()
Creates a new actor shape.
|
Modifier and Type | Method and Description |
---|---|
void |
addOpsForPath(java.awt.geom.PathIterator aPathIterator)
Adds operations for path.
|
void |
addPainter(RMPainter aPainter)
Adds a given painter to painters list.
|
void |
addPainter(RMPainter aPainter,
int anIndex)
Adds a given painter to painter list at given index.
|
RMPainterShape |
clone()
Standard clone implementation.
|
void |
curveTo(float anX1,
float aY1,
float anX2,
float aY2,
float anX3,
float aY3)
Paint a bezier curve with the given control points and end point.
|
void |
forward(float aDistance)
Adds a forward instruction to painter.
|
RMPainterShape |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML Unarchival.
|
RMRect |
getBoundsMarked()
Returns the marked bounds.
|
RMRect |
getExecutionBounds()
Returns the total bounds from execution.
|
float |
getExecutionTime()
Returns the total execution time of all painter shape operations.
|
RMPainter |
getPainter()
Returns the first painter.
|
RMPainter |
getPainter(int anIndex)
Returns the specific painter at given index.
|
int |
getPainterCount()
Returns the number of painters.
|
RMShape |
getPaintShape()
Returns the paint shape.
|
RMSize |
getPreferredSizeImpl(float aMaxWidth,
float aMaxHeight)
Override to get preferred size from instructions.
|
float |
getTime()
Returns the time.
|
void |
lineTo(float anX,
float aY)
Paint a line to given coordinates.
|
void |
moveTo(float anX,
float aY)
Move to.
|
void |
paintShape(java.awt.Graphics2D aGraphics)
Paint shape.
|
void |
quadTo(float anX1,
float aY1,
float anX2,
float aY2)
Paint a parabolic curve with the given control point and end point.
|
void |
setPaintColor(java.awt.Color aColor)
Sets the paint color for path operations.
|
void |
setPaintSpeed(float aSpeed)
Sets the paint speed for path operations.
|
void |
setPaintStrokeWidth(float aWidth)
Sets the paint stroke width for path operations.
|
void |
setParent(RMShape aShape)
Override to make sure there is a child animator.
|
void |
setTime(int aTime)
Override to trigger act.
|
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML Archival.
|
void |
turn(float anAngle)
Adds a turn instruction to painter.
|
acceptsChildren, acceptsMouse, addAction, addActions, addBinding, addChild, addChild, addChild, addChild, addDeepChangeListener, addListener, addMouseListener, animUpdate, bounds, bringShapesToFront, childrenSuperSelectImmediately, cloneDeep, contains, 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, equals, fromXML, fromXMLShapeChildren, fromXMLShapeLayout, get, get, getAction, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestSize, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarkedDeep, 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, getPath, 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, paintShapeOver, 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, setHeight, setHover, setLayout, setLayoutInfo, setLineWidth, setLocked, setMaximumSize, setMinimumSize, setName, setOpacity, setOutline, setPreferredSize, setReportMill, setReportMillBindings, setReportMillDeep, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSizeP, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setUnderlined, setURL, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, superSelectable, toString, toXML, toXMLShapeChildren, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
addPropertyChangeListener, removePropertyChangeListener
getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public float getTime()
public RMShape getPaintShape()
public void setPaintColor(java.awt.Color aColor)
public void setPaintStrokeWidth(float aWidth)
public void setPaintSpeed(float aSpeed)
public void forward(float aDistance)
public void turn(float anAngle)
public void moveTo(float anX, float aY)
public void lineTo(float anX, float aY)
public void quadTo(float anX1, float aY1, float anX2, float aY2)
public void curveTo(float anX1, float aY1, float anX2, float aY2, float anX3, float aY3)
public void paintShape(java.awt.Graphics2D aGraphics)
paintShape
in class RMShape
public RMPainter getPainter()
public int getPainterCount()
public RMPainter getPainter(int anIndex)
public void addPainter(RMPainter aPainter)
public void addPainter(RMPainter aPainter, int anIndex)
public void addOpsForPath(java.awt.geom.PathIterator aPathIterator)
public float getExecutionTime()
public RMRect getExecutionBounds()
public RMRect getBoundsMarked()
getBoundsMarked
in class RMShape
public RMSize getPreferredSizeImpl(float aMaxWidth, float aMaxHeight)
public void setParent(RMShape aShape)
public RMPainterShape clone()
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMShape
public RMPainterShape fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMShape