public class RMSwapShape extends RMShape
RMTypes.AlignX, RMTypes.AlignY
WRAP_TYPE_BOTH, WRAP_TYPE_NONE
Constructor and Description |
---|
RMSwapShape() |
Modifier and Type | Method and Description |
---|---|
void |
addShape(RMShape aShape)
Adds a shape.
|
void |
addShape(RMShape aShape,
int anIndex)
Adds a shape at given index.
|
RMShape |
cloneDeep()
Clones all attributes of this shape with complete clones of its children as well.
|
RMShapeLayout |
createLayout()
Returns a simple layout to put child exactly in this swap shape's bounds.
|
static RMSwapShape |
createSwapShape(RMShape aShape)
Creates a new swap shape for given shape and swaps it in.
|
RMSize |
getBestSize(float aWidth,
float aHeight)
Override.
|
RMShape |
getMaster()
Returns the swap master.
|
RMShape |
getPart(int anIndex)
Returns the individual part at the given index.
|
int |
getPartCount()
Returns the number of parts this shape needs to represent itself, if it's a multi-part shape.
|
RMShape |
getShape(int anIndex)
Returns the individual shape at given index.
|
int |
getShapeCount()
Returns the number of shapes in swap shape.
|
void |
removeShapes()
Removes all shapes.
|
void |
setMaster(RMShape aShape)
Sets the swap master.
|
void |
setReportMillDeep(ReportMill aReportMill)
Override to stifle child rpg.
|
void |
setShapeIndex(int anIndex)
Sets the shape index to given index.
|
acceptsChildren, acceptsMouse, addAction, addActions, addBinding, addChild, addChild, addChild, addChild, addDeepChangeListener, addListener, addMouseListener, animUpdate, bounds, bringShapesToFront, childrenSuperSelectImmediately, clone, 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, fromXMLShape, fromXMLShapeChildren, fromXMLShapeLayout, get, get, getAction, getAlignmentX, getAlignmentY, getAncestor, getAncestorCount, getAncestorInCommon, getAnimator, getAnimator, getAutosizing, getAutosizingDefault, getBestHeight, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBounds, getBoundsInside, getBoundsMarked, 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, 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, paintShape, 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, setParent, setPreferredSize, setReportMill, setReportMillBindings, setRoll, setScaleX, setScaleXY, setScaleY, setShowing, setSize, setSize, setSizeP, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setStrokeWidth, setTextColor, setTime, setUnderlined, setURL, setVisible, setWidth, setX, setXY, setXY, setXYP, setY, superSelectable, toString, toXML, toXMLShape, toXMLShapeChildren, toXMLShapeLayout, undoerDisable, undoerEnable, undoerSetUndoTitle, validate, width, x, y
addPropertyChangeListener, removePropertyChangeListener
getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
public static RMSwapShape createSwapShape(RMShape aShape)
public RMShape getMaster()
public void setMaster(RMShape aShape)
public int getShapeCount()
public RMShape getShape(int anIndex)
public void addShape(RMShape aShape)
public void addShape(RMShape aShape, int anIndex)
public void setShapeIndex(int anIndex)
public void removeShapes()
public int getPartCount()
getPartCount
in class RMShape
public RMShape getPart(int anIndex)
public RMSize getBestSize(float aWidth, float aHeight)
getBestSize
in class RMShape
public RMShapeLayout createLayout()
public void setReportMillDeep(ReportMill aReportMill)
setReportMillDeep
in class RMShape