Interface IImageContent
- All Superinterfaces:
org.eclipse.birt.report.engine.css.engine.CSSStylableElement
,IContent
,IElement
,IStyledElement
Image content in the report.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
property: image expression keystatic final int
property: image file keystatic final int
property: image name keystatic final int
Deprecated.replaced by IMAGE_URLstatic final int
property: image URL keyFields inherited from interface org.eclipse.birt.report.engine.content.IContent
AUTOTEXT_CONTENT, CELL_CONTENT, CONTAINER_CONTENT, DATA_CONTENT, DOCUMENT_EXTENSION, FOREIGN_CONTENT, GROUP_CONTENT, IMAGE_CONTENT, LABEL_CONTENT, LAYOUT_EXTENSION, LIST_BAND_CONTENT, LIST_CONTENT, LIST_GROUP_CONTENT, PAGE_CONTENT, REPORT_CONTENT, ROW_CONTENT, SERIALIZE_CONTENT, TABLE_BAND_CONTENT, TABLE_CONTENT, TABLE_GROUP_CONTENT, TEXT_CONTENT
-
Method Summary
Modifier and TypeMethodDescriptionGet the alternative textGet the alternative text keybyte[]
getData()
Get the dataGet the image extensionGet the help text keyGet the calculated image sizeGet the image raw sizeint
Get the type of image sourceGet the MIME typeint
Get the image resolutiongetURI()
Get the URIvoid
setAltText
(String altText) Set the alternative textvoid
setAltTextKey
(String key) Set the alternative text keyvoid
setData
(byte[] data) Set the datavoid
setExtension
(String extension) Set the image extensionvoid
setHelpKey
(String key) Set the help text keyvoid
setImageCalculatedSize
(ImageSize imageCalcSize) Set the calculated image sizevoid
setImageMap
(Object map) Set the image based on full mapping objectvoid
setImageRawSize
(ImageSize imageRawSize) Set the image raw sizevoid
setImageSource
(int source) Set the image sourcevoid
setMIMEType
(String mimeType) Set the image MIME typevoid
setResolution
(int resolution) Set the image resolutionvoid
Set the URIMethods inherited from interface org.eclipse.birt.report.engine.css.engine.CSSStylableElement
getComputedStyle, getCSSEngine, getStyle
Methods inherited from interface org.eclipse.birt.report.engine.content.IContent
accept, cloneContent, getACL, getBookmark, getContentType, getExtension, getExtensions, getGenerateBy, getHeight, getHelpText, getHyperlinkAction, getInlineStyle, getInstanceID, getName, getReportContent, getResultSet, getTagType, getTOC, getUserProperties, getWidth, getX, getY, hasChildren, isDirectionRTL, isLastChild, isRTL, readContent, setACL, setBookmark, setExtension, setExtensions, setGenerateBy, setHasChildren, setHeight, setHelpText, setHyperlinkAction, setInlineStyle, setInstanceID, setLastChild, setName, setReportContent, setTagType, setTOC, setUserProperties, setWidth, setX, setY, writeContent
Methods inherited from interface org.eclipse.birt.report.engine.content.IElement
getChildren, getParent, setParent
Methods inherited from interface org.eclipse.birt.report.engine.content.IStyledElement
getComputedStyle, getStyle, getStyleClass, setStyleClass
-
Field Details
-
IMAGE_FILE
static final int IMAGE_FILEproperty: image file key- See Also:
-
IMAGE_NAME
static final int IMAGE_NAMEproperty: image name key- See Also:
-
IMAGE_EXPRESSION
static final int IMAGE_EXPRESSIONproperty: image expression key- See Also:
-
IMAGE_URL
static final int IMAGE_URLproperty: image URL key- See Also:
-
IMAGE_URI
Deprecated.replaced by IMAGE_URL- See Also:
-
-
Method Details
-
getAltText
String getAltText()Description copied from interface:IContent
Get the alternative text- Specified by:
getAltText
in interfaceIContent
- Returns:
- Returns the altText.
-
getAltTextKey
String getAltTextKey()Description copied from interface:IContent
Get the alternative text key- Specified by:
getAltTextKey
in interfaceIContent
- Returns:
- the alternative text key
-
setAltText
Description copied from interface:IContent
Set the alternative text- Specified by:
setAltText
in interfaceIContent
- Parameters:
altText
- alternative text
-
setAltTextKey
Description copied from interface:IContent
Set the alternative text key- Specified by:
setAltTextKey
in interfaceIContent
- Parameters:
key
- alternative text key
-
setHelpKey
Set the help text key- Parameters:
key
- key of the help text
-
getHelpKey
String getHelpKey()Get the help text key- Returns:
- the help text key
-
getData
byte[] getData()Get the data- Returns:
- the data
-
setData
void setData(byte[] data) Set the data- Parameters:
data
- image data
-
getExtension
String getExtension()Get the image extension- Returns:
- the image extension
-
setExtension
Set the image extension- Parameters:
extension
- image extension
-
getURI
String getURI()Get the URI- Returns:
- the URI
-
setURI
Set the URI- Parameters:
uri
- image URI
-
getImageSource
int getImageSource()Get the type of image source- Returns:
- the type of image source
-
setImageSource
void setImageSource(int source) Set the image source- Parameters:
source
- image source
-
getImageMap
Object getImageMap()- Returns:
- the image map (null means no image map)
-
setImageMap
Set the image based on full mapping object- Parameters:
map
-
-
getMIMEType
String getMIMEType()Get the MIME type- Returns:
- the MIME type
-
setMIMEType
Set the image MIME type- Parameters:
mimeType
- MIME type of the image
-
getResolution
int getResolution()Get the image resolution- Returns:
- the image resolution
-
setResolution
void setResolution(int resolution) Set the image resolution- Parameters:
resolution
- image resolution
-
setImageRawSize
Set the image raw size- Parameters:
imageRawSize
- image raw size
-
getImageRawSize
ImageSize getImageRawSize()Get the image raw size- Returns:
- Return the image raw size
-
setImageCalculatedSize
Set the calculated image size- Parameters:
imageCalcSize
- calculated image size
-
getImageCalculatedSize
ImageSize getImageCalculatedSize()Get the calculated image size- Returns:
- Return the calculated image size
-