|
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.crosstab.ThinCrosstab
The crosstab bean class. The crosstab displays data in a tabular form, for analysis. The data is arranged in rows, columns, and pages. You can easily rearrange the data to see its different aspects.
To display data in this crosstab, call its setDataSource method, or use the 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 properties on the crosstab to customize its appearance and behavior. In addition, the crosstab has several components, whose properties you can also set in order to customize the crosstab.
The ThinCrosstab 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.NEXT_COLS_EVENT -- generated by the crosstab's column navigation controlBIConstants.PREVIOUS_COLS_EVENT -- generated by the crosstab's column navigation controlBIConstants.NEXT_ROWS_EVENT -- generated by the crosstab's row navigation controlBIConstants.PREVIOUS_ROWS_EVENT -- generated by the crosstab's row navigation controlThe ThinCrosstab 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.NEXT_COLS_EVENT -- generated by the crosstab's column navigation controlBIConstants.PREVIOUS_COLS_EVENT -- generated by the crosstab's column navigation controlBIConstants.NEXT_ROWS_EVENT -- generated by the crosstab's row navigation controlBIConstants.PREVIOUS_ROWS_EVENT -- generated by the crosstab's row navigation controlFor more information about using the ThinCrosstab, see the "Thin Crosstab" 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 | |
ThinCrosstab()Constructor. | |
| Method Summary | |
int |
getAutoIndent()Retrieves the number of spaces that row labels of different levels are indented. |
GridViewHeader |
getColumnHeader()Retrieves the column header for this ThinGridView. |
int |
getColumnNavigationScanExtent()Get the column navigation control scan extent. |
CrosstabModel |
getCrosstabModel()Retrieves the model that this crosstab uses. |
CrosstabSizingManager |
getCrosstabSizingManager()Retrieves the sizing manager that this crosstab uses. |
GridViewDatabody |
getDatabody()Retrieves the databody for this ThinGridView. |
PersistableAttributes |
getPersistableAttributes(PersistableAttributes oldAttrs)Retrieves the attributes of this ThinDataview, for searching. |
GridViewHeader |
getRowHeader()Retrieves the row header for this ThinGridView. |
int |
getRowNavigationScanExtent()Get the row navigation control scan extent. |
int |
getViewType()Retrieves the type of view that implements this ThinDataviewCommon. |
boolean |
isColumnHeaderVisible()Indicates whether the column header appears in this ThinGridView. |
boolean |
isIndentEnabled()Indicates whether row labels are indented. |
boolean |
isOutline()Indicates whether the row header is displayed in outline form. |
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 |
setAutoIndent(int i)Specifies how much to indent row labels for each level in a hierarchy. |
void |
setColumnHeaderVisible(boolean visible)Specifies whether the column header appears in this ThinGridView. |
void |
setColumnNavigationScanExtent(int extent)Set the column navigation control scan extent. |
void |
setIndentEnabled(boolean b)Specifies whether to indent the labels in the row header. |
void |
setLocale(java.util.Locale loc)Specifies the Locale for this ThinDataviewCommon. |
void |
setOutline(boolean b)Specifies whether the row header is displayed in outline form. |
void |
setRowHeaderVisible(boolean visible)Specifies whether the row header appears in this ThinGridView. |
void |
setRowNavigationScanExtent(int extent)Set the row navigation control scan extent. |
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 ThinCrosstab. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.dss.gridView.GridViewCommon |
getCellMaxHeight, getCellMinHeight, setDefaultCornerComponentColor |
| 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 ThinCrosstab()
setDataSource method to specify the data that this crosstab displays.| Method Detail |
public CrosstabSizingManager getCrosstabSizingManager()
public CrosstabModel getCrosstabModel()
DataSource is the "big" model. The model that this method returns interacts with the DataSource, retrieving data and having the data formatted so that the view can display it.CrosstabModel that this crosstab uses.public void setLocale(java.util.Locale loc)
ThinDataviewCommonLocale for this ThinDataviewCommon.setLocale in class ThinGridVieworacle.dss.thin.beans.dataView.ThinDataviewCommonloc - The Locale for this ThinDataviewCommon.public GridViewDatabody getDatabody()
ThinGridViewThinGridView.getDatabody in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewThinGridView.public GridViewHeader getColumnHeader()
ThinGridViewThinGridView.getColumnHeader in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewThinGridView.public GridViewHeader getRowHeader()
ThinGridViewThinGridView.getRowHeader in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewThinGridView.public void setIndentEnabled(boolean b)
b - true to indent labels, false to align all the labels.public boolean isIndentEnabled()
true if row labels are indented, false if they are all aligned.public void setAutoIndent(int i)
i - The number of spaces to indent each level.public int getAutoIndent()
public void setOutline(boolean b)
When the row header is not in outline form, each dimension, and each level in a dimension, appears in a different column.
b - true to use outline form for the row header, false to use multiple columns.public boolean isOutline()
When the row header is not in outline form, each dimension, and each level in a dimension, appears in a different column.
true if the row header appears in outline form, false if the row header uses multiple columns for labels.public void setRowNavigationScanExtent(int extent)
extent - the scan extentpublic int getRowNavigationScanExtent()
public void setColumnNavigationScanExtent(int extent)
extent - the scan extentpublic int getColumnNavigationScanExtent()
public boolean setXMLAsString(java.lang.String xml)
throws BIPersistenceException
ThinCrosstab. 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 ThinCrosstab.
Application developers should not call this method. To load XML from a file, call setXML or readXML.
setXMLAsString in class ThinDataviewxml - 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.ThinDataview.readXML(java.io.InputStream, int), setXML(java.lang.String, int)public PersistableAttributes getPersistableAttributes(PersistableAttributes oldAttrs)
ThinDataviewThinDataview, 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 ThinDatavieworacle.dss.thin.beans.dataView.ThinDataviewattrs - 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.public int getViewType()
ThinDataviewCommonThinDataviewCommon.getViewType in class ThinDatavieworacle.dss.thin.beans.dataView.ThinDataviewCommonDataview.VIEW_TYPE_CROSSTAB, Dataview.VIEW_TYPE_GRAPH, Dataview.VIEW_TYPE_TABLE
public boolean setXML(java.lang.String xmlString,
int reset)
throws BIIOException,
BISAXException,
BIParseException
ThinDataviewThinDataview, 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 valuesThinDataviewResetting returns property values in the ThinDataview to the default values for the version that is specified in the XML.
setXML in class ThinDatavieworacle.dss.thin.beans.dataView.ThinDataviewxmlString - 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
ThinDataviewThinDataview, 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 valuesThinDataviewResetting returns property values in the ThinDataview to the default values for the version that is specified in the XML.
readXML in class ThinDatavieworacle.dss.thin.beans.dataView.ThinDataviewstream - 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_EVERYTHINGpublic void resetToDefault(int reset)
ThinDataviewThinDataview 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 ThinGridVieworacle.dss.thin.beans.dataView.ThinDataviewreset - 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_EVERYTHINGpublic boolean isColumnHeaderVisible()
ThinGridViewThinGridView.isColumnHeaderVisible in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewtrue if the column header appears, false if it does not.public void setColumnHeaderVisible(boolean visible)
ThinGridViewThinGridView.setColumnHeaderVisible in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewvisible - true to display the column header, false to hide it.public boolean isRowHeaderVisible()
ThinGridViewThinGridView.isRowHeaderVisible in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewtrue if the row header appears, false if it does not.public void setRowHeaderVisible(boolean visible)
ThinGridViewThinGridView.setRowHeaderVisible in class ThinGridVieworacle.dss.thin.beans.gridView.ThinGridViewvisible - true to display the row header, false to hide it.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||