Interface IImageInstance
- All Superinterfaces:
IReportElementInstance, IReportItemInstance
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new action instance, witch can be bookmark, hyperlink or drillThrough.Get the action instance.Get the alt textGet the alt textbyte[]getData()Returns the data for a named imagegetFile()get the image url, if the source type is notIMAGE_REF_TYPE_FILEreturn null.Get the image nameintReturns the type of image source Can be one of the following: org.eclipse.birt.report.engine.content.IImageContent.IMAGE_FILE org.eclipse.birt.report.engine.content.IImageContent.IMAGE_NAME org.eclipse.birt.report.engine.content.IImageContent.IMAGE_EXPRESSION org.eclipse.birt.report.engine.content.IImageContent.IMAGE_URLGet the MIME TypegetURI()Get the image URIgetURL()get the image url, if the source type is notIMAGE_REF_TYPE_URLreturn null.voidsetAction(IActionInstance actionInstance) set the actionInstancevoidsetAltText(String altText) Set the alt textvoidsetAltTextKey(String altTextKey) Set the alt textvoidsetData(byte[] data) Set the data for a named imagevoidSets the image file.voidsetImageName(String imageName) Set the image namevoidsetMimeType(String type) Set the MIME TypevoidDeprecated.Set the image URIvoidSets the image url.Methods inherited from interface IReportElementInstance
getHeight, getHorizontalPosition, getNamedExpressionValue, getParent, getRowData, getStyle, getUserPropertyValue, getVerticalPosition, getWidth, setHeight, setHorizontalPosition, setUserPropertyValue, setVerticalPosition, setWidthMethods inherited from interface IReportItemInstance
getHelpText, getHyperlink, getName, setHelpText, setName
-
Method Details
-
getAltText
String getAltText()Get the alt text -
setAltText
-
getAltTextKey
String getAltTextKey()Get the alt text -
setAltTextKey
-
getURI
String getURI()Get the image URI -
setURI
Deprecated.Set the image URI -
getImageSource
int getImageSource()Returns the type of image source Can be one of the following: org.eclipse.birt.report.engine.content.IImageContent.IMAGE_FILE org.eclipse.birt.report.engine.content.IImageContent.IMAGE_NAME org.eclipse.birt.report.engine.content.IImageContent.IMAGE_EXPRESSION org.eclipse.birt.report.engine.content.IImageContent.IMAGE_URL -
getImageName
String getImageName()Get the image name -
setImageName
Set the image name -
getData
byte[] getData()Returns the data for a named image -
setData
void setData(byte[] data) Set the data for a named image -
getMimeType
String getMimeType()Get the MIME Type -
setMimeType
Set the MIME Type -
setURL
Sets the image url. The source type isIMAGE_REF_TYPE_URL, and will automatically set in this method. -
getURL
String getURL()get the image url, if the source type is notIMAGE_REF_TYPE_URLreturn null. -
setFile
Sets the image file. The source type isIMAGE_REF_TYPE_FILE, and will automatically set in this method. -
getFile
String getFile()get the image url, if the source type is notIMAGE_REF_TYPE_FILEreturn null. -
createAction
IActionInstance createAction()Create a new action instance, witch can be bookmark, hyperlink or drillThrough. The default action instance type is NULL. -
getAction
IActionInstance getAction()Get the action instance. -
setAction
-