public class RMShape extends SnapObject implements java.beans.PropertyChangeListener, 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.
|
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 |
addMouseListener(RMShapeMouseListener aListener)
Add mouse listener.
|
void |
animUpdate(java.beans.PropertyChangeEvent anEvent)
Called to update shape anim.
|
RMRect |
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(RMPoint aPoint)
Returns whether this shape is hit by the point, given in this shape's parent's coords.
|
RMPoint |
convertedPointFromShape(RMPoint aPoint,
RMShape aShape)
Returns the given point converted from the given shape's coords.
|
RMPoint |
convertedPointToShape(RMPoint aPoint,
RMShape aShape)
Returns the given point converted to the given shape's coords.
|
RMRect |
convertedRectFromShape(RMRect aRect,
RMShape aShape)
Returns the rect encompassing the given rect converted from the given shape's coords.
|
RMRect |
convertedRectToShape(RMRect aRect,
RMShape aShape)
Returns the rect encompassing the given rect converted to the given shape's coords.
|
void |
convertFromShape(RMShape aShape)
Transforms the given shape from this shape's coords.
|
RMPath |
convertPathFromShape(RMPath aPath,
RMShape aShape)
Returns the given path converted from the given shape's coords.
|
RMPath |
convertPathToShape(RMPath aPath,
RMShape aShape)
Returns the given path converted to the given shape's coords.
|
RMPoint |
convertPointFromShape(RMPoint point,
RMShape shape)
Converts the given point to the given shape's coords (returns it for convenience).
|
RMPoint |
convertPointToShape(RMPoint point,
RMShape shape)
Converts the given point to the given shape's coords (returns it for convenience).
|
RMRect |
convertRectFromShape(RMRect rect,
RMShape shape)
Converts the given rect from the given shape's coords (returns it for convenience).
|
RMRect |
convertRectToShape(RMRect 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.
|
RMSize |
convertVectorFromShape(RMSize size,
RMShape shape)
Converts the given size (as a vector) from the given shape's coords (returns it for convenience).
|
RMSize |
convertVectorToShape(RMSize 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(java.beans.PropertyChangeListener aListener,
java.beans.PropertyChangeEvent 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.
|
RMTypes.Align |
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 |
getBestHeight(double aValue)
Returns the best height for current width.
|
double |
getBestWidth()
Returns the best width for current height.
|
double |
getBestWidth(double aValue)
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.
|
RMRect |
getBounds()
Returns the X, Y, width and height of the shape as a rect (use getFrame if shape has roll/scale/skew).
|
RMRect |
getBoundsInside()
Returns the bounds of the shape in the shape's own coords.
|
RMRect |
getBoundsMarked()
Returns the bounds of the path associated with this shape in local coords, adjusted to account for stroke width.
|
RMRect |
getBoundsMarkedDeep()
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.
|
java.awt.Shape |
getClipShape()
Returns clip shape for shape.
|
RMColor |
getColor()
Returns the color of the shape.
|
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).
|
RMEffect |
getEffect()
Returns the effect for this shape.
|
RMShapeEventAdapter |
getEventAdapter(boolean doCreate)
Returns the ShapeEventAdapter 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.
|
RMRect |
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.
|
RMPoint |
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.
|
java.lang.String |
getHover()
Sets the Hover string for the shape.
|
java.lang.Object |
getLayoutInfo()
Returns an object describing layout paramaters of this shape in its parent's layout.
|
RMPath |
getMaskPath()
Returns the outline of the shape as a path.
|
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 |
getMinHeight(double aValue)
Returns the shape minimum height.
|
double |
getMinWidth()
Returns the shape minimum width.
|
double |
getMinWidth(double aValue)
Returns the shape minimum width.
|
java.lang.String |
getName()
Returns the name for the shape.
|
float |
getOpacity()
Returns the opacity of the shape (1 for opaque, 0 for transparent).
|
float |
getOpacityDeep()
Returns the combined opacity of this shape and its parent.
|
RMXString.Outline |
getOutline()
Returns the outline for the shape.
|
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.
|
RMPath |
getPath()
Returns the shape's path.
|
RMPath |
getPathInBounds()
Returns the shape's path scaled to the shape's current bounds.
|
double |
getPrefHeight()
Returns the shape preferred height.
|
double |
getPrefHeight(double aValue)
Returns the shape preferred height.
|
double |
getPrefWidth()
Returns the shape preferred width.
|
double |
getPrefWidth(double aValue)
Returns the shape preferred width.
|
java.lang.String |
getPropertyNameMapped(java.lang.String aName)
Returns a mapped property name.
|
java.util.List<java.lang.String> |
getPropertyNames()
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.
|
RMSize |
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.
|
RMPoint |
getXY()
Returns the XY location of the shape as a point.
|
RMPoint |
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(RMPath 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 |
isEnabled(UIEvent.Type aType)
Returns whether given event is enabled.
|
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 |
mouseClicked(RMShapeMouseEvent anEvent)
Handles mouse clicked events.
|
void |
mouseDragged(RMShapeMouseEvent anEvent)
Handles mouse dragged events.
|
void |
mouseEntered(RMShapeMouseEvent anEvent)
Handles mouse entered events.
|
void |
mouseExited(RMShapeMouseEvent anEvent)
Handles mouse exited events.
|
void |
mouseMoved(RMShapeMouseEvent anEvent)
Handles mouse moved events.
|
void |
mousePressed(RMShapeMouseEvent anEvent)
Handles mouse pressed events.
|
void |
mouseReleased(RMShapeMouseEvent anEvent)
Handles mouse released events.
|
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(RMShapePainter aPntr)
Top-level generic shape painting - sets transform and opacity then does a paintAll.
|
void |
paintShape(RMShapePainter aPntr)
Basic shape painting - paints shape fill and stroke.
|
void |
paintShapeAll(RMShapePainter aPntr)
Calls paintShape, paintShapeChildren and paintShapeOver.
|
void |
paintShapeChildren(RMShapePainter aPntr)
Paints shape children.
|
void |
paintShapeOver(RMShapePainter aPntr)
Paints after (on top) of children.
|
void |
propertyChange(java.beans.PropertyChangeEvent 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 |
removeMouseListener(RMShapeMouseListener aLsnr)
Remove mouse listener.
|
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(RMTypes.Align anAlign)
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(java.awt.geom.Rectangle2D 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(RMEffect anEffect)
Sets the effect for this shape.
|
void |
setEnabled(UIEvent.Type aType,
boolean aValue)
Sets whether given event is enabled.
|
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(java.awt.geom.Rectangle2D 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(RMPoint 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 |
setHover(java.lang.String aString)
Returns the URL for the shape.
|
void |
setLayoutInfo(java.lang.Object theLayoutInfo)
Sets an object describing layout parameters of this shape in its parent's layout.
|
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(float aValue)
Sets the opacity of the shape (1 for opaque, 0 for transparent).
|
void |
setOutline(RMXString.Outline anOutline)
Sets the outline for the shape.
|
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(RMSize 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(java.awt.geom.Point2D 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 RMRect 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 RMPoint getXY()
public void setXY(java.awt.geom.Point2D aPoint)
public void setXY(double anX, double aY)
public RMSize getSize()
public void setSize(RMSize aSize)
public void setSize(double aWidth, double aHeight)
public RMRect getBounds()
public void setBounds(java.awt.geom.Rectangle2D aRect)
public void setBounds(double anX, double aY, double aW, double aH)
public RMRect getFrame()
public void setFrame(java.awt.geom.Rectangle2D 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 RMPoint getFrameXY()
public void setFrameXY(RMPoint aPoint)
public void setFrameXY(double anX, double aY)
public void setFrameSize(double aWidth, double aHeight)
public double getFrameMaxX()
public double getFrameMaxY()
public RMPoint getXYP()
public void setXYP(double anX, double aY)
public void offsetXY(double dx, double dy)
public RMRect getBoundsInside()
public RMRect getBoundsMarked()
public RMRect 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 RMEffect getEffect()
public void setEffect(RMEffect 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 float getOpacity()
public void setOpacity(float aValue)
public float getOpacityDeep()
public boolean isVisible()
public void setVisible(boolean aValue)
public java.lang.Object getLayoutInfo()
public void setLayoutInfo(java.lang.Object theLayoutInfo)
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 RMXString.Outline getOutline()
public void setOutline(RMXString.Outline anOutline)
public RMTypes.Align getAlignment()
public void setAlignment(RMTypes.Align anAlign)
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(java.beans.PropertyChangeEvent anEvent)
propertyChange
in interface java.beans.PropertyChangeListener
public void deepChange(java.beans.PropertyChangeListener aListener, java.beans.PropertyChangeEvent 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 java.lang.String getHover()
public void setHover(java.lang.String aString)
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 RMPath getPath()
public RMPath getPathInBounds()
public RMPath getMaskPath()
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 RMPoint convertPointToShape(RMPoint point, RMShape shape)
public RMPoint convertPointFromShape(RMPoint point, RMShape shape)
public RMSize convertVectorToShape(RMSize size, RMShape shape)
public RMSize convertVectorFromShape(RMSize size, RMShape shape)
public RMRect convertRectToShape(RMRect rect, RMShape shape)
public RMRect convertRectFromShape(RMRect rect, RMShape shape)
public RMPoint convertedPointToShape(RMPoint aPoint, RMShape aShape)
public RMPoint convertedPointFromShape(RMPoint aPoint, RMShape aShape)
public RMRect convertedRectToShape(RMRect aRect, RMShape aShape)
public RMRect convertedRectFromShape(RMRect aRect, RMShape aShape)
public RMPath convertPathToShape(RMPath aPath, RMShape aShape)
public RMPath convertPathFromShape(RMPath aPath, RMShape aShape)
public void convertToShape(RMShape aShape)
public void convertFromShape(RMShape aShape)
public boolean isMinWidthSet()
public double getMinWidth()
public double getMinWidth(double aValue)
public void setMinWidth(double aWidth)
public boolean isMinHeightSet()
public double getMinHeight()
public double getMinHeight(double aValue)
public void setMinHeight(double aHeight)
public void setMinSize(double aWidth, double aHeight)
public boolean isPrefWidthSet()
public double getPrefWidth()
public double getPrefWidth(double aValue)
public void setPrefWidth(double aWidth)
public boolean isPrefHeightSet()
public double getPrefHeight()
public double getPrefHeight(double aValue)
public void setPrefHeight(double aHeight)
public double getBestWidth()
public double getBestWidth(double aValue)
public double getBestHeight()
public double getBestHeight(double aValue)
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 void addMouseListener(RMShapeMouseListener aListener)
public void removeMouseListener(RMShapeMouseListener aLsnr)
public boolean acceptsMouse()
public void mousePressed(RMShapeMouseEvent anEvent)
public void mouseDragged(RMShapeMouseEvent anEvent)
public void mouseReleased(RMShapeMouseEvent anEvent)
public void mouseClicked(RMShapeMouseEvent anEvent)
public void mouseEntered(RMShapeMouseEvent anEvent)
public void mouseMoved(RMShapeMouseEvent anEvent)
public void mouseExited(RMShapeMouseEvent anEvent)
public boolean contains(RMPoint aPoint)
public boolean intersects(RMPath aPath)
public java.lang.String getDatasetKey()
public Entity getDatasetEntity()
public java.util.List<java.lang.String> getPropertyNames()
public java.lang.String getPropertyNameMapped(java.lang.String aName)
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 boolean isEnabled(UIEvent.Type aType)
public void setEnabled(UIEvent.Type aType, boolean aValue)
public RMShapeEventAdapter getEventAdapter(boolean doCreate)
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(RMShapePainter aPntr)
public void paintShapeAll(RMShapePainter aPntr)
public void paintShape(RMShapePainter aPntr)
public void paintShapeChildren(RMShapePainter aPntr)
public void paintShapeOver(RMShapePainter aPntr)
public boolean getStrokeOnTop()
public java.awt.Shape getClipShape()
public void animUpdate(java.beans.PropertyChangeEvent 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()