Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods
Create a new action instance, witch can be bookmark, hyperlink or
drillThrough.
byte[]
Returns the data for a named image
get the image url, if the source type is not IMAGE_REF_TYPE_FILE
return null.
int
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
get the image url, if the source type is not IMAGE_REF_TYPE_URL
return null.
void
void
void
void
Set the data for a named image
void
void
void
void
void
Methods inherited from interface org.eclipse.birt.report.engine.api.script.instance.IReportElementInstance
getHeight , getHorizontalPosition , getNamedExpressionValue , getParent , getRowData , getStyle , getUserPropertyValue , getVerticalPosition , getWidth , setHeight , setHorizontalPosition , setUserPropertyValue , setVerticalPosition , setWidth
Method Details
getAltText
Get the alt text
setAltText
void setAltText (String altText)
Set the alt text
Parameters:
altText
-
getAltTextKey
Get the alt text
setAltTextKey
void setAltTextKey (String altTextKey)
Set the alt text
Parameters:
altText
-
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
Get the image name
setImageName
void setImageName (String imageName)
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
Get the MIME Type
setMimeType
Set the MIME Type
setURL
Sets the image url. The source type is IMAGE_REF_TYPE_URL
, and
will automatically set in this method.
getURL
get the image url, if the source type is not IMAGE_REF_TYPE_URL
return null.
setFile
Sets the image file. The source type is IMAGE_REF_TYPE_FILE
, and
will automatically set in this method.
getFile
get the image url, if the source type is not IMAGE_REF_TYPE_FILE
return null.
createAction
Create a new action instance, witch can be bookmark, hyperlink or
drillThrough. The default action instance type is NULL.
getAction
Get the action instance.
setAction
set the actionInstance
Parameters:
actionInstance
-