Package com.reportmill.shape
Class RMImage
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.shape.RMShape
- 
- com.reportmill.shape.RMRectangle
- 
- com.reportmill.shape.RMImage
 
 
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- java.lang.Cloneable
 
 public class RMImage extends RMRectangle This class is a shape representation of an image.
- 
- 
Field Summary- 
Fields inherited from class com.reportmill.shape.RMShapeWRAP_TYPE_BOTH, WRAP_TYPE_NONE
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object anObj)Standard equals implementation.java.lang.ObjectfromXML(RXArchiver anArchiver, RXElement anElement)XML unarchival.intgetFillStyle()Returns the fill style for the image's image fill.floatgetHeightToFit()Returns the height to fit the image.RMImageDatagetImageData()Returns the imageData for this shape (or null if fill isn't an RMImageFill).java.lang.StringgetKey()Returns the report key used to load an image if none is provided.booleangetSizeBorders()Returns whether the image shape should resize its borders to fit dynamically provided images.floatgetWidthToFit()Returns the width to fit the image.java.lang.ObjectinitWithArchiver(RMArchiver anArchiver)Legacy unarchival.RMShaperpgClone(ReportMill aReportMill)Report generation method.voidsetFill(RMFill aFill)Overrides standard shape setFill method to ensure fill is an RMImageFill.voidsetKey(java.lang.String aString)Sets the report key used to load an image if none is provided.voidsetSizeBorders(boolean aFlag)Sets whether the image shape should resize its borders to fit dynamically provided images.RXElementtoXML(RXArchiver anArchiver)XML archival.- 
Methods inherited from class com.reportmill.shape.RMRectanglecopy, getPath, getRadius, setRadius
 - 
Methods inherited from class com.reportmill.shape.RMShapeacceptsChildren, acceptsDragKeys, acceptsFormat, acceptsMouse, addChild, addChild, addChildBelowLastChild, bounds, boundsChanged, boundsChanged, bringShapesToFront, canBeUngrouped, childrenSuperSelectImmediately, clone, cloneDeep, contains, convertedPointFromShape, convertedPointToShape, convertedRectFromShape, convertedRectToShape, convertedSizeFromShape, convertedSizeToShape, convertedVectorFromShape, convertedVectorToShape, convertFromShape, convertPathFromShape, convertPathToShape, convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, convertSizeFromShape, convertSizeToShape, convertToShape, convertVectorFromShape, convertVectorToShape, copyShape, delete, didChange, divideShapeFromEdge, divideShapeFromTop, dragExit, dragKeyAtPoint, dropKeyAtPoint, fromXMLDeep, get, getActionScript, getAnim, getAnim, getAnimator, getAnimator, getAutosizeHeight, getAutosizing, getBounds, getBoundsInside, getBoundsMarked, getBoundsOfChildren, getBoundsOfChildren, getBoundsSuperSelected, getCausesWrap, getCausesWrapType, getChild, getChildAnimator, getChildAnimator, getChildContaining, getChildCount, getChildLast, getChildren, getChildrenIntersecting, getChildrenWhoCauseWrap, getChildrenWhoDraw, getChildrenWhoHitTest, getChildSortedByX, getChildWithClass, getChildWithName, getColor, getCommonAncestor, getDocument, getFill, getFill, getFill, getFillCount, getFills, getFont, getFormat, getFrame, getFrame, getFrameMaxX, getFrameMaxY, getFrameX, getFrameXY, getFrameY, getGroupShape, getHeight, getImageFill, getLineWidth, getListKey, getListKeyDeep, getListKeyShape, getMaxX, getMaxY, getName, getOpacity, getOpacityDeep, getOutline, getPageCount, getPageShape, getParent, getParentCount, getParents, getPathInBounds, getPropertyKey, getPropertyKeyCount, getPropertyKeyName, getRoll, getRootShape, getScaleX, getScaleY, getShapesToAncestor, getShapesToDescendant, getShapesToShape, getSize, getSizeP, getSkewX, getSkewY, getStroke, getStrokeColor, getTextColor, getToolClassName, getTransform, getTransformFromShape, getTransformInverse, getTransformToShape, getUndoer, getUrl, getWidth, getX, getXY, getXYP, getY, groupShapes, hasPageBreaks, height, indexOf, indexOf, intersects, isAncestor, isDescendant, isLocked, isRoot, isUnderlined, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, notRSS, offsetChildrenXY, offsetXY, page, pageBreakMax, pageBreakPageMax, pageMax, put, putPropertyKey, reclaimChildren, removeChild, removeChild, removeChildren, removeChildren, removeFromParent, resolvePageReferences, rpgCloneBase, rpgCloneChildren, rpgCloneConclude, rpgCloneNotification, rpgClonePrepare, rpgClonePreprocess, rpgCloneUrl, sendShapesToBack, setActionScript, setAnim, setAutosizeHeight, setAutosizing, setBounds, setBounds, setCausesWrapType, setChildren, setColor, setFont, setFormat, setFrame, setFrame, setFrameSize, setFrameX, setFrameXY, setFrameXY, setFrameY, setHeight, setHeightDeep, setHeightDeep, setHeightToFit, setLineWidth, setListKey, setLocked, setName, setNeedsRepaint, setNeedsRepaint, setOpacity, setOutline, setParent, setRoll, setScaleX, setScaleXY, setScaleY, setSize, setSize, setSizeDeep, setSizeP, setSizeToFit, setSizeToFit, setSkewX, setSkewXY, setSkewY, setStroke, setStrokeColor, setTextColor, setTime, setUnderlined, setUrl, setWidth, setWidthDeep, setWidthDeep, setWidthToFit, setX, setXY, setXY, setXYP, setY, sizesToFitChildren, superSelectable, toString, undoClone, undoCopy, undoEquals, undoerAddDirtyObject, undoerDisable, undoerEnable, undoerSetUndoTitle, width, willChange, willChange, x, y
 - 
Methods inherited from class com.reportmill.base.RMObjectdidUndo, getAnimAttribute, getClassNameShort
 
- 
 
- 
- 
- 
Method Detail- 
getKeypublic java.lang.String getKey() Returns the report key used to load an image if none is provided.
 - 
setKeypublic void setKey(java.lang.String aString) Sets the report key used to load an image if none is provided.
 - 
getSizeBorderspublic boolean getSizeBorders() Returns whether the image shape should resize its borders to fit dynamically provided images.
 - 
setSizeBorderspublic void setSizeBorders(boolean aFlag) Sets whether the image shape should resize its borders to fit dynamically provided images.
 - 
getImageDatapublic RMImageData getImageData() Returns the imageData for this shape (or null if fill isn't an RMImageFill).
 - 
getFillStylepublic int getFillStyle() Returns the fill style for the image's image fill.
 - 
setFillpublic void setFill(RMFill aFill) Overrides standard shape setFill method to ensure fill is an RMImageFill.
 - 
getWidthToFitpublic float getWidthToFit() Returns the width to fit the image.- Overrides:
- getWidthToFitin class- RMShape
 
 - 
getHeightToFitpublic float getHeightToFit() Returns the height to fit the image.- Overrides:
- getHeightToFitin class- RMShape
 
 - 
rpgClonepublic RMShape rpgClone(ReportMill aReportMill) Report generation method.
 - 
equalspublic boolean equals(java.lang.Object anObj) Standard equals implementation.- Overrides:
- equalsin class- RMRectangle
 
 - 
toXMLpublic RXElement toXML(RXArchiver anArchiver) XML archival.- Overrides:
- toXMLin class- RMRectangle
 
 - 
fromXMLpublic java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement) XML unarchival.- Overrides:
- fromXMLin class- RMRectangle
 
 - 
initWithArchiverpublic java.lang.Object initWithArchiver(RMArchiver anArchiver) Legacy unarchival.- Specified by:
- initWithArchiverin interface- RMArchiver.Archiving
- Overrides:
- initWithArchiverin class- RMRectangle
 
 
- 
 
-