|
ReportMill 11 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 |
fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
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. |
java.lang.Object |
getSource()
Returns the source for this image (actually from it's image fill's image data). |
float |
getWidthToFit()
Returns the width to fit the image. |
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 |
setReportMill(com.reportmill.base.ReportMill aReportMill)
Report generation method. |
void |
setSizeBorders(boolean aFlag)
Sets whether the image shape should resize it's borders to fit dynamically provided images. |
void |
setSource(java.lang.Object aSource)
Sets the given source (actually a new image fill for source). |
com.reportmill.archiver.RXElement |
toXMLShape(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML archival. |
Methods inherited from class com.reportmill.shape.RMRectangle |
---|
getPath, getRadius, setRadius |
Methods inherited from class com.reportmill.base.RMObject |
---|
addListener, addPropertyChangeListener, firePropertyChange, getListener, getListenerCount, getListeners, isFirePropertyChangeEnabled, isUndoing, removeListener, removePropertyChangeListener, setFirePropertyChangeEnabled, setUndoing |
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 java.lang.Object getSource()
public void setSource(java.lang.Object aSource)
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 void setReportMill(com.reportmill.base.ReportMill aReportMill)
setReportMill
in class RMShape
public boolean equals(java.lang.Object anObj)
equals
in class RMRectangle
public com.reportmill.archiver.RXElement toXMLShape(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
toXMLShape
in class RMRectangle
public java.lang.Object fromXMLShape(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
fromXMLShape
in class RMRectangle
|
ReportMill 11 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |