|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.thin.beans.dataView.ThinDataview | +--oracle.dss.thin.beans.gridView.ThinGridView | +--oracle.dss.thin.beans.table.ThinTable
The table bean class. The table displays data in the form of a relational table.
To display data in this table, call the setDataSource
method of its superclass, or use the table constructor that takes a DataSource
as a parameter. You can use the BI Beans DataSource
bean, or you can supply your own data source. The DataAccess
and DataAccess
interfaces, in the oracle.dss.util package, define the methods and constants that a data source must provide.
You can set attributes on the table to customize its appearance and behavior. In addition, the table has several components, whose attributes you can also set in order to customize the table.
The ThinTable
generates the following events:
BIConstants.DRILL_EVENT
-- generated by drilling on a drillable component of a viewBIConstants.PAGE_EVENT
-- generated by selecting a different page of data to displayBIConstants.INIT_FIND_MEMBER_EVENT
-- generated by the "more..." selection on a page dimension in the paging control. Handled by the FindMember
beanBIConstants.DATADRILL_EVENT
-- generated by clicking on a graphic image in a databody cellBIConstants.HEADERDRILL_EVENT
-- generated by clicking on a graphic image in a header cellBIConstants.GOTO_ROW_EVENT
- generated by navigating to a different rowThe ThinTable
handles the following events:
BIConstants.ROTATE_EVENT
-- generated by the RotateTool
beanBIConstants.DRILL_EVENT
- generated by drilling on a drillable component of a viewBIConstants.PAGE_EVENT
-- generated by selecting a different page of data to displayBIConstants.EXPORT_EVENT
-- generated by the ExportOptions
beanBIConstants.SAVE_EVENT
-- generated by the SaveAs
and SaveConfirmation
beansBIConstants.DATADRILL_EVENT
-- generated by clicking on a graphic image in a databody cellBIConstants.HEADERDRILL_EVENT
-- generated by clicking on a graphic image in a header cellBIConstants.GOTO_ROW_EVENT
- generated by navigating to a different rowFor more information about using the ThinTable, see the "Thin Table" topic in the BI Beans Help system.
DataAccess
, DataDirector
, ThinGridView
Fields inherited from class oracle.dss.thin.beans.gridView.ThinGridView |
DRILLSTATE_DRILLABLE_BIDI, DRILLSTATE_IS_DRILLED_BIDI |
Fields inherited from interface oracle.dss.gridView.GridViewCommon |
ABSOLUTE_COLUMN_SIZING, COLUMN_BANDING, NO_BANDING, NO_COLUMN_SIZING, RELATIVE_COLUMN_SIZING, ROW_BANDING |
Fields inherited from interface oracle.dss.thin.beans.dataView.ThinDataviewCommon |
INLINE_ERROR_MSG, INLINE_INFO_MSG, INLINE_WARNING_MSG |
Fields inherited from interface oracle.dss.thin.beans.ThinBeanUI |
EVENT_HANDLED, EVENT_NOT_HANDLED, EVENT_RESPONSE_DONE |
Constructor Summary | |
ThinTable() Constructor. |
Method Summary | |
GridViewHeader |
getColumnHeader() Retrieves the column header component for this table. |
GridViewDatabody |
getDatabody() Retrieves the databody component for this table. |
PersistableAttributes |
getPersistableAttributes(PersistableAttributes oldAttrs) Retrieves the attributes of this ThinDataview , for searching. |
GridViewHeader |
getRowHeader() Retrieves the row header component for this table. |
TableSizingManager |
getTableSizingManager() Retrieves the sizing manager that this table uses. |
int |
getViewType() Retrieves the type of view that implements this ThinDataviewCommon . |
boolean |
isColumnHeaderVisible() Indicates whether the column header appears in this ThinGridView . |
boolean |
isRowHeaderVisible() Indicates whether the row header appears in this ThinGridView . |
boolean |
readXML(java.io.InputStream stream, int reset) Applies XML to this ThinDataview , from a String . |
void |
resetToDefault(int reset) Resets properties of this ThinDataview to their default values. |
void |
setColumnHeaderVisible(boolean visible) Specifies whether the column header appears in this ThinGridView . |
void |
setLocale(java.util.Locale loc) Specifies the Locale for this ThinDataviewCommon . |
void |
setRowHeaderVisible(boolean visible) Specifies whether the row header appears in this ThinGridView . |
boolean |
setXML(java.lang.String xmlString, int reset) Applies XML to this ThinDataview , from a String . |
boolean |
setXMLAsString(java.lang.String xml) Specifies the XML representation of this ThinTable . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.table.TableCommon |
isIncrementalFetchEnabled, isIncrementalFetchRowVisible |
Methods inherited from interface oracle.dss.gridView.GridViewCommon |
getBanding, getCellMaxHeight, getCellMaxWidth, getCellMinHeight, getCellMinWidth, getHTMLColumnSizing, getHTMLRowBlockSize, getHTMLTableCellPadding, getHTMLTableWidth, getHTMLTextInputSize, setBanding, setDefaultCornerComponentColor, setHTMLColumnSizing, setHTMLRowBlockSize, setHTMLTableCellPadding, setHTMLTableWidth, setHTMLTextInputSize |
Methods inherited from interface oracle.dss.dataView.DataviewCommon |
getDataSource, getErrorHandler, getHTMLPagingControlWidth, getLocale, getModel, isHTMLPagingControlAutosubmit, setDataSource, setHTMLPagingControlAutosubmit, setHTMLPagingControlWidth |
Methods inherited from interface oracle.dss.rules.ComponentTypeConverter |
convertComponentTypeToInteger, convertComponentTypeToString |
Constructor Detail |
public ThinTable()
Method Detail |
public TableSizingManager getTableSizingManager()
public void setLocale(java.util.Locale loc)
ThinDataviewCommon
Locale
for this ThinDataviewCommon
.setLocale
in class ThinGridView
oracle.dss.thin.beans.dataView.ThinDataviewCommon
loc
- The Locale
for this ThinDataviewCommon
.public GridViewDatabody getDatabody()
getDatabody
in class ThinGridView
TableDatabody
public boolean isColumnHeaderVisible()
ThinGridView
ThinGridView
.isColumnHeaderVisible
in class ThinGridView
oracle.dss.thin.beans.gridView.ThinGridView
true
if the column header appears, false
if it does not.public void setColumnHeaderVisible(boolean visible)
ThinGridView
ThinGridView
.setColumnHeaderVisible
in class ThinGridView
oracle.dss.thin.beans.gridView.ThinGridView
visible
- true
to display the column header, false
to hide it.public boolean isRowHeaderVisible()
ThinGridView
ThinGridView
.isRowHeaderVisible
in class ThinGridView
oracle.dss.thin.beans.gridView.ThinGridView
true
if the row header appears, false
if it does not.public void setRowHeaderVisible(boolean visible)
ThinGridView
ThinGridView
.setRowHeaderVisible
in class ThinGridView
oracle.dss.thin.beans.gridView.ThinGridView
visible
- true
to display the row header, false
to hide it.public GridViewHeader getColumnHeader()
getColumnHeader
in class ThinGridView
ColHeader
public GridViewHeader getRowHeader()
getRowHeader
in class ThinGridView
RowHeader
public int getViewType()
ThinDataviewCommon
ThinDataviewCommon
.getViewType
in class ThinDataview
oracle.dss.thin.beans.dataView.ThinDataviewCommon
Dataview.VIEW_TYPE_CROSSTAB
, Dataview.VIEW_TYPE_GRAPH
, Dataview.VIEW_TYPE_TABLE
public boolean setXML(java.lang.String xmlString, int reset) throws BIIOException, BISAXException, BIParseException
ThinDataview
ThinDataview
, from a String
. This method reads the XML from xmlString
and applies its attribute settings to this ThinDataview
. The reset
parameter determines how much of the ThinDataview
to reset before applying XML. In general, you can:
ThinDataview
without resetting anything to default valuesThinDataview
Resetting returns property values in the ThinDataview
to the default values for the version that is specified in the XML.
setXML
in class ThinDataview
oracle.dss.thin.beans.dataView.ThinDataview
xmlString
- The XML to apply to this ThinDataview
.reset
- A constant that indicates how much and how far to reset the view before applying XML. Valid constants appear in the See Also section. If you pass an invalid constant, then this method logs a message with the error handler and does not reset any property values.true
if the XML is successfully applied to this ThinDataview
, false
if an IO exception occurs.BIIOException
- If an error occurs in reading xmlString
.BISAXException
- If a general SAX exception occurs in parsing the XML.BIParseException
- If the XML syntax is not correct, or if the XML is not valid according to the DTD that is specified in the XML.Dataview.RESET_NONE
, Dataview.RESET_XML_PROPERTIES
, Dataview.RESET_EVERYTHING
public boolean readXML(java.io.InputStream stream, int reset) throws BIIOException, BISAXException, BIParseException
ThinDataview
ThinDataview
, from a String
. This method reads the XML from xmlString
and applies its attribute settings to this ThinDataview
. The reset
parameter determines how much of the ThinDataview
to reset before applying XML. In general, you can:
ThinDataview
without resetting anything to default valuesThinDataview
Resetting returns property values in the ThinDataview
to the default values for the version that is specified in the XML.
readXML
in class ThinDataview
oracle.dss.thin.beans.dataView.ThinDataview
stream
- The XML to apply to this ThinDataview
.reset
- A constant that indicates how much and how far to reset the view before applying XML. Valid constants appear in the See Also section. If you pass an invalid constant, then this method logs a message with the error handler and does not reset any property values.true
if the XML is successfully applied to this ThinDataview
, false
if an IO exception occurs.BIIOException
- If an error occurs in reading xmlString
.BISAXException
- If a general SAX exception occurs in parsing the XML.BIParseException
- If the XML syntax is not correct, or if the XML is not valid according to the DTD that is specified in the XML.Dataview.RESET_NONE
, Dataview.RESET_XML_PROPERTIES
, Dataview.RESET_EVERYTHING
public void resetToDefault(int reset)
ThinDataview
ThinDataview
to their default values. The reset
parameter determines whether to reset only the properties or to reset the properties and remove registered listeners and callbacks.
When reset
is RESET_EVERYTHING
, then this method removes event targets as well.
This method is helpful when you want to reuse a ThinDataview
rather than instantiate a new one.
resetToDefault
in class ThinGridView
oracle.dss.thin.beans.dataView.ThinDataview
reset
- A constant that indicates how much to reset. Valid constants are listed in the See Also section. If you pass an invalid value or RESET_NONE, then this method logs a message with the error handler and does not change any properties.Dataview.RESET_XML_PROPERTIES
, Dataview.RESET_EVERYTHING
public boolean setXMLAsString(java.lang.String xml) throws BIPersistenceException
ThinTable
. The persistence service calls this method when the view is restored from the BI Beans Catalog. This method does not reset any properties before applying the XML to this ThinTable
.
Application developers should not call this method. To load XML from a file, call setXML
or readXML
.
setXMLAsString
in class ThinDataview
xml
- The XML representation of the view.true
if the XML was successfully set, false
if not.BIPersistenceException
- If a problem occurs in setting the XML.readXML(java.io.InputStream, int)
, setXML(java.lang.String, int)
public PersistableAttributes getPersistableAttributes(PersistableAttributes oldAttrs)
ThinDataview
ThinDataview
, for searching. This method adds the attributes that this ThinDataview
defines to the attributes that the application has specified. The attributes are used by the persistence service, when users search the repository for components that have particular attribute values.getPersistableAttributes
in class ThinDataview
oracle.dss.thin.beans.dataView.ThinDataview
attrs
- The searchable attributes that the application has specified for this ThinDataview
.PersistableAttributes
that includes the application specified attributes as well as the attributes that are specific to this ThinDataview
.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |