|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.shape.RMShape
com.reportmill.shape.RMRectangle
com.reportmill.shape.RMImage
public class RMImage
This class is a shape representation of an image.
Field Summary |
---|
Fields inherited from class com.reportmill.shape.RMShape |
---|
WRAP_TYPE_BOTH, WRAP_TYPE_NONE |
Constructor Summary | |
---|---|
RMImage()
Creates a plain image shape (with no actual image). |
|
RMImage(java.lang.Object aSource)
Creates an image shape from the image source provided. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement)
XML unarchival. |
int |
getFillStyle()
Returns the fill style for the image's image fill. |
float |
getHeightToFit()
Returns the height to fit the image. |
com.reportmill.graphics.RMImageData |
getImageData()
Returns the imageData for this shape (or null if fill isn't an RMImageFill). |
java.lang.String |
getKey()
Returns the report key used to load an image if none is provided. |
boolean |
getSizeBorders()
Returns whether the image shape should resize it's borders to fit dynamically provided images. |
float |
getWidthToFit()
Returns the width to fit the image. |
RMShape |
rpgClone(com.reportmill.base.ReportMill aReportMill)
Report generation method. |
void |
setFill(RMFill aFill)
Overrides standard shape setFill method to ensure fill is an RMImageFill. |
void |
setKey(java.lang.String aString)
Sets the report key used to load an image if none is provided. |
void |
setSizeBorders(boolean aFlag)
Sets whether the image shape should resize it's borders to fit dynamically provided images. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver)
XML archival. |
Methods inherited from class com.reportmill.shape.RMRectangle |
---|
copy, getPath, getRadius, setRadius |
Methods inherited from class com.reportmill.base.RMObject |
---|
didUndo, getAnimAttribute, getClassNameShort |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RMImage()
public RMImage(java.lang.Object aSource)
Method Detail |
---|
public java.lang.String getKey()
public void setKey(java.lang.String aString)
public boolean getSizeBorders()
public void setSizeBorders(boolean aFlag)
public com.reportmill.graphics.RMImageData getImageData()
public int getFillStyle()
public void setFill(RMFill aFill)
setFill
in class RMShape
public float getWidthToFit()
getWidthToFit
in class RMShape
public float getHeightToFit()
getHeightToFit
in class RMShape
public RMShape rpgClone(com.reportmill.base.ReportMill aReportMill)
rpgClone
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMRectangle
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver)
toXML
in class RMRectangle
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement)
fromXML
in class RMRectangle
|
ReportMill 10 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |