public class RMShape extends SnapObject implements java.lang.Cloneable, RMTypes
RMFont font = RMFont.getFont("Arial Bold", 72); RMColor color = new RMColor(.9f, .9f, .9f); RMXString string = new RMXString("REPORTMILL", font, color); RMText shape = new RMText(string); myDocument.getPage(0).addChild(shape); shape.setBounds(36, 320, 540, 140); shape.setRoll(45); shape.setOpacity(.667f);
RMTypes.Align, RMTypes.AlignX, RMTypes.AlignY
Constructor and Description |
---|
RMShape() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsChildren()
Editor method.
|
boolean |
acceptsMouse()
Returns whether shape accepts mouse events (true if URL is present).
|
void |
addBinding(Binding aBinding)
Adds the individual binding to the shape's bindings list.
|
void |
addBinding(java.lang.String aPropName,
java.lang.String aKey)
Adds a binding for given name and key.
|
void |
addDeepChangeListener(DeepChangeListener aListener)
Adds a deep change listener to shape to listen for shape changes and property changes received by shape.
|
void |
animUpdate(PropChange anEvent)
Called to update shape anim.
|
Rect |
bounds()
Returns raw x, y, width and height of shape as rect (preserves possible negative sizes).
|
boolean |
childrenSuperSelectImmediately()
Editor method.
|
RMShape |
clone()
Standard implementation of Object clone.
|
RMShape |
cloneDeep()
Clones all attributes of this shape with complete clones of its children as well.
|
boolean |
contains(Point aPoint)
Returns whether this shape is hit by the point, given in this shape's parent's coords.
|
Point |
convertedPointFromShape(Point aPoint,
RMShape aShape)
Returns the given point converted from the given shape's coords.
|
Point |
convertedPointToShape(Point aPnt,
RMShape aShp)
Returns the given point converted to the given shape's coords.
|
void |
convertFromShape(RMShape aShape)
Transforms the given shape from this shape's coords.
|
void |
convertPointFromShape(Point point,
RMShape shape)
Converts the given point to the given shape's coords (returns it for convenience).
|
void |
convertPointToShape(Point point,
RMShape shape)
Converts the given point to the given shape's coords (returns it for convenience).
|
void |
convertRectFromShape(Rect rect,
RMShape shape)
Converts the given rect from the given shape's coords (returns it for convenience).
|
void |
convertRectToShape(Rect rect,
RMShape shape)
Converts the given rect to the given shape's coords (returns it for convenience).
|
void |
convertToShape(RMShape aShape)
Transforms the given shape to this shape's coords.
|
void |
convertVectorFromShape(Size size,
RMShape shape)
Converts the given size (as a vector) from the given shape's coords (returns it for convenience).
|
void |
convertVectorToShape(Size size,
RMShape shape)
Converts the given size (as a vector) to the given shape's coords (returns it for convenience).
|
void |
copyShape(RMShape aShape)
Copies basic shape attributes from given RMShape (location, size, fill, stroke, roll, scale, name, url, etc.).
|
void |
deepChange(PropChangeListener aLsnr,
PropChange anEvent)
Deep property change listener implementation.
|
RMShape |
divideShapeFromEdge(double anAmount,
byte anEdge,
RMShape aNewShape)
Divides the shape by a given amount from the given edge.
|
RMShape |
divideShapeFromTop(double anAmount)
Divides the shape by a given amount from the top.
|
java.lang.Object |
fromXML(XMLArchiver anArchiver,
XMLElement anElement)
XML unarchival.
|
java.lang.Object |
get(java.lang.String aName)
Returns the Object associated with the given name for the shape.
|
java.lang.Object |
get(java.lang.String aName,
java.lang.Object aDefault)
Returns the object associated with given key, using the given default if not found.
|
Pos |
getAlignment()
Returns the alignment.
|
RMTypes.AlignX |
getAlignmentX()
Returns the horizontal alignment.
|
RMTypes.AlignY |
getAlignmentY()
Returns the vertical alignment.
|
RMShape |
getAncestor(int anIndex)
Returns the ancestor at the given index (parent is ancestor 0).
|
int |
getAncestorCount()
Returns the number of ancestors (from this shape's parent up to the document).
|
RMShape |
getAncestorInCommon(RMShape aShape)
Returns first ancestor that the given shape and this shape have in common.
|
RMAnimator |
getAnimator()
Returns the animator that this shape registers changes with.
|
RMAnimator |
getAnimator(boolean create)
Returns the animator that this shape registers changes with (creating, if requested and currently null).
|
java.lang.String |
getAutosizing()
Returns the autosizing settings as a string with hyphens for struts and tilde for sprints (horiz,vert).
|
java.lang.String |
getAutosizingDefault()
Returns the autosizing default.
|
double |
getBestHeight()
Returns the best height for current width.
|
double |
getBestWidth()
Returns the best width for current height.
|
Binding |
getBinding(int anIndex)
Returns the individual binding at the given index.
|
Binding |
getBinding(java.lang.String aPropertyName)
Returns the individual binding with the given property name.
|
int |
getBindingCount()
Returns the number of bindings associated with shape.
|
Rect |
getBounds()
Returns the X, Y, width and height of the shape as a rect (use getFrame if shape has roll/scale/skew).
|
Rect |
getBoundsInside()
Returns the bounds of the shape in the shape's own coords.
|
Rect |
getBoundsMarked()
Returns the bounds of the path associated with this shape in local coords, adjusted to account for stroke width.
|
Rect |
getBoundsMarkedDeep()
Returns the marked bounds of this shape and it's children.
|
Rect |
getBoundsStroked()
Returns the bounds of the path associated with this shape in local coords, adjusted to account for stroke width.
|
Rect |
getBoundsStrokedDeep()
Returns the marked bounds of this shape and it's children.
|
RMShape |
getChild(int anIndex)
Returns the child at given index.
|
RMAnimator |
getChildAnimator()
Returns the animator that this shape's children use.
|
RMAnimator |
getChildAnimator(boolean create)
Returns the animator that this shape's children use (creating, if requested and currently null).
|
int |
getChildCount()
Returns the child count.
|
java.util.List<RMShape> |
getChildren()
Returns the children list.
|
Shape |
getClipShape()
Returns clip shape for shape.
|
RMColor |
getColor()
Returns the color of the shape.
|
Shape |
getConvertedFromShape(Shape aPath,
RMShape aShape)
Returns the given path converted from the given shape's coords.
|
Rect |
getConvertedRectFromShape(Rect aRect,
RMShape aShape)
Returns the rect encompassing the given rect converted from the given shape's coords.
|
Rect |
getConvertedRectToShape(Rect aRect,
RMShape aShape)
Returns the rect encompassing the given rect converted to the given shape's coords.
|
Shape |
getConvertedToShape(Shape aPath,
RMShape aShape)
Returns the given path converted to the given shape's coords.
|
Entity |
getDatasetEntity()
Returns the entity this shape should show in keys browser.
|
java.lang.String |
getDatasetKey()
Returns the dataset key associated with this shape.
|
RMDocument |
getDocument()
Returns the RMDocument ancestor of this shape (or null if not there).
|
Effect |
getEffect()
Returns the effect for this shape.
|
RMFill |
getFill()
Returns the fill for this shape.
|
RMFont |
getFont()
Returns the font for the shape (defaults to parent font).
|
RMFormat |
getFormat()
Returns the format for the shape.
|
Rect |
getFrame()
Returns the rect in parent coords that fully encloses the shape.
|
double |
getFrameHeight()
Returns the height of the rect that fully encloses the shape in parent coords.
|
double |
getFrameMaxX()
Returns the max X of the shape's frame.
|
double |
getFrameMaxY()
Returns the max Y of the shape's frame.
|
double |
getFrameWidth()
Returns the width of the rect that fully encloses the shape in parent coords.
|
double |
getFrameX()
Returns the X of the rect that fully encloses the shape in parent coords.
|
Point |
getFrameXY()
Returns the origin of the shape's bounds rect in parent coords.
|
double |
getFrameY()
Returns the Y of the rect that fully encloses the shape in parent coords.
|
double |
getHeight()
Returns the height of the shape.
|
double |
getMaxX()
Returns the max X of the shape (assumes not rotated, scaled or skewed).
|
double |
getMaxY()
Returns the max Y of the shape (assumes not rotated, scaled or skewed).
|
double |
getMinHeight()
Returns the shape minimum height.
|
double |
getMinWidth()
Returns the shape minimum width.
|
java.lang.String |
getName()
Returns the name for the shape.
|
double |
getOpacity()
Returns the opacity of the shape (1 for opaque, 0 for transparent).
|
double |
getOpacityDeep()
Returns the combined opacity of this shape and its parent.
|
int |
getPageBreak()
Returns the "PageBreak" for this shape as defined by shapes that define a page break (currently only RMTable).
|
int |
getPageBreakMax()
Returns the "PageBreakMax" for this shape as defined by shapes that define a page break (currently only RMTable).
|
int |
getPageBreakPage()
Returns the "PageBreakPage" for this shape, or the page number relative to the last page break,
as defined by shapes that define explicit page breaks (currently only RMTable).
|
int |
getPageBreakPageMax()
Returns the "PageBreakPageMax" for this shape, or the max page number relative to the last and next page breaks,
as defined by shapes that define explicit page breaks (currently only RMTable).
|
RMParentShape |
getPageShape()
Returns the RMPage ancestor of this shape (or null if not there).
|
RMParentShape |
getParent()
Returns the parent of this shape.
|
<T extends RMShape> |
getParent(java.lang.Class<T> aClass)
Returns the first parent with given class by iterating up parent hierarchy.
|
Shape |
getPath()
Returns the shape's path.
|
double |
getPrefHeight()
Returns the shape preferred height.
|
double |
getPrefWidth()
Returns the shape preferred width.
|
java.lang.String[] |
getPropNames()
Returns the property names for helper's instance class.
|
double |
getRoll()
Returns the roll of the shape.
|
RMShape |
getRootShape()
Returns the top level shape (usually an RMDocument).
|
double |
getScaleX()
Returns the scale of the X axis of the shape.
|
double |
getScaleY()
Returns the scale of the Y axis of the shape.
|
java.util.List<RMShape> |
getShapesToAncestor(RMShape aShape)
Returns a list of shapes from this shape to a given ancestor, inclusive.
|
java.util.List<RMShape> |
getShapesToDescendant(RMShape aShape)
Returns a list of shape's from this shape to given descendant, inclusive.
|
java.util.List<RMShape> |
getShapesToShape(RMShape aShape)
Returns a list of shapes from this shape to given shape.
|
Size |
getSize()
Returns the size of the shape.
|
double |
getSkewX()
Returns the skew of the X axis of the shape.
|
double |
getSkewY()
Returns the skew of the Y axis of the shape.
|
RMStroke |
getStroke()
Returns the stroke for this shape.
|
RMColor |
getStrokeColor()
Returns the stroke color of the shape.
|
boolean |
getStrokeOnTop()
Returns whether to stroke on top.
|
float |
getStrokeWidth()
Returns the stroke width of the shape's stroke in printer points.
|
RMColor |
getTextColor()
Returns the text color for the shape.
|
RMTimeline |
getTimeline()
Returns the timeline for animating shape property changes.
|
RMTimeline |
getTimeline(boolean create)
Returns the timeline for animating shape property changes, with an option to create if absent.
|
RMTransform |
getTransform()
Returns the transform to this shape from its parent.
|
RMTransform |
getTransformFromShape(RMShape aShape)
Returns the transform from the given shape to this shape.
|
RMTransform |
getTransformInverse()
Returns the transform from this shape to it's parent.
|
RMTransform |
getTransformToShape(RMShape aShape)
Returns the transform from this shape to the given shape.
|
Undoer |
getUndoer()
Returns the undoer for this shape (or null if not there).
|
java.lang.String |
getURL()
Sets the URL for the shape.
|
double |
getWidth()
Returns the width of the shape.
|
double |
getX()
Returns the X location of the shape.
|
Point |
getXY()
Returns the XY location of the shape as a point.
|
Point |
getXYP()
Returns the origin point of the shape in parent's coords.
|
double |
getY()
Returns the Y location of the shape.
|
double |
height()
Returns raw height of shape.
|
int |
indexOf()
Returns the index of this child in its parent.
|
boolean |
intersects(Shape aPath)
Returns whether this shape is hit by the path, given in this shape's parent's coords.
|
boolean |
isAncestor(RMShape aShape)
Returns true if given shape is one of this shape's ancestors.
|
boolean |
isAnimProperty(java.lang.String aPropertyName)
Returns whether given property name is anim property.
|
boolean |
isDescendant(RMShape aShape)
Returns true if given shape is one of this shape's descendants.
|
boolean |
isEditing()
Returns whether this shape is being edited in an editor.
|
boolean |
isFontSet()
Returns whether font has been set.
|
boolean |
isHittable()
Returns whether this shape is hittable in its parent.
|
boolean |
isLocked()
Returns the locked state of the shape (really just to prevent location/size changes in the editor).
|
boolean |
isMinHeightSet()
Returns whether shape minimum height is set.
|
boolean |
isMinWidthSet()
Returns whether shape minimum width is set.
|
boolean |
isPrefHeightSet()
Returns whether shape preferred height is set.
|
boolean |
isPrefWidthSet()
Returns whether shape preferred width is set.
|
boolean |
isRoot()
Editor method - returns whether this shape is at the top level (usually RMPage).
|
boolean |
isRSS()
Returns whether the shape has been rotated, scaled or skewed (for efficiency).
|
boolean |
isUnderlined()
Returns whether the shape is underlined.
|
boolean |
isViewing()
Returns whether this shape is being viewed in a viewer.
|
boolean |
isVisible()
Returns whether this shape is visible.
|
void |
offsetXY(double dx,
double dy)
Offsets the X and Y location of the shape by the given dx & dy amount (convenience).
|
int |
page()
Page number resolution.
|
int |
pageMax()
Page number resolution.
|
void |
paint(Painter aPntr)
Top-level generic shape painting - sets transform and opacity then does a paintAll.
|
void |
paintShape(Painter aPntr)
Basic shape painting - paints shape fill and stroke.
|
void |
paintShapeAll(Painter aPntr)
Calls paintShape, paintShapeChildren and paintShapeOver.
|
void |
paintShapeChildren(Painter aPntr)
Paints shape children.
|
void |
paintShapeOver(Painter aPntr)
Paints after (on top) of children.
|
void |
processEvent(ViewEvent anEvent)
Handle shape events.
|
void |
propertyChange(PropChange anEvent)
Property change listener implementation.
|
java.lang.Object |
put(java.lang.String aName,
java.lang.Object anObj)
Sets an Object to be associated with the given name for the shape.
|
Binding |
removeBinding(int anIndex)
Removes the binding at the given index from shape's bindings list.
|
boolean |
removeBinding(java.lang.String aPropertyName)
Removes the binding with given property name.
|
void |
removeDeepChangeListener(DeepChangeListener aLstnr)
Removes a deep change listener from shape.
|
void |
removeFromParent()
Removes this shape from it's parent.
|
void |
repaint()
Visual change notification - call before making changes that will require repaint.
|
RMShape |
rpgAll(ReportOwner anRptOwner,
RMShape aParent)
Generate report with report owner.
|
void |
rpgBindings(ReportOwner anRptOwner,
RMShape aShapeRPG)
Report generation for URL and bindings.
|
void |
setAlignment(Pos aPos)
Sets the alignment.
|
void |
setAlignmentX(RMTypes.AlignX anAlignX)
Sets the horizontal alignment.
|
void |
setAlignmentY(RMTypes.AlignY anAlignX)
Sets the vertical alignment.
|
void |
setAutosizing(java.lang.String aValue)
Sets the autosizing settings as a string with hyphens for struts and tilde for sprints (horiz,vert).
|
void |
setBestHeight()
Sets the shape to its best height (which is just the current height for most shapes).
|
void |
setBestSize()
Sets the shape to its best size.
|
void |
setBounds(double anX,
double aY,
double aW,
double aH)
Sets X, Y, width and height of shape to given dimensions.
|
void |
setBounds(Rect aRect)
Sets X, Y, width and height of shape to dimensions in given rect.
|
void |
setColor(RMColor aColor)
Sets the color of the shape.
|
void |
setEffect(Effect anEffect)
Sets the effect for this shape.
|
void |
setFill(RMFill aFill)
Sets the fill for this shape.
|
void |
setFont(RMFont aFont)
Sets the font for the shape.
|
void |
setFormat(RMFormat aFormat)
Sets the format for the shape.
|
void |
setFrame(double anX,
double aY,
double aWidth,
double aHeight)
Sets the bounds of the shape such that it exactly fits in the given parent coord rect.
|
void |
setFrame(Rect aRect)
Sets the bounds of the shape such that it exactly fits in the given parent coord rect.
|
void |
setFrameSize(double aWidth,
double aHeight)
Sets the height of the rect that fully encloses the shape in parent coords.
|
void |
setFrameX(double anX)
Sets a shape's X such that its bounds rect (in parent coords) has origin at the given X.
|
void |
setFrameXY(double anX,
double aY)
Sets a shape's origin such that its frame (enclosing rect in parent coords) will have the given X and Y.
|
void |
setFrameXY(Point aPoint)
Sets a shape's origin such that its bounds rect (in parent coords) has origin at the given point.
|
void |
setFrameY(double aY)
Sets a shape's Y such that its bounds rect (in parent coords) has origin at the given Y.
|
void |
setHeight(double aValue)
Sets the height of the shape.
|
void |
setLocked(boolean aValue)
Sets the locked state of the shape (really just to prevent location/size changes in the editor).
|
void |
setMinHeight(double aHeight)
Sets the shape minimum height.
|
void |
setMinSize(double aWidth,
double aHeight)
Sets the shape minimum size.
|
void |
setMinWidth(double aWidth)
Sets the shape minimum width.
|
void |
setName(java.lang.String aName)
Sets the name for the shape.
|
void |
setOpacity(double aValue)
Sets the opacity of the shape (1 for opaque, 0 for transparent).
|
void |
setParent(RMParentShape aShape)
Sets the parent of this shape (called automatically by addChild()).
|
void |
setPrefHeight(double aHeight)
Sets the shape preferred height.
|
void |
setPrefWidth(double aWidth)
Sets the shape preferred width.
|
void |
setRoll(double aValue)
Sets the roll of the shape.
|
void |
setScaleX(double aValue)
Sets the scale of the X axis of the shape.
|
void |
setScaleXY(double sx,
double sy)
Sets the scale of the X and Y axis.
|
void |
setScaleY(double aValue)
Sets the scale of the Y axis of the shape.
|
void |
setSize(double aWidth,
double aHeight)
Sets the size of the shape.
|
void |
setSize(Size aSize)
Sets the size of the shape.
|
void |
setSkewX(double aValue)
Sets the skew of the X axis of the shape.
|
void |
setSkewXY(double skx,
double sky)
Sets the skew of the X and Y axis.
|
void |
setSkewY(double aValue)
Sets the skew of the Y axis of the shape.
|
void |
setStroke(RMStroke aStroke)
Sets the stroke for this shape, with an option to turn on drawsStroke.
|
void |
setStrokeColor(RMColor aColor)
Sets the stroke color of the shape.
|
void |
setStrokeWidth(float aValue)
Sets the stroke width of the shape's stroke in printer points.
|
void |
setTextColor(RMColor aColor)
Sets the text color for the shape.
|
void |
setTime(int aTime)
Tells the shape's timeline to update the shape to the given time in milliseconds.
|
void |
setUnderlined(boolean aFlag)
Sets the shape to underline.
|
void |
setURL(java.lang.String aURL)
Returns the URL for the shape.
|
void |
setVisible(boolean aValue)
Sets whether this shape is visible.
|
void |
setWidth(double aValue)
Sets the width of the shape.
|
void |
setX(double aValue)
Sets the X location of the shape.
|
void |
setXY(double anX,
double aY)
Sets the X and Y location of the shape to the given point (convenience).
|
void |
setXY(Point aPoint)
Sets the X and Y location of the shape to the given point (convenience).
|
void |
setXYP(double anX,
double aY)
Sets the origin point of the shape to the given X and Y in parent's coords.
|
void |
setY(double aValue)
Sets the Y location of the shape.
|
boolean |
superSelectable()
Editor method - indicates whether this shape can be super selected.
|
java.lang.String |
toString()
Standard to string implementation (prints class name and shape bounds).
|
XMLElement |
toXML(XMLArchiver anArchiver)
XML Archival.
|
void |
undoerDisable()
Undoer convenience - disable the undoer.
|
void |
undoerEnable()
Undoer convenience - enables the undoer.
|
void |
undoerSetUndoTitle(java.lang.String aTitle)
Undoer convenience - sets title of next registered undo.
|
double |
width()
Returns raw width of shape.
|
double |
x()
Returns raw x location of shape.
|
double |
y()
Returns raw y location of shape.
|
public double x()
public double y()
public double width()
public double height()
public Rect bounds()
public double getX()
public void setX(double aValue)
public double getY()
public void setY(double aValue)
public double getWidth()
public void setWidth(double aValue)
public double getHeight()
public void setHeight(double aValue)
public double getMaxX()
public double getMaxY()
public Point getXY()
public void setXY(Point aPoint)
public void setXY(double anX, double aY)
public Size getSize()
public void setSize(Size aSize)
public void setSize(double aWidth, double aHeight)
public Rect getBounds()
public void setBounds(Rect aRect)
public void setBounds(double anX, double aY, double aW, double aH)
public Rect getFrame()
public void setFrame(Rect aRect)
public void setFrame(double anX, double aY, double aWidth, double aHeight)
public double getFrameX()
public void setFrameX(double anX)
public double getFrameY()
public void setFrameY(double aY)
public double getFrameWidth()
public double getFrameHeight()
public Point getFrameXY()
public void setFrameXY(Point aPoint)
public void setFrameXY(double anX, double aY)
public void setFrameSize(double aWidth, double aHeight)
public double getFrameMaxX()
public double getFrameMaxY()
public Point getXYP()
public void setXYP(double anX, double aY)
public void offsetXY(double dx, double dy)
public Rect getBoundsInside()
public Rect getBoundsStroked()
public Rect getBoundsStrokedDeep()
public Rect getBoundsMarked()
public Rect getBoundsMarkedDeep()
public double getRoll()
public void setRoll(double aValue)
public double getScaleX()
public void setScaleX(double aValue)
public double getScaleY()
public void setScaleY(double aValue)
public void setScaleXY(double sx, double sy)
public double getSkewX()
public void setSkewX(double aValue)
public double getSkewY()
public void setSkewY(double aValue)
public void setSkewXY(double skx, double sky)
public boolean isRSS()
public RMStroke getStroke()
public void setStroke(RMStroke aStroke)
public RMFill getFill()
public void setFill(RMFill aFill)
public Effect getEffect()
public void setEffect(Effect anEffect)
public RMColor getColor()
public void setColor(RMColor aColor)
public RMColor getStrokeColor()
public void setStrokeColor(RMColor aColor)
public float getStrokeWidth()
public void setStrokeWidth(float aValue)
public double getOpacity()
public void setOpacity(double aValue)
public double getOpacityDeep()
public boolean isVisible()
public void setVisible(boolean aValue)
public java.lang.String getAutosizing()
public void setAutosizing(java.lang.String aValue)
public java.lang.String getAutosizingDefault()
public boolean isHittable()
public boolean isViewing()
public boolean isEditing()
public RMColor getTextColor()
public void setTextColor(RMColor aColor)
public boolean isFontSet()
public RMFont getFont()
public void setFont(RMFont aFont)
public boolean isUnderlined()
public void setUnderlined(boolean aFlag)
public Pos getAlignment()
public void setAlignment(Pos aPos)
public RMTypes.AlignX getAlignmentX()
public void setAlignmentX(RMTypes.AlignX anAlignX)
public RMTypes.AlignY getAlignmentY()
public void setAlignmentY(RMTypes.AlignY anAlignX)
public RMFormat getFormat()
public void setFormat(RMFormat aFormat)
public void addDeepChangeListener(DeepChangeListener aListener)
public void removeDeepChangeListener(DeepChangeListener aLstnr)
public void propertyChange(PropChange anEvent)
public void deepChange(PropChangeListener aLsnr, PropChange anEvent)
public java.lang.String getName()
public void setName(java.lang.String aName)
public java.lang.String getURL()
public void setURL(java.lang.String aURL)
public boolean isLocked()
public void setLocked(boolean aValue)
public RMTimeline getTimeline()
public RMTimeline getTimeline(boolean create)
public void setTime(int aTime)
public java.lang.Object get(java.lang.String aName)
public java.lang.Object put(java.lang.String aName, java.lang.Object anObj)
public java.lang.Object get(java.lang.String aName, java.lang.Object aDefault)
public Shape getPath()
public RMParentShape getParent()
public void setParent(RMParentShape aShape)
public <T extends RMShape> T getParent(java.lang.Class<T> aClass)
public void removeFromParent()
public int indexOf()
public int getChildCount()
public RMShape getChild(int anIndex)
public java.util.List<RMShape> getChildren()
public RMShape getRootShape()
public RMDocument getDocument()
public RMParentShape getPageShape()
public Undoer getUndoer()
public void undoerSetUndoTitle(java.lang.String aTitle)
public void undoerDisable()
public void undoerEnable()
public boolean isRoot()
public int getAncestorCount()
public RMShape getAncestor(int anIndex)
public boolean isAncestor(RMShape aShape)
public boolean isDescendant(RMShape aShape)
public RMShape getAncestorInCommon(RMShape aShape)
public java.util.List<RMShape> getShapesToAncestor(RMShape aShape)
public java.util.List<RMShape> getShapesToDescendant(RMShape aShape)
public java.util.List<RMShape> getShapesToShape(RMShape aShape)
public RMTransform getTransform()
public RMTransform getTransformInverse()
public RMTransform getTransformToShape(RMShape aShape)
public RMTransform getTransformFromShape(RMShape aShape)
public void convertPointToShape(Point point, RMShape shape)
public void convertPointFromShape(Point point, RMShape shape)
public void convertVectorToShape(Size size, RMShape shape)
public void convertVectorFromShape(Size size, RMShape shape)
public void convertRectToShape(Rect rect, RMShape shape)
public void convertRectFromShape(Rect rect, RMShape shape)
public Point convertedPointToShape(Point aPnt, RMShape aShp)
public Point convertedPointFromShape(Point aPoint, RMShape aShape)
public Rect getConvertedRectToShape(Rect aRect, RMShape aShape)
public Rect getConvertedRectFromShape(Rect aRect, RMShape aShape)
public Shape getConvertedToShape(Shape aPath, RMShape aShape)
public Shape getConvertedFromShape(Shape aPath, RMShape aShape)
public void convertToShape(RMShape aShape)
public void convertFromShape(RMShape aShape)
public boolean isMinWidthSet()
public double getMinWidth()
public void setMinWidth(double aWidth)
public boolean isMinHeightSet()
public double getMinHeight()
public void setMinHeight(double aHeight)
public void setMinSize(double aWidth, double aHeight)
public boolean isPrefWidthSet()
public double getPrefWidth()
public void setPrefWidth(double aWidth)
public boolean isPrefHeightSet()
public double getPrefHeight()
public void setPrefHeight(double aHeight)
public double getBestWidth()
public double getBestHeight()
public void setBestHeight()
public void setBestSize()
public RMShape divideShapeFromTop(double anAmount)
public RMShape divideShapeFromEdge(double anAmount, byte anEdge, RMShape aNewShape)
public RMAnimator getAnimator()
public RMAnimator getAnimator(boolean create)
public RMAnimator getChildAnimator()
public RMAnimator getChildAnimator(boolean create)
public boolean acceptsMouse()
public void processEvent(ViewEvent anEvent)
public boolean contains(Point aPoint)
public boolean intersects(Shape aPath)
public java.lang.String getDatasetKey()
public Entity getDatasetEntity()
public java.lang.String[] getPropNames()
public int getBindingCount()
public Binding getBinding(int anIndex)
public void addBinding(Binding aBinding)
public Binding removeBinding(int anIndex)
public Binding getBinding(java.lang.String aPropertyName)
public boolean removeBinding(java.lang.String aPropertyName)
public void addBinding(java.lang.String aPropName, java.lang.String aKey)
public RMShape clone()
public RMShape cloneDeep()
public void copyShape(RMShape aShape)
public RMShape rpgAll(ReportOwner anRptOwner, RMShape aParent)
public void rpgBindings(ReportOwner anRptOwner, RMShape aShapeRPG)
public void repaint()
public boolean superSelectable()
public boolean acceptsChildren()
public boolean childrenSuperSelectImmediately()
public int page()
public int pageMax()
public int getPageBreak()
public int getPageBreakMax()
public int getPageBreakPage()
public int getPageBreakPageMax()
public void paint(Painter aPntr)
public void paintShapeAll(Painter aPntr)
public void paintShape(Painter aPntr)
public void paintShapeChildren(Painter aPntr)
public void paintShapeOver(Painter aPntr)
public boolean getStrokeOnTop()
public Shape getClipShape()
public void animUpdate(PropChange anEvent)
public boolean isAnimProperty(java.lang.String aPropertyName)
public XMLElement toXML(XMLArchiver anArchiver)
public java.lang.Object fromXML(XMLArchiver anArchiver, XMLElement anElement)
public java.lang.String toString()