public interface IContent extends IElement, IStyledElement
Modifier and Type | Field and Description |
---|---|
static int |
AUTOTEXT_CONTENT |
static int |
CELL_CONTENT |
static int |
CONTAINER_CONTENT |
static int |
DATA_CONTENT |
static int |
DOCUMENT_EXTENSION |
static int |
FOREIGN_CONTENT |
static int |
GROUP_CONTENT |
static int |
IMAGE_CONTENT |
static int |
LABEL_CONTENT |
static int |
LAYOUT_EXTENSION |
static int |
LIST_BAND_CONTENT |
static int |
LIST_CONTENT |
static int |
LIST_GROUP_CONTENT |
static int |
PAGE_CONTENT |
static int |
REPORT_CONTENT |
static int |
ROW_CONTENT |
static int |
SERIALIZE_CONTENT |
static int |
TABLE_BAND_CONTENT |
static int |
TABLE_CONTENT |
static int |
TABLE_GROUP_CONTENT |
static int |
TEXT_CONTENT |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(IContentVisitor visitor,
java.lang.Object value)
use visitor to process the object.
|
IContent |
cloneContent(boolean isDeep) |
java.lang.String |
getACL() |
java.lang.String |
getBookmark() |
int |
getContentType()
the content type, must be one of the predefines.
|
java.lang.Object |
getExtension(int extension) |
java.util.Map<java.lang.String,java.lang.Object> |
getExtensions() |
java.lang.Object |
getGenerateBy()
the design object which create this content.
|
DimensionType |
getHeight()
sepcified value, the actual height is defined in IBounds
|
java.lang.String |
getHelpText() |
IHyperlinkAction |
getHyperlinkAction() |
IStyle |
getInlineStyle() |
InstanceID |
getInstanceID()
get the instance id of the content.
|
java.lang.String |
getName()
unique id of the content.
|
IReportContent |
getReportContent()
return the report which contains/create this content.
|
IBaseResultSet |
getResultSet() |
java.lang.Object |
getTOC() |
java.util.Map<java.lang.String,java.lang.Object> |
getUserProperties() |
DimensionType |
getWidth()
specified value, the real value is defined in IBounds
|
DimensionType |
getX()
specified value, the real value is defined in IBounds
|
DimensionType |
getY()
specified value, the real value is defined in IBounds
|
boolean |
hasChildren() |
boolean |
isDirectionRTL() |
boolean |
isLastChild() |
boolean |
isRTL() |
void |
readContent(java.io.DataInputStream in,
java.lang.ClassLoader loader) |
void |
setACL(java.lang.String acl) |
void |
setBookmark(java.lang.String bookmark) |
void |
setExtension(int extension,
java.lang.Object value)
Set the extension of the content.
|
void |
setExtensions(java.util.Map<java.lang.String,java.lang.Object> values) |
void |
setGenerateBy(java.lang.Object generateBy) |
void |
setHasChildren(boolean hasChildren) |
void |
setHeight(DimensionType height) |
void |
setHelpText(java.lang.String help) |
void |
setHyperlinkAction(IHyperlinkAction hyperlink) |
void |
setInlineStyle(IStyle style) |
void |
setInstanceID(InstanceID id)
set the instace id of the content.
|
void |
setLastChild(boolean isLastChild) |
void |
setName(java.lang.String name) |
void |
setReportContent(IReportContent report)
set the report content.
|
void |
setTOC(java.lang.Object toc) |
void |
setUserProperties(java.util.Map<java.lang.String,java.lang.Object> values) |
void |
setWidth(DimensionType width) |
void |
setX(DimensionType x) |
void |
setY(DimensionType y) |
void |
writeContent(java.io.DataOutputStream out) |
getChildren, getParent, setParent
getComputedStyle, getStyle, getStyleClass, setStyleClass
static final int SERIALIZE_CONTENT
static final int REPORT_CONTENT
static final int CELL_CONTENT
static final int CONTAINER_CONTENT
static final int DATA_CONTENT
static final int FOREIGN_CONTENT
static final int IMAGE_CONTENT
static final int LABEL_CONTENT
static final int PAGE_CONTENT
static final int ROW_CONTENT
static final int TABLE_BAND_CONTENT
static final int TABLE_CONTENT
static final int TEXT_CONTENT
static final int AUTOTEXT_CONTENT
static final int LIST_CONTENT
static final int LIST_BAND_CONTENT
static final int GROUP_CONTENT
static final int LIST_GROUP_CONTENT
static final int TABLE_GROUP_CONTENT
static final int DOCUMENT_EXTENSION
static final int LAYOUT_EXTENSION
int getContentType()
InstanceID getInstanceID()
void setInstanceID(InstanceID id)
id
- java.lang.Object getExtension(int extension)
void setExtension(int extension, java.lang.Object value)
extension
- extension typevalue
- extension valuejava.lang.ArrayIndexOutOfBoundsException
- if index is outof range {0,1}IReportContent getReportContent()
void setReportContent(IReportContent report)
report
- java.lang.String getName()
void setName(java.lang.String name)
java.lang.Object getGenerateBy()
void setGenerateBy(java.lang.Object generateBy)
IStyle getInlineStyle()
void setInlineStyle(IStyle style)
java.lang.Object accept(IContentVisitor visitor, java.lang.Object value) throws BirtException
visitor
- BirtException
java.lang.String getBookmark()
void setBookmark(java.lang.String bookmark)
IHyperlinkAction getHyperlinkAction()
void setHyperlinkAction(IHyperlinkAction hyperlink)
java.lang.String getHelpText()
void setHelpText(java.lang.String help)
DimensionType getHeight()
void setHeight(DimensionType height)
DimensionType getWidth()
void setWidth(DimensionType width)
DimensionType getX()
void setX(DimensionType x)
DimensionType getY()
void setY(DimensionType y)
java.lang.Object getTOC()
void setTOC(java.lang.Object toc)
void writeContent(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
void readContent(java.io.DataInputStream in, java.lang.ClassLoader loader) throws java.io.IOException
java.io.IOException
IContent cloneContent(boolean isDeep)
boolean isRTL()
boolean isDirectionRTL()
java.lang.String getACL()
void setACL(java.lang.String acl)
IBaseResultSet getResultSet()
boolean isLastChild()
void setLastChild(boolean isLastChild)
boolean hasChildren()
void setHasChildren(boolean hasChildren)
java.util.Map<java.lang.String,java.lang.Object> getUserProperties()
void setUserProperties(java.util.Map<java.lang.String,java.lang.Object> values)
java.util.Map<java.lang.String,java.lang.Object> getExtensions()
void setExtensions(java.util.Map<java.lang.String,java.lang.Object> values)
Copyright © 2014 OpenText Corp. All rights reserved.