|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SectionElement
A section is composed of a header, footer, and section content. Section content may be a simple band, or nested with header and footer. A section is normally used to present a table or grouping. Section band is repeated for each table row.
Since each element in a section band is positioned at a fixed location, section can also be used as a container. This may be useful for reports or section of reports where elements positions must be accurately controlled.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.ReportElement |
|---|
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH |
| Method Summary | |
|---|---|
void |
addFormat(Class type,
Format format)
Add a format to a data type. |
void |
addPresenter(Class type,
Presenter presenter)
Add a presenter to a data type. |
ReportElement |
getElement(String id)
Find an element in the section with the specified ID. |
ReportElement[] |
getElements()
Find all elements in the section. |
Format |
getFormat(Class type)
Get the format object registered for this class or one of it's super classes. |
Presenter |
getPresenter(Class type)
Get the presenter object registered for this class or one of it's super classes. |
ReportSheet |
getReport()
Find the report. |
SectionLens |
getSection()
Get the section lens. |
TableLens |
getTable()
Get the table lens. |
boolean |
isAdhocEnabled()
Check if adhoc query is enabled on this element. |
void |
setAdhocEnabled(boolean enabled)
Set whether adhoc query is enabled on this element. |
void |
setSection(SectionLens section)
Set the section lens. |
void |
setTable(TableLens table)
Set the table lens. |
| Methods inherited from interface inetsoft.report.ReportElement |
|---|
clone, getAlignment, getBackground, getCSSClass, getFont, getForeground, getFullName, getID, getIndent, getOnClick, getPreferredSize, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getType, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setBackground, setContext, setCSSClass, setFont, setForeground, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible |
| Method Detail |
|---|
SectionLens getSection()
void setSection(SectionLens section)
TableLens getTable()
void setTable(TableLens table)
ReportElement getElement(String id)
id - element id.ReportElement[] getElements()
ReportSheet getReport()
Presenter getPresenter(Class type)
type - class to search for.
void addPresenter(Class type,
Presenter presenter)
type - data type the presenter is for.presenter - presenter for the data type.Format getFormat(Class type)
type - class to search for.
void addFormat(Class type,
Format format)
type - data type the format is for.format - format for the data type.boolean isAdhocEnabled()
void setAdhocEnabled(boolean enabled)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||