|
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
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--oracle.dss.dataView.Dataview
|
+--oracle.dss.gridView.GridView
|
+--oracle.dss.crosstab.Crosstab
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.
DataAccess, DataDirector, Serialized Form| Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Field Summary | |
static int |
COL_GRABBERThe grabber for a column header. |
static int |
COL_HIGHLIGHTERA column highlighter. |
static int |
CROSSTABThis crosstab. |
static int |
NO_REORDERDo not allow any reordering by direct manipulation. |
static int |
REORDER_ALL_DIMENSIONSAllow reordering of any dimension members. |
static int |
REORDER_MEASURE_DIMENSIONAllow reordering of the measure dimension members only. |
static int |
ROW_GRABBERThe grabber for a row header. |
static int |
ROW_HIGHLIGHTERA row highlighter. |
| Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| 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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
Crosstab()Constructor. | |
| Method Summary | |
void |
autoFit()Calculates sizes for rows and columns in this Crosstab. |
int |
getAutoIndent()Retrieves the number of spaces that row labels of different levels are indented. |
GridViewHeader |
getColumnHeader()Retrieves the column header component for this crosstab. |
int |
getColumnHeaderRowHeight(int index)Retrieves the height of a row in the column header. |
java.awt.Component |
getCornerComponent()Retrieves the corner component for this crosstab. |
java.awt.Color |
getCornerComponentColor()Retrieves the background color of the corner component. |
CrosstabController |
getCrosstabController()Retrieves the controller for this crosstab. |
CrosstabModel |
getCrosstabModel()Retrieves the model that this crosstab uses. |
CrosstabSizingManager |
getCrosstabSizingManager()Retrieves the sizing manager that this crosstab uses. |
GridViewDatabody |
getDatabody()Retrieves the databody component for this crosstab. |
GridViewSelectionManager |
getGridViewSelectionManager()Retrieves the selection manager that this crosstab uses. |
int |
getHighlighterSize()Retrieves the size of the highlighters, in pixels. |
int |
getReorderType()Indicates the amount of reordering by direct manipulation that is allowed in this crosstab. |
GridViewHeader |
getRowHeader()Retrieves the row header component for this crosstab. |
int |
getRowHeaderColumnWidth(int index)Retrieves the width of a column in the row header. |
int |
getStartColumn()Retrieves the index of the first column that this crosstab displays. |
int |
getStartRow()Retrieves the index of the first row that this crosstab displays. |
int |
getViewType()Retrieves the type of this view. |
boolean |
isBodyHighlighterVisible()Indicates whether the body highlighter appears in this crosstab. |
boolean |
isColumnHeaderVisible()Indicates whether the column header appears in this crosstab. |
boolean |
isColumnHighlighterVisible()Indicates whether column highlighters appear in this crosstab. |
boolean |
isColumnVisible(int col)Indicates whether a column is visible. |
boolean |
isHGridVisible()Indicates whether horizontal gridlines are visible in this crosstab. |
boolean |
isIndentEnabled()Indicates whether row labels are indented. |
boolean |
isManualColumnHeaderRowSizingEnabled()Indicates whether users can manually resize column header rows. |
boolean |
isManualRowHeaderColumnSizingEnabled()Indicates whether users can manually resize row header columns. |
boolean |
isOutline()Indicates whether the row header is displayed in outline form. |
boolean |
isPivotLabelVisible()Indicates whether dimension names appear on the grabbers. |
boolean |
isRowHeaderVisible()Indicates whether the row header appears in this crosstab. |
boolean |
isRowHighlighterVisible()Indicates whether row highlighters appear in this crosstab. |
boolean |
isRowVisible(int row)Indicates whether a row is visible. |
boolean |
isSwapMembersAllowed()Indicates whether swapping layer members by direct manipulation is allowed in this crosstab. |
boolean |
isVGridVisible()Specifies whether vertical gridlines are visible in this crosstab. |
boolean |
readXML(java.io.InputStream stream, boolean reset)Deprecated. As of 1.7.0.12, replaced by readXML(InputStream, int) |
boolean |
readXML(java.io.InputStream stream, int reset)Applies XML to this Crosstab, from a String. |
void |
resetToDefault(int reset)Resets properties of this Crosstab to their default values. |
boolean |
selectObject(ComponentHandle id)Selects a component or part of a component in this crosstab. |
void |
setAutoIndent(int i)Specifies how much to indent row labels for each level in a hierarchy. |
void |
setBackgroundImage(java.awt.Image image)Specifies an image to display in the databody for this crosstab. |
void |
setBodyHighlighterVisible(boolean b)Specifies whether the body highlighter appears in this crosstab. |
void |
setCellEditingAllowed(boolean b)Specifies whether any cells in this crosstab can be edited by a user. |
void |
setColumnHeaderRowHeight(int index, int height)Specifies the height of a row in the column header. |
void |
setColumnHeaderVisible(boolean visible)Specifies whether the column header appears in this crosstab. |
void |
setColumnHighlighterVisible(boolean b)Specifies whether column highlighters appear in this crosstab. |
void |
setColumnVisible(int column, boolean visible)Specifies whether a column appears. |
void |
setColumnWidth(int index, int width)Specifies the width of a column in the databody. |
void |
setCornerComponent(java.awt.Component c)Specifies a component to display in the upper left hand corner of the crosstab. |
void |
setCornerComponentColor(java.awt.Color c)Specifies a background color for the corner component. |
void |
setDefaultCornerComponentColor(java.awt.Color c)Specifies a default background color for the corner component. |
void |
setHGridVisible(boolean b)Specifies whether horizontal gridlines appear in this crosstab. |
void |
setHighlighterSize(int s)Specifies the size of the highlighters, in pixels. |
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 Dataview. |
void |
setManualColumnHeaderRowSizingEnabled(boolean bEnabled)Specifies whether users can manually resize column header rows. |
void |
setManualColumnSizingEnabled(boolean bEnabled)Specifies whether users can manually resize columns in the databody. |
void |
setManualRowHeaderColumnSizingEnabled(boolean bEnabled)Specifies whether users can manually resize row header columns. |
void |
setManualRowSizingEnabled(boolean bEnabled)Specifies whether users can manually resize rows in the databody. |
void |
setOutline(boolean b)Specifies whether the row header is displayed in outline form. |
void |
setPivotLabelVisible(boolean visible)Specifies whether the names of dimensions appear in the grabbers. |
void |
setReorderType(int type)Specifies whether the order of the dimension members can be changed by direct manipulation in this crosstab. |
void |
setRowHeaderColumnWidth(int index, int width)Specifies the width of a column in the row header. |
void |
setRowHeaderVisible(boolean visible)Specifies whether the row header appears in this crosstab. |
void |
setRowHeight(int index, int height)Specifies the height of a row in the databody. |
void |
setRowHighlighterVisible(boolean b)Specifies whether row highlighters appear in this crosstab. |
void |
setRowVisible(int row, boolean visible)Specifies whether a row appears. |
void |
setStartColumn(int c)Specifies the first column of data for this crosstab to display. |
void |
setStartRow(int r)Specifies the first row of data to display in this crosstab. |
void |
setSwapMembersAllowed(boolean swap)Specifies whether layer members can be swapped by direct manipulation. |
void |
setVGridVisible(boolean b)Specifies whether vertical gridlines appear in this crosstab. |
boolean |
setXML(java.lang.String xmlString, boolean reset)Deprecated. As of 1.7.0.12, replaced by setXML(String, int) |
boolean |
setXML(java.lang.String xmlString, int reset)Applies XML to this Crosstab, from a String. |
boolean |
setXMLAsString(java.lang.String xml)Specifies the XML representation of this Crosstab. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocation, getLocationOnScreen, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.dss.dataView.GridViewAttribute |
applyViewFormat, applyViewStyle, getComponentViewFormat, getComponentViewStyle |
| Methods inherited from interface oracle.dss.gridView.UIGridView |
dataAndMetadataStyleChanged, getAutoFitScope, getBackgroundImage, getGridColor, getGridViewDatabodyStyleManager, getGridViewFormatManager, getGridViewHeaderStyleManager, getHGridColor, getLocale, getModel, getPagingControl, getToolbarUIFormatCount, getUIFormatCount, getUIFormats, getVGridColor, isGrid3D, setAutoFitScope, setGrid3D, setGridColor, setHGridColor, setToolbarUIFormatCount, setUIFormatCount, setUIFormats, setVGridColor |
| Methods inherited from interface oracle.dss.gridView.GridViewCommon |
getBanding, getCellMaxHeight, getCellMaxWidth, getCellMinHeight, getCellMinWidth, getHTMLColumnSizing, getHTMLRowBlockSize, getHTMLTableCellPadding, getHTMLTableWidth, getHTMLTextInputSize, setBanding, setHTMLColumnSizing, setHTMLRowBlockSize, setHTMLTableCellPadding, setHTMLTableWidth, setHTMLTextInputSize |
| Methods inherited from interface oracle.dss.dataView.DataviewCommon |
getDataSource, getErrorHandler, getHTMLPagingControlWidth, isHTMLPagingControlAutosubmit, setDataSource, setHTMLPagingControlAutosubmit, setHTMLPagingControlWidth |
| Methods inherited from interface oracle.dss.rules.ComponentTypeConverter |
convertComponentTypeToInteger, convertComponentTypeToString |
| Methods inherited from interface oracle.dss.dataView.UIDataview |
addControllerListener, getDataviewFootnote, getDataviewSubtitle, getDataviewTitle, getSelectedObject, getTokenSubstitution, removeControllerListener, setTokenSubstitution |
| Methods inherited from interface oracle.dss.util.PagingControlAttributes |
isPagingControlVisible, setPagingControlVisible |
| Methods inherited from interface oracle.dss.util.persistence.Persistable |
initialize, setPersistableComponents |
| Field Detail |
public static final int CROSSTAB
public static final int ROW_HIGHLIGHTER
public static final int COL_HIGHLIGHTER
public static final int ROW_GRABBER
public static final int COL_GRABBER
public static final int NO_REORDER
setReorderType(int)public static final int REORDER_MEASURE_DIMENSION
setReorderType(int)public static final int REORDER_ALL_DIMENSIONS
setReorderType(int)| Constructor Detail |
public Crosstab()
setDataSource method to specify the data that this crosstab displays.| Method Detail |
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 CrosstabController getCrosstabController()
CrosstabController for this crosstab.public GridViewSelectionManager getGridViewSelectionManager()
GridViewSelectionManager also manages whether a cell can be edited by a user.getGridViewSelectionManager in class GridViewpublic CrosstabSizingManager getCrosstabSizingManager()
public void setLocale(java.util.Locale loc)
DataviewLocale for this Dataview.setLocale in class GridVieworacle.dss.dataView.Dataviewloc - The Locale for this Dataview.public boolean selectObject(ComponentHandle id)
selectObject in class Dataviewid - The ComponentHandle that represents the component that you want to select.true if the component is successfully selected, false if id has a structural problem. For example, this method returns false if id is a RowComponentHandle that seems to represent a column instead of a row.public void setStartRow(int r)
setStartRow in class GridViewr - The index of the first row to display. Row indexes begin at zero. If r is less than zero or greater than the number of rows in the Crosstab, then this method logs a message with the error handler, and StartRow keeps its previous value.public int getStartRow()
getStartRow in class GridViewpublic void setStartColumn(int c)
setStartColumn in class GridViewc - The index of the first column to display. If c is less than zero or greater than the number of columns in the Crosstab, then this method logs a message with the error handler, and StartColumn keeps its previous value.public int getStartColumn()
getStartColumn in class GridViewpublic void setHGridVisible(boolean b)
setHGridVisible in interface UIGridViewsetHGridVisible in class GridViewb - true to display horizontal gridlines, false to hide them.public boolean isHGridVisible()
isHGridVisible in interface UIGridViewisHGridVisible in class GridViewtrue horizontal gridlines are visible, false if they are not visible.public void setVGridVisible(boolean b)
setVGridVisible in interface UIGridViewsetVGridVisible in class GridViewb - true to display vertical gridlines, false to hide them.public boolean isVGridVisible()
isVGridVisible in interface UIGridViewisVGridVisible in class GridViewtrue if vertical gridlines are visible, false if they are not visible.public void setCellEditingAllowed(boolean b)
setCellEditingAllowed in class GridViewb - true to allow users to edit cells, false to prevent any cell editing.public GridViewDatabody getDatabody()
getDatabody in interface UIGridViewgetDatabody in class GridViewCrosstabDatabodypublic GridViewHeader getColumnHeader()
getColumnHeader in interface UIGridViewgetColumnHeader in class GridViewColPivotHeaderpublic GridViewHeader getRowHeader()
getRowHeader in interface UIGridViewgetRowHeader in class GridViewRowPivotHeaderpublic void setColumnHeaderVisible(boolean visible)
setColumnHeaderVisible in interface UIGridViewsetColumnHeaderVisible in class GridViewvisible - true to display the column header, false to hide it.public boolean isColumnHeaderVisible()
isColumnHeaderVisible in interface UIGridViewisColumnHeaderVisible in class GridViewtrue if the column header appears, false if it does not.public void setRowHeaderVisible(boolean visible)
setRowHeaderVisible in interface UIGridViewsetRowHeaderVisible in class GridViewvisible - true to display the row header, false to hide it.public boolean isRowHeaderVisible()
isRowHeaderVisible in interface UIGridViewisRowHeaderVisible in class GridViewtrue if the row header appears, false if it does not.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 setBodyHighlighterVisible(boolean b)
b - true to display the body highlighter, false to hide it.public boolean isBodyHighlighterVisible()
true if body higlighter appears in this crosstab, false if it does not.public void setColumnHighlighterVisible(boolean b)
b - true to display column highlighters, false to hide them.public boolean isColumnHighlighterVisible()
true if column higlighters appear in this crosstab, false if they do not.public void setRowHighlighterVisible(boolean b)
b - true to display row highlighers, false to hide them.public boolean isRowHighlighterVisible()
true if row higlighters appear in this crosstab, false if they do not.public void setHighlighterSize(int s)
s - The size for the highlighters, in pixels.public int getHighlighterSize()
public void setCornerComponent(java.awt.Component c)
c - The component to display.public java.awt.Component getCornerComponent()
public void setBackgroundImage(java.awt.Image image)
null. To make all the cells in the databody transparent, set the Background property in the ViewStyle for the databody. To make individual cells transparent, create rules and set them in the style manager for this crosstab.setBackgroundImage in interface UIGridViewsetBackgroundImage in class GridViewimage - The background image.CrosstabDatabody.getViewStyle(), ViewStyle, DiscriminatorRulepublic void setCornerComponentColor(java.awt.Color c)
setCornerComponentColor in class GridViewc - The background color to use for the corner component.public java.awt.Color getCornerComponentColor()
getCornerComponentColor in class GridViewpublic void setDefaultCornerComponentColor(java.awt.Color c)
The GridView.applyCSSStyleDefaults method calls this method to set the new default value. Application developers do not need to call this method directly.
setDefaultCornerComponentColor in interface GridViewCommonsetDefaultCornerComponentColor in class GridViewc - The color to set as the new default background color for the corner component.GridView.applyCSSStyleDefaults(oracle.dss.gridView.GridViewCommon, oracle.dss.dataView.CSSStyleDefaults)
public void setColumnWidth(int index,
int width)
setColumnWidth in class GridViewindex - The column whose width you want to set. Column numbers begin at zero.width - The width to set the column, in pixels.
public void setRowHeaderColumnWidth(int index,
int width)
index - The column whose width you want to set. Column numbers begin at zero.width - The width to set the column, in pixels.public int getRowHeaderColumnWidth(int index)
index - The column whose width you want to retrieve. Column numbers begin at zero.
public void setRowHeight(int index,
int height)
setRowHeight in class GridViewindex - The row whose height you want to set. Row numbers begin at zero.height - The height to set the row, in pixels.
public void setColumnHeaderRowHeight(int index,
int height)
index - The row whose height you want to set. Row numbers begin at zero.height - The height to set the row, in pixels.public int getColumnHeaderRowHeight(int index)
index - The row whose height you want to retrieve. Row numbers begin at zero.public void autoFit()
Crosstab. This method can calculate the heights of rows, the widths of columns, the width of the row headers, the heights of column headers, or a combination of all of these, depending on the value of the AutoFitScope property.
Calculated sizes are checked against the minimum and maximum cell sizes. If the calculated sizes are not within that range, then the calculated size is changed to be within the minimum and maximum sizes.
This method sets the calculated sizes on the CrosstabSizingManager and then resizes the Crosstab through the sizing manager. The only exception is column widths, for which this method sets the default column width on the CrosstabSizingManager, instead of the calculated column widths, because columns are sized by measure, not individually. If the CrosstabSizingManager is null, then this method does nothing. The average calculated row height is set on the CrosstabSizingManager as the default row height. This is to minimize the difference between heights of rows that have not been calculated yet and the heights of those rows once they are calculated.
The range of rows used for autofitting is determined by the AutoFitRowRangeCallback, if one is set, or if not, by the value of the AutoFitRowCount. If the first row in the range is greater than the last row, this method logs a message with the error handler and then returns.
If there are no sizes to be calculated, for instance if AutoFitScope is set to AUTOFIT_SCOPE_NONE, then this method does nothing.
autoFit in class GridViewCrosstabSizingManager, AutoFitRowRangeCallback, GridView.setAutoFitScope(int), GridView.setCellMaxHeight(int), GridView.setCellMinHeight(int), GridView.setCellMaxWidth(int), GridView.setCellMinWidth(int)
public void setColumnVisible(int column,
boolean visible)
setColumnVisible in class GridViewcolumn - The column to hide or to reveal. Column numbers begin at zero.visible - true to show the column, false to hide it.
public void setRowVisible(int row,
boolean visible)
setRowVisible in class GridViewrow - The row to hide or to reveal. Row numbers begin at zero.visible - true to show the row, false to hide it.public boolean isRowVisible(int row)
isRowVisible in class GridViewrow - The row to check. Row numbers begin with zero.true if the row is visible, false if it is not.public boolean isColumnVisible(int col)
isColumnVisible in class GridViewcol - The column to check. Column numbers begin at zero.true if the column is visible, false if it is not.public void setPivotLabelVisible(boolean visible)
visible - true to display dimension names, false to prevent their display.public boolean isPivotLabelVisible()
true if dimension names are visible, false if they are not.public void setReorderType(int type)
type - A constant that represents the level of reordering to allow. Constants have "REORDER" in them.public int getReorderType()
public void setSwapMembersAllowed(boolean swap)
ReorderType property allows reording, then setting SwapMembersAllowed allows users to swap members with fewer mouse motions.swap - true to allow swapping, false to prevent swapping.setReorderType(int)public boolean isSwapMembersAllowed()
true if swapping members is allowed, false if it is not.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.
setOutline in interface CrosstabAttributeb - 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.
isOutline in interface CrosstabAttributetrue if the row header appears in outline form, false if the row header uses multiple columns for labels.public void setManualRowSizingEnabled(boolean bEnabled)
setManualRowSizingEnabled in class GridViewbEnabled - true to allow users to use the mouse to resize rows, false to prevent them from doing so.setManualColumnHeaderRowSizingEnabled(boolean)public void setManualColumnSizingEnabled(boolean bEnabled)
setManualColumnSizingEnabled in class GridViewbEnabled - true to allow users to use the mouse to resize columns, false to prevent them from doing so.setManualRowHeaderColumnSizingEnabled(boolean)public void setManualRowHeaderColumnSizingEnabled(boolean bEnabled)
true to this method, you allow users to use the mouse to change the width of the columns in the row header. The row header labels rows.bEnabled - true to allow users to resize the columns in the row header, false to prevent them from doing so.public boolean isManualRowHeaderColumnSizingEnabled()
true, then users can use the mouse to change the width of the columns in the row header. The row header labels rows.true if users can manually resize row header columns, false if they cannot.public void setManualColumnHeaderRowSizingEnabled(boolean bEnabled)
true to this method, you allow users to use the mouse to change the height of the rows in the column header. The column header labels columns.bEnabled - true to allow users to resize the rows in a column header, false to prevent them from doing so.public boolean isManualColumnHeaderRowSizingEnabled()
true, then users can use the mouse to change the height of the rows in the column header. The column header labels columns.true if users can manually resize the rows in a column header false if they cannot.
public boolean setXMLAsString(java.lang.String xml)
throws BIPersistenceException
Crosstab. 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 Crosstab.
Application developers should not call this method. To load XML from a file, call setXML or readXML.
setXMLAsString in class Dataviewxml - 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, boolean), setXML(java.lang.String, boolean)public int getViewType()
Dataview.VIEW_TYPE_CROSSTAB.getViewType in interface UIDataviewgetViewType in class DataviewDataview.VIEW_TYPE_CROSSTABDataview.VIEW_TYPE_CROSSTAB
public boolean setXML(java.lang.String xmlString,
boolean reset)
throws BIIOException,
BISAXException,
BIParseException
setXML(String, int)setXML method that takes an int for the reset parameter allows you to specify how much and how far to reset the view before you apply XML.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.
public boolean setXML(java.lang.String xmlString,
int reset)
throws BIIOException,
BISAXException,
BIParseException
Crosstab, from a String. This method reads the XML from xmlString and applies its attribute settings to this Crosstab. The reset parameter determines how much of the Crosstab to reset before applying XML. In general, you can:
Crosstab without resetting anything to default valuesCrosstabResetting returns property values in the Crosstab to the default values for the version that is specified in the XML.
setXML in class DataviewxmlString - The XML to apply to this Crosstab.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 Crosstab, 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,
boolean reset)
throws BIIOException,
BISAXException,
BIParseException
readXML(InputStream, int)readXML method that takes an int for the reset parameter allows you to specify how much and how far to reset the view before you apply XML.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.
public boolean readXML(java.io.InputStream stream,
int reset)
throws BIIOException,
BISAXException,
BIParseException
Crosstab, from a String. This method reads the XML from xmlString and applies its attribute settings to this Crosstab. The reset parameter determines how much of the Crosstab to reset before applying XML. In general, you can:
Crosstab without resetting anything to default valuesCrosstabResetting returns property values in the Crosstab to the default values for the version that is specified in the XML.
readXML in class Dataviewstream - The XML to apply to this Crosstab.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 Crosstab, 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)
Crosstab 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.
This method is helpful when you want to reuse a Crosstab rather than instantiate a new one.
resetToDefault in class GridViewreset - 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
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||