Interface ITableContent
- All Superinterfaces:
org.eclipse.birt.report.engine.css.engine.CSSStylableElement
,IContainerContent
,IContent
,IElement
,IStyledElement
Provides the interfaces for the Table Content
-
Field Summary
Fields 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 TypeMethodDescriptionvoid
Add the columnGet the captionGet the caption keygetColumn
(int index) Get the column based on indexint
Get the column countGet the table columnsGet the footer band, return null if the table has no footerGet the header band, return null if the table has no headerGet the summaryboolean
Is header repeatedvoid
setCaption
(String caption) Set the captionvoid
setCaptionKey
(String key) Set the caption keyvoid
setHeaderRepeat
(boolean repeat) Set the repeat of the headervoid
setSummary
(String summary) Set the summaryMethods 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, getAltText, getAltTextKey, getBookmark, getContentType, getExtension, getExtensions, getGenerateBy, getHeight, getHelpText, getHyperlinkAction, getInlineStyle, getInstanceID, getName, getReportContent, getResultSet, getTOC, getUserProperties, getWidth, getX, getY, hasChildren, isDirectionRTL, isLastChild, isRTL, readContent, setACL, setAltText, setAltTextKey, setBookmark, setExtension, setExtensions, setGenerateBy, setHasChildren, setHeight, setHelpText, setHyperlinkAction, setInlineStyle, setInstanceID, setLastChild, setName, setReportContent, 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
-
Method Details
-
getColumnCount
int getColumnCount()Get the column count- Returns:
- the column count
-
getColumn
Get the column based on index- Parameters:
index
- column index- Returns:
- the column
-
addColumn
Add the column- Parameters:
column
- column
-
getCaption
String getCaption()Get the caption- Returns:
- the caption
-
setCaption
Set the caption- Parameters:
caption
-
-
getCaptionKey
String getCaptionKey()Get the caption key- Returns:
- the caption key
-
setCaptionKey
Set the caption key- Parameters:
key
- caption key
-
isHeaderRepeat
boolean isHeaderRepeat()Is header repeated- Returns:
- is header repeated
-
setHeaderRepeat
void setHeaderRepeat(boolean repeat) Set the repeat of the header- Parameters:
repeat
- header repeated
-
getHeader
ITableBandContent getHeader()Get the header band, return null if the table has no header- Returns:
- the header band, return null if the table has no header
-
getColumns
List getColumns()Get the table columns- Returns:
- the table columns
-
setSummary
Set the summary- Parameters:
summary
-
-
getSummary
String getSummary()Get the summary- Returns:
- the summary
-