|
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
The base tabular view. This class defines methods and fields that are common the the table and crosstab beans.
Application developers normally work with the concrete subclasses of this class. However, application developers will call some of these methods in the concrete subclasses.
| Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Field Summary | |
static int |
AUTOFIT_SCOPE_ALLAutoFitScope: Autofit row heights, column widths, column header row heights, and row header column widths. |
static int |
AUTOFIT_SCOPE_COLHDRROWHTS_ROWHDRCOLWDSAutoFitScope: Autofit column header row heights and row header column widths. |
static int |
AUTOFIT_SCOPE_COLUMN_HEADER_ROW_HEIGHTSAutoFitScope: Autofit column header row heights. |
static int |
AUTOFIT_SCOPE_COLUMN_WIDTHSAutoFitScope: Autofit column widths. |
static int |
AUTOFIT_SCOPE_COLWDS_COLHDRROWHTSAutoFitScope: Autofit column widths and column header row heights. |
static int |
AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS_ROWHDRCOLWDSAutoFitScope: Autofit column widths, column header row heights, and row header column widths. |
static int |
AUTOFIT_SCOPE_COLWDS_ROWHDRCOLWDSAutoFitScope: Autofit column widths and row header column widths. |
static int |
AUTOFIT_SCOPE_COLWDS_ROWHTSAutoFitScope: Autofit column widths and row heights. |
static int |
AUTOFIT_SCOPE_COLWDS_ROWHTS_COLHDRROWHTSAutoFitScope: Autofit column widths, row heights, and column header row heights. |
static int |
AUTOFIT_SCOPE_COLWDS_ROWHTS_ROWHDRCOLWDSAutoFitScope: Autofit column widths, row heights, and row header column widths. |
static int |
AUTOFIT_SCOPE_NONEAutoFitScope: Do not automatically size any cells. |
static int |
AUTOFIT_SCOPE_ROW_HEADER_COLUMN_WIDTHSAutoFitScope: Autofit row header column widths. |
static int |
AUTOFIT_SCOPE_ROW_HEIGHTSAutoFitScope: Autofit row heights. |
static int |
AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTSAutoFitScope: Autofit row heights and column header row heights. |
static int |
AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS_ROWHDRCOLWDSAutoFitScope: Autofit row heights, column header row heights, and row header column widths. |
static int |
AUTOFIT_SCOPE_ROWHTS_ROWHDRCOLWDSAutoFitScope: Autofit row heights and row header column widths. |
static int |
COL_HEADERThe column header component. |
static int |
COL_HEADER_RANGEA range of cells in the column header. |
static int |
DATA_CELLA data cell. |
static int |
DATA_CELL_RANGEA range of data cells. |
static int |
DATA_COLUMNA column of data. |
static int |
DATA_COLUMN_RANGEA range of data columns. |
static int |
DATA_ROWA row of data. |
static int |
DATA_ROW_RANGEA range of data rows. |
static int |
DATABODYThe databody component. |
static int |
DATABODY_HIGHLIGHTERThe databody highlighter. |
static int |
FILL_WITH_HASHMARKSUse #### in cells that are not large enough to display the data value for the cell. |
static int |
ROW_HEADERThe row header component. |
static int |
ROW_HEADER_RANGEA range of cells in the row header. |
static int |
TRUNCATE_WITH_ELLIPSISUse truncated numbers, with ellipses, in cells that are not large enough to display the data value for the cell. |
static int |
TRUNCATE_WITHOUT_ELLIPSISUse truncated numbers, without ellipses, in cells that are not large enough to display the data value for the cell. |
| 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 | |
GridView()Constructor. | |
| Method Summary | |
void |
addGridViewDataListener(GridViewDataListener l)Adds a listener for requests of data changes. |
static void |
applyCSSStyleDefaults(GridViewCommon view, CSSStyleDefaults defaults)Applies the styles in a cascading style sheet (CSS) as default values in a GridView. |
abstract void |
autoFit()Calculates sizes for rows and columns in this Crosstab. |
int |
getAutoFitColumnCount()Retrieves the number of columns that are considered when calculating automatic cell sizes. |
AutoFitColumnRangeCallback |
getAutoFitColumnRangeCallback()Retrieves the callback that provides the range of columns to consider during an autofit. |
int |
getAutoFitRowCount()Retrieves the number of rows that are considered when calculating automatic cell sizes. |
AutoFitRowRangeCallback |
getAutoFitRowRangeCallback()Retrieves the callback that provides the range of rows to consider during an autofit. |
int |
getAutoFitScope()Retrieves the scope for which autofitting will calculate sizes. |
java.awt.Image |
getBackgroundImage()Retrieves the background Image for the databody of this GridView. |
java.lang.String |
getBackgroundImagePath()Retrieves a relative path to a background image for this GridView. |
int |
getBanding()Retrieves the kind of banding that this GridView uses. |
java.lang.String |
getBaseImageURI()Retrieves the base URI for loading images. |
int |
getCellMaxHeight()Retrieves the maximum height for cells in this GridView, in pixels. |
int |
getCellMaxWidth()Retrieves the maximum width for cells in this GridView, in pixels. |
int |
getCellMinHeight()Retrieves the minimum height for cells in this GridView, in pixels. |
int |
getCellMinWidth()Retrieves the minimum width for cells in this GridView, in pixels. |
abstract GridViewHeader |
getColumnHeader()Retrieves the column header for this GridView. |
int |
getColumnWidth(int index)Retrieves the width of a column in the databody. |
abstract java.awt.Color |
getCornerComponentColor()Retrieves the background color of the corner component. |
abstract GridViewDatabody |
getDatabody()Retrieves the databody for this GridView. |
java.awt.Image |
getDrillImage(int index)Retrieves the drill image from the vector of drill images for this GridView. |
java.lang.String |
getDrillImagePath(int index)Retrieves a relative path to a drill image for this GridView. |
java.awt.Image |
getGraphicImage(int index)Retrieves a graphic image from the vector of images for this GridView. |
int |
getGraphicImageCount()Retrieves the number of graphic images that are available for this GridView. |
java.lang.String |
getGraphicImagePath(int index)Retrieves a relative path to a graphic image for this GridView. |
java.awt.Color |
getGridColor()Retrieves the color of the gridlines in this GridView. |
GridViewController |
getGridViewController()Retrieves the controller for this GridView. |
GridViewDatabodyStyleManager |
getGridViewDatabodyStyleManager()Retrieves the style manager that this GridView uses to format databody cells. |
GridViewFormatManager |
getGridViewFormatManager()Retrieves the format manager that this GridView uses. |
GridViewHeaderStyleManager |
getGridViewHeaderStyleManager()Retrieves the style manager that this GridView uses to format headers. |
GridViewModel |
getGridViewModel()Retrieves the model that this GridView uses. |
GridViewSelectionManager |
getGridViewSelectionManager()Retrieves the selection manager that this GridView uses. |
GridViewSizingManager |
getGridViewSizingManager()Retrieves the sizing manager that this GridView uses. |
java.awt.Color |
getHGridColor()Retrieves the color of the horizontal gridlines in this GridView. |
int |
getHTMLColumnBlockSize()Indicates the number of columns that appear at a time in the HTML table that a thin GridView renders. |
int |
getHTMLColumnSizing()Retrieves the HTML column sizing option. |
int |
getHTMLRowBlockSize()Indicates the number of rows that appear at a time in the HTML table that a thin GridView renders. |
java.lang.Integer |
getHTMLTableCellPadding()Retrieves the cell padding of the HTML table that a thin GridView renders. |
java.lang.String |
getHTMLTableWidth()Retrieves the width of the HTML table that a thin GridView renders. |
int |
getHTMLTextInputSize()Retrieves the number of characters displayed in cells that can be edited. |
int |
getPresentationHeight()The height of this GridView, in pixels. |
int |
getPresentationWidth()The width of this GridView, in pixels. |
abstract GridViewHeader |
getRowHeader()Retrieves the row header for this GridView. |
int |
getRowHeight(int index)Retrieves the height of a row in the databody. |
ComponentHandle |
getSelectedObject()Retrieves a handle for the most recently selected component or part of a component in this GridView. |
abstract int |
getStartColumn()Retrieves the first visible column of data that this view currently displays. |
abstract int |
getStartRow()Retrieves the first visible row of data that this view currently displays. |
int |
getTruncatedNumericDataFormat()Retrieves the format that this GridView uses for numeric data that does not fit in its cell. |
java.awt.Color |
getVGridColor()Retrieves the color of the vertical gridlines in this GridView. |
ViewFormat |
getViewFormat()Retrieves the ViewFormat object that this GridView uses to format numbers. |
boolean |
isCellEditingAllowed()Indicates whether users can edit cells in this GridView. |
abstract boolean |
isColumnHeaderVisible()Indicates whether the column header appears in this GridView. |
abstract boolean |
isColumnVisible(int col)Indicates whether a column is visible. |
boolean |
isGrid3D()Indicates whether the gridlines in this GridView have a three-dimensional appearance. |
abstract boolean |
isHGridVisible()Indicates whether horizontal gridlines are visible in this GridView. |
boolean |
isManualColumnSizingEnabled()Indicates whether users can manually resize columns in the databody. |
boolean |
isManualRowSizingEnabled()Indicates whether users can manually resize rows in the databody. |
abstract boolean |
isRowHeaderVisible()Indicates whether the row header appears in this GridView. |
abstract boolean |
isRowVisible(int row)Indicates whether a row is visible. |
boolean |
isSwapAllowed()Indicates whether swapping is allowed in this view. |
abstract boolean |
isVGridVisible()Specifies whether vertical gridlines are visible in this GridView. |
boolean |
isVisible()Indicates whether this GridView is visible. |
void |
removeGridViewDataListener(GridViewDataListener l)Removes the listener for requests of data changes. |
void |
resetToDefault(int reset)Resets properties of this GridView to their default values. |
void |
setAutoFitColumnCount(int colCount)Specifies the number of columns to consider when calculating cell sizes. |
void |
setAutoFitColumnRangeCallback(AutoFitColumnRangeCallback callback)Specifies a callback to get the range of columns to consider during an autofit. |
void |
setAutoFitRowCount(int rowCount)Specifies the number of rows to consider when calculating cell sizes. |
void |
setAutoFitRowRangeCallback(AutoFitRowRangeCallback callback)Specifies a callback to get the range of rows to consider during an autofit. |
void |
setAutoFitScope(int scope)Specifies what to automatically set cell sizes for. |
void |
setBackgroundImage(java.awt.Image image)Specifies an image to display in the databody for this GridView. |
void |
setBackgroundImagePath(java.lang.String path)Specifies the relative path to a background image for this GridView. |
void |
setBanding(int banding)Specifies whether and what kind of banding to use in this GridView. |
void |
setBaseImageURI(java.lang.String baseImageURI)Specifies the base URI for loading images. |
abstract void |
setCellEditingAllowed(boolean b)Specifies whether users can edit cells in this GridView. |
void |
setCellMaxHeight(int height)Specifies the maximum height for cells in this GridView, in pixels. |
void |
setCellMaxWidth(int width)Specifies the maximum width for cells in this GridView, in pixels. |
void |
setCellMinHeight(int height)Specifies the minimum height for cells in this GridView, in pixels. |
void |
setCellMinWidth(int width)Specifies the minimum width for cells in this GridView, in pixels. |
abstract void |
setColumnHeaderVisible(boolean visible)Specifies whether the column header appears in this GridView. |
abstract void |
setColumnVisible(int column, boolean visible)Specifies whether a column appears. |
abstract void |
setColumnWidth(int index, int width)Specifies the width of a column in the databody. |
abstract void |
setCornerComponentColor(java.awt.Color c)Specifies a background color for the corner component. |
abstract void |
setDefaultCornerComponentColor(java.awt.Color c)Specifies a default background color for the corner component. |
void |
setDrillImage(int index, java.awt.Image image)Specifies a drill image for this GridView. |
void |
setDrillImagePath(int index, java.lang.String path)Specifies the relative path to a drill image for this GridView. |
void |
setEnabled(boolean enabled)Specifies whether this GridView is enabled. |
void |
setGraphicImage(int index, java.awt.Image image)Specifies a graphic image for this GridView. |
void |
setGraphicImagePath(int index, java.lang.String path)Specifies the relative path to a graphic image for this GridView. |
void |
setGrid3D(boolean b)Specifies whether the gridlines in this GridView appear to be three-dimensional. |
void |
setGridColor(java.awt.Color color)Specifies the color of the gridlines in this GridView. |
void |
setHGridColor(java.awt.Color color)Specifies the color of the horizonal gridlines in this GridView. |
abstract void |
setHGridVisible(boolean b)Specifies whether horizontal gridlines appear in this GridView. |
void |
setHTMLColumnBlockSize(int size)Specifies the number of columns to display at a time in the HTML table that a thin GridView renders. |
void |
setHTMLColumnSizing(int htmlColumnSizing)Specifies the HTML column sizing option. |
void |
setHTMLRowBlockSize(int size)Specifies the number of rows to display at a time in the HTML table that a thin GridView renders. |
void |
setHTMLTableCellPadding(java.lang.Integer padding)Specifies the cell padding of the HTML table that a thin GridView renders. |
void |
setHTMLTableWidth(java.lang.String width)Specifies the width of the HTML table that a thin GridView renders. |
void |
setHTMLTextInputSize(int size)Specifies the number of characters to display in cells that can be edited. |
void |
setLocale(java.util.Locale loc)Specifies the Locale for this Dataview. |
abstract void |
setManualColumnSizingEnabled(boolean bEnabled)Specifies whether users can manually resize columns in the databody. |
abstract void |
setManualRowSizingEnabled(boolean bEnabled)Specifies whether users can manually resize rows in the databody. |
abstract void |
setRowHeaderVisible(boolean visible)Specifies whether the row header appears in this GridView. |
abstract void |
setRowHeight(int index, int height)Specifies the height of a row in the databody, in pixels. |
abstract void |
setRowVisible(int row, boolean visible)Specifies whether a row appears. |
abstract void |
setStartColumn(int c)Specifies the first visible column of data to display in this view. |
abstract void |
setStartRow(int r)Specifies the first visible row of data to display in this view. |
void |
setSwapAllowed(boolean swap)Specifies whether users can swap items in this view. |
void |
setTruncatedNumericDataFormat(int format)Specifies the format to use for numeric data when the complete value does not fit in its cell. |
void |
setVGridColor(java.awt.Color color)Specifies the color of the vertical gridlines in this GridView. |
abstract void |
setVGridVisible(boolean b)Indicates whether vertical gridlines appear in this GridView. |
void |
setViewFormat(ViewFormat vf)Specifies the ViewFormat object for this GridView. |
void |
setVisible(boolean visible)Specifies whether this GridView is visible. |
| 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.gridView.UIGridView |
dataAndMetadataStyleChanged, getLocale, getModel, getPagingControl, getToolbarUIFormatCount, getUIFormatCount, getUIFormats, setToolbarUIFormatCount, setUIFormatCount, setUIFormats |
| 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.GridViewAttribute |
applyViewFormat, applyViewStyle, getComponentViewFormat, getComponentViewStyle |
| Methods inherited from interface oracle.dss.dataView.UIDataview |
addControllerListener, getDataviewFootnote, getDataviewSubtitle, getDataviewTitle, getTokenSubstitution, getViewType, 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 DATABODY
public static final int COL_HEADER
public static final int ROW_HEADER
public static final int DATA_CELL
public static final int DATABODY_HIGHLIGHTER
public static final int DATA_COLUMN
public static final int DATA_ROW
public static final int DATA_CELL_RANGE
public static final int COL_HEADER_RANGE
public static final int ROW_HEADER_RANGE
public static final int DATA_COLUMN_RANGE
public static final int DATA_ROW_RANGE
public static final int FILL_WITH_HASHMARKS
public static final int TRUNCATE_WITHOUT_ELLIPSIS
public static final int TRUNCATE_WITH_ELLIPSIS
public static final int AUTOFIT_SCOPE_NONE
public static final int AUTOFIT_SCOPE_ROW_HEIGHTS
public static final int AUTOFIT_SCOPE_COLUMN_WIDTHS
public static final int AUTOFIT_SCOPE_COLUMN_HEADER_ROW_HEIGHTS
public static final int AUTOFIT_SCOPE_ROW_HEADER_COLUMN_WIDTHS
public static final int AUTOFIT_SCOPE_ALL
public static final int AUTOFIT_SCOPE_COLWDS_ROWHTS
public static final int AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS
public static final int AUTOFIT_SCOPE_COLWDS_ROWHDRCOLWDS
public static final int AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS
public static final int AUTOFIT_SCOPE_ROWHTS_ROWHDRCOLWDS
public static final int AUTOFIT_SCOPE_COLHDRROWHTS_ROWHDRCOLWDS
public static final int AUTOFIT_SCOPE_COLWDS_ROWHTS_COLHDRROWHTS
public static final int AUTOFIT_SCOPE_COLWDS_ROWHTS_ROWHDRCOLWDS
public static final int AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS_ROWHDRCOLWDS
public static final int AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS_ROWHDRCOLWDS
| Constructor Detail |
public GridView()
| Method Detail |
public GridViewModel getGridViewModel()
GridView uses. In the Model-View-Controller architecture, the model is responsible for handling the data that is displayed in a view. In the full BI Beans set, the 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.GridViewModel that this GridView uses.public GridViewController getGridViewController()
GridView. In the Model-View-Controller architecture, the controller is responsible for attending to mouse events and key events.GridViewController for this GridView.public GridViewFormatManager getGridViewFormatManager()
GridView uses. The format manager is responsible for the format of the numbers that are displayed in the GridView. For example, the ViewFormat object from the format manager determines whether a number appears as a plain number or as currency.getGridViewFormatManager in interface UIGridViewGridViewFormatManager that this GridView uses. If this GridView does not have a controller, then this method returns null.ViewFormatpublic GridViewSelectionManager getGridViewSelectionManager()
GridView uses. The selection manager is responsible for the selection of cells in the GridView.GridView uses. If this GridView does not have a controller, then this method returns null.public GridViewSizingManager getGridViewSizingManager()
GridView uses. The sizing manager is responsible for the size of the rows and columns in this GridView.GridView uses. If this GridView does not have a controller, then this method returns null.public GridViewHeaderStyleManager getGridViewHeaderStyleManager()
GridView uses to format headers. The style manager is responsible for the formatting of the header cells in this GridView. For example, the ViewStyle object from the style manager determines the background color of a header cell.getGridViewHeaderStyleManager in interface UIGridViewGridViewHeaderStyleManager that this GridView uses. If this GridView does not have a controller, then this method returns null.ViewStylepublic GridViewDatabodyStyleManager getGridViewDatabodyStyleManager()
GridView uses to format databody cells. The style manager is responsible for the formatting of the databody cells in this GridView. For example, the ViewStyle object from the style manager determines the background color of a data cell.getGridViewDatabodyStyleManager in interface UIGridViewGridViewDatabodyStyleManager that this GridView uses. If this GridView does not have a controller, then this method returns null.ViewStylepublic void setLocale(java.util.Locale loc)
DataviewLocale for this Dataview.setLocale in class Datavieworacle.dss.dataView.Dataviewloc - The Locale for this Dataview.public void setViewFormat(ViewFormat vf)
ViewFormat object for this GridView. The ViewFormat specifies attributes that this GridView uses to format the numbers that it displays. If you use rules to format individual cells, the ViewFormat object that you specify in this method is the default ViewFormat that the rules modify and return to the view.setViewFormat in interface Formattablevf - The ViewFormat to use to format numbers in this GridView.public ViewFormat getViewFormat()
ViewFormat object that this GridView uses to format numbers.getViewFormat in interface FormattableViewFormat that this GridView uses.public int getPresentationHeight()
GridView, in pixels.getPresentationHeight in class DataviewGridView, in pixels.public int getPresentationWidth()
GridView, in pixels.getPresentationWidth in class DataviewGridView, in pixels.public ComponentHandle getSelectedObject()
GridView. For example, the selected item might be the entire databody, or it could be a single data cell.
The subclass of ComponentHandle that this method returns provides access to the selected item as well as access to the selected item.
getSelectedObject in interface UIDataviewgetSelectedObject in class DataviewComponentHandle that represents the selected object.public void setVisible(boolean visible)
GridView is visible.setVisible in class javax.swing.JComponentvisible - true to make this GridView visible, false to hide it.public boolean isVisible()
GridView is visible.isVisible in class java.awt.Componenttrue if this GridView is visible, false if it is not.public abstract void setHGridVisible(boolean b)
GridView.setHGridVisible in interface UIGridViewb - true to display horizontal gridlines, false to hide them.public abstract boolean isHGridVisible()
GridView.isHGridVisible in interface UIGridViewtrue horizontal gridlines are visible, false if they are not visible.public abstract void setVGridVisible(boolean b)
GridView.setVGridVisible in interface UIGridViewb - true if vertical gridlines are visible, false if they are not.public abstract boolean isVGridVisible()
GridView.isVGridVisible in interface UIGridViewtrue if vertical gridlines are visible, false if they are not visible.public abstract void setColumnHeaderVisible(boolean visible)
GridView.setColumnHeaderVisible in interface UIGridViewvisible - true to display the column header, false to hide it.public abstract boolean isColumnHeaderVisible()
GridView.isColumnHeaderVisible in interface UIGridViewtrue if the column header appears, false if it does not.public abstract void setRowHeaderVisible(boolean visible)
GridView.setRowHeaderVisible in interface UIGridViewvisible - true to display the row header, false to hide it.public abstract boolean isRowHeaderVisible()
GridView.isRowHeaderVisible in interface UIGridViewtrue if the row header appears, false if it does not.public void setGridColor(java.awt.Color color)
GridView.setGridColor in interface UIGridViewcolor - The Color for the gridlines in this GridView.public java.awt.Color getGridColor()
GridView.getGridColor in interface UIGridViewGridView.public void setVGridColor(java.awt.Color color)
GridView.setVGridColor in interface UIGridViewcolor - The Color for the gridlines in this GridView.public void setHGridColor(java.awt.Color color)
GridView.setHGridColor in interface UIGridViewcolor - The Color for the gridlines in this GridView.public java.awt.Color getVGridColor()
GridView.getVGridColor in interface UIGridViewGridView.public java.awt.Color getHGridColor()
GridView.getHGridColor in interface UIGridViewGridView.public void setGrid3D(boolean b)
GridView appear to be three-dimensional.setGrid3D in interface UIGridViewb - true to make gridlines appear to be three-dimensional, false to make them appear to be flat.public boolean isGrid3D()
GridView have a three-dimensional appearance.isGrid3D in interface UIGridViewtrue if gridlines appear to be three-dimensional, false if they appear to be flat.public void setBackgroundImage(java.awt.Image image)
GridView. The image is tiled. It appears in transparent cells, that is, on cells whose Background attribute is null. To make all the cells in the databody transparent, set the Background attribute in the GridViewDatabodyStyle for the databody. To make individual cells transparent, create rules and set them in the style manager for this GridView.setBackgroundImage in interface UIGridViewimage - The background image.getGridViewDatabodyStyleManager(), ViewStyle, DiscriminatorRulepublic java.awt.Image getBackgroundImage()
GridView. The image is tiled. It appears in transparent cells, that is, on cells whose Background attribute is null. To make all the cells in the databody transparent, set the Background attribute in the ViewStyle for the databody. To make individual cells transparent, create rules and set them in the style manager for this GridView.getBackgroundImage in interface UIGridViewGridView. If no background image has been set for this GridView, then this method returns null.public void setBackgroundImagePath(java.lang.String path)
GridView. The relative path is appended to the BaseImageURI to construct the full path to the image. The full path may specify a URL or a resource on the classpath.
For example, the relative path to an image may be "images/myImage.gif". If no BaseImageURI is set, then this method attempts to load the image from the classpath, on the specified path relative to the GridView class, which would be "/oracle/dss/gridView/images/myImage.gif".
If BaseImageURI is "/myPackage/myComponent/", then this method attempts to load the image from the classpath on the specified absolute path, "/myPackage/myComponent/images/myImage.gif".
If BaseImageURI is "http://my.server.com/", then this method attempts to load the image at the given URL, "http://my.server.com/images/myImage.gif".
If an image cannot be loaded, a special "not loaded" image will be used instead.
This method also calls setBackgroundImage to set the actual Image object. If setBackgroundImage is called to set an Image object this method is called, then the path that was set in this method is erased.
path - The relative path to an image file.setBackgroundImage(java.awt.Image), setBaseImageURI(java.lang.String)public java.lang.String getBackgroundImagePath()
GridView. The full path to the image is constructed by appending the relative path to theBaseImageURI.getBackgroundImage(), getBaseImageURI()public void setCellMaxHeight(int height)
GridView, in pixels.height - The maximum height for cells in this GridView.public int getCellMaxHeight()
GridView, in pixels.getCellMaxHeight in interface GridViewCommonGridView.public void setCellMinHeight(int height)
GridView, in pixels.height - The minimum height for cells in this GridView.public int getCellMinHeight()
GridView, in pixels.getCellMinHeight in interface GridViewCommonGridView.public void setCellMaxWidth(int width)
GridView, in pixels.width - The maximum width for cells in this GridView.public int getCellMaxWidth()
GridView, in pixels.getCellMaxWidth in interface GridViewCommonGridView.public void setCellMinWidth(int width)
GridView, in pixels.The - minimum width for cells in this GridView.public int getCellMinWidth()
GridView, in pixels.getCellMinWidth in interface GridViewCommonGridView.public void setEnabled(boolean enabled)
GridView is enabled. When a GridView is disabled, it is visible, but users cannot operate on the GridView. For example, they cannot swap dimensions or edit a cell.setEnabled in class Dataviewenabled - true to enable this GridView, false to disable it.public int getColumnWidth(int index)
index - The column whose width you want. Column numbers begin at zero.
public abstract void setColumnWidth(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 getRowHeight(int index)
index - The row whose height you want. Row numbers begin with zero.
public abstract void setRowHeight(int index,
int height)
index - The row whose height you want to set. Row numbers begin with zero.height - The height to set the row, in pixels.public abstract 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.
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.
setAutoFitScope(int), setAutoFitRowCount(int)public void setAutoFitRowCount(int rowCount)
If the range, starting with the first row, extends beyond valid row indexes in the data source, then the entire range will be pushed back so that all rows in the range are valid. If the value that you set in this method is greater than the number of rows in the data source, then the range is the entire data source.
You can also pass -1 to this method to specify the entire data source as the range.
If you set AutoFitRowCount to any other value less than 1, then this method logs a message with the error handler and does not change the current value.
If you want finer control over the range of rows that are considered in automatic size calculations, then you can register an implementation of the AutoFitRowRangeCallback interface with this GridView. The calculation uses the callback if one is registered. If no callback is registered, or if the callback returns a null range, then the calculation uses the value that you specify in this method.
rowCount - The number of rows to consider during an autofit. Pass -1 to consider all rows. Other values must be 1 or greater.autoFit(), setAutoFitRowRangeCallback(oracle.dss.gridView.AutoFitRowRangeCallback)public int getAutoFitRowCount()
public void setAutoFitColumnCount(int colCount)
If the range, starting with the first column, extends beyond valid column indexes in the data source, then the entire range will be pushed back so that all column in the range are valid. If the value that you set in this method is greater than the number of column in the data source, then the range is the entire data source.
You can also pass -1 to this method to specify the entire data source as the range.
If you set AutoFitColCount to a value less than 1, but not equal to -1, then this method logs a message with the error handler and does not change the current value.
If you want finer control over the range of columns that are considered in automatic size calculations, then you can register an implementation of the AutoFitColumnRangeCallback interface with this GridView. The calculation uses the callback if one is registered. If no callback is registered, or if the callback returns a null range, then the calculation uses the value that you specify in this method.
rowCount - The number of columns to consider during an autofit. Pass -1 to consider all columns. Other values must be 1 or greater.autoFit(), setAutoFitColumnRangeCallback(oracle.dss.gridView.AutoFitColumnRangeCallback)public int getAutoFitColumnCount()
public void setAutoFitRowRangeCallback(AutoFitRowRangeCallback callback)
AutoFitRowCount property determines the range of rows that are considered.callback - The callback that provides the range of rows that should be considered during automatic calculation of cell sizes.setAutoFitRowCount(int), autoFit()public AutoFitRowRangeCallback getAutoFitRowRangeCallback()
public void setAutoFitColumnRangeCallback(AutoFitColumnRangeCallback callback)
AutoFitColumnCount property determines the range of columns that are considered.callback - The callback that provides the range of columns that should be considered during automatic calculation of cell sizes.setAutoFitColumnCount(int), autoFit()public AutoFitColumnRangeCallback getAutoFitColumnRangeCallback()
public void setAutoFitScope(int scope)
autoFit method calculates the sizes of cells, based on the data that will appear in the cells. This method specifies whether autoFit should calculate sizes for row heights, column widths, row header widths, column header heights, or a combination of widths and heights. Constants are listed in the See Also section. They can be set individually or combined, using an OR (|) operator.setAutoFitScope in interface UIGridViewscope - An integer that identifies what part or parts of this GridView to calculate sizes for.AUTOFIT_SCOPE_ALL, AUTOFIT_SCOPE_COLHDRROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_COLUMN_HEADER_ROW_HEIGHTS, AUTOFIT_SCOPE_COLUMN_WIDTHS, AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS, AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_COLWDS_ROWHDRCOLWDS, AUTOFIT_SCOPE_COLWDS_ROWHTS, AUTOFIT_SCOPE_COLWDS_ROWHTS_COLHDRROWHTS, AUTOFIT_SCOPE_COLWDS_ROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_NONE, AUTOFIT_SCOPE_ROW_HEADER_COLUMN_WIDTHS, AUTOFIT_SCOPE_ROW_HEIGHTS, AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS, AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_ROWHTS_ROWHDRCOLWDSpublic int getAutoFitScope()
getAutoFitScope in interface UIGridViewAUTOFIT_SCOPE_ALL, AUTOFIT_SCOPE_COLHDRROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_COLUMN_HEADER_ROW_HEIGHTS, AUTOFIT_SCOPE_COLUMN_WIDTHS, AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS, AUTOFIT_SCOPE_COLWDS_COLHDRROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_COLWDS_ROWHDRCOLWDS, AUTOFIT_SCOPE_COLWDS_ROWHTS, AUTOFIT_SCOPE_COLWDS_ROWHTS_COLHDRROWHTS, AUTOFIT_SCOPE_COLWDS_ROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_NONE, AUTOFIT_SCOPE_ROW_HEADER_COLUMN_WIDTHS, AUTOFIT_SCOPE_ROW_HEIGHTS, AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS, AUTOFIT_SCOPE_ROWHTS_COLHDRROWHTS_ROWHDRCOLWDS, AUTOFIT_SCOPE_ROWHTS_ROWHDRCOLWDS
public abstract void setColumnVisible(int column,
boolean visible)
column - The column to hide or to reveal. Column numbers begin at zero.visible - true to show the column, false to hide it.
public abstract void setRowVisible(int row,
boolean visible)
row - The row to hide or to reveal. Row numbers begin at zero.visible - true to show the row, false to hide it.public abstract boolean isRowVisible(int row)
row - The row to check. Row numbers begin with zero.true if the row is visible, false if it is not.public abstract boolean isColumnVisible(int col)
col - The column to check. Column numbers begin at zero.true if the column is visible, false if it is not.public void setTruncatedNumericDataFormat(int format)
format - A constant that indicates the format to use.FILL_WITH_HASHMARKS, TRUNCATE_WITH_ELLIPSIS, TRUNCATE_WITHOUT_ELLIPSISpublic int getTruncatedNumericDataFormat()
GridView uses for numeric data that does not fit in its cell.GridView uses.FILL_WITH_HASHMARKS, TRUNCATE_WITH_ELLIPSIS, TRUNCATE_WITHOUT_ELLIPSISpublic abstract GridViewDatabody getDatabody()
GridView.getDatabody in interface UIGridViewGridView.public abstract GridViewHeader getColumnHeader()
GridView.getColumnHeader in interface UIGridViewGridView.public abstract GridViewHeader getRowHeader()
GridView.getRowHeader in interface UIGridViewGridView.
public void setGraphicImage(int index,
java.awt.Image image)
GridView. Images are stored in a vector of images. Note that images for drill icons are stored in a separate vector.index - The index, in the image vector, where you want to store an image. Negative numbers are ignored. If you pass a number larger than the current vector size, this method resizes the vector to accommodate the index that you pass.image - The Image to store.setDrillImage(int, java.awt.Image)public java.awt.Image getGraphicImage(int index)
GridView. Note that images for drill icons are stored in a separate vector.index - The index, in the vector, of the image that you want. Valid values are zero to one less than the size of the vector.null if index is less than zero or is greater than or equal to the size of the vector.getDrillImage(int)
public void setGraphicImagePath(int index,
java.lang.String path)
GridView. Image paths are stored in a vector of strings. Note that paths for drill icons are stored in a separate vector.
The relative path passed into this method is appended to the BaseImageURI to construct the full path to the image. The full path may specify a URL or a resource on the classpath.
For example, the relative path to an image may be "images/myImage.gif". If no BaseImageURI is set, then this method attempts to load the image from the classpath, on the specified path relative to the GridView class, which would be "/oracle/dss/gridView/images/myImage.gif".
If BaseImageURI is "/myPackage/myComponent/", then this method attempts to load the image from the classpath on the specified absolute path, "/myPackage/myComponent/images/myImage.gif".
If BaseImageURI is "http://my.server.com/", then this method attempts to load the image at the given URL, "http://my.server.com/images/myImage.gif".
If an image cannot be loaded, a special "not loaded" image is used instead.
This method also calls setGraphicImage to set the actual Image object. If setGraphicImage is called to set an Image object at an index for which an image path has already been set, then the path set through this method is erased.
index - The index, in the image vector, where you want to store an image. Negative numbers are ignored. If you pass a number larger than the current vector size, then this method resizes the vector to accommodate the index that you pass.path - The relative path to an image file, or "" to remove the current image.setBaseImageURI(java.lang.String), setDrillImagePath(int, java.lang.String), setGraphicImage(int, java.awt.Image)public java.lang.String getGraphicImagePath(int index)
GridView. Note that paths for drill icons are stored in a separate vector. The full path to the image is constructed by appending the relative path to the BaseImageURI.index - The index, in the vector, of the path that you want. Valid values are zero to one less than the size of the vector.null if index is less than zero or is greater than or equal to the size of the vector.getBaseImageURI(), getDrillImagePath(int), getGraphicImage(int), setGraphicImagePath(int, java.lang.String)public void setBaseImageURI(java.lang.String baseImageURI)
This is a runtime property; it is not saved in XML.
baseImageURI - The base URI for loading images.setBackgroundImagePath(java.lang.String), setDrillImagePath(int, java.lang.String), setGraphicImagePath(int, java.lang.String)public java.lang.String getBaseImageURI()
getBackgroundImagePath(), getDrillImagePath(int), getGraphicImagePath(int)public int getGraphicImageCount()
GridView. This method returns the size of the vector of images for this GridView.GridView.
public void setDrillImage(int index,
java.awt.Image image)
GridView. This method stores an image in a vector of drill images for this GridView. Index zero is reserved, so you must store drill images at indexes of 1 or greater. This means that you should not use the constant DataDirector.DRILLSTATE_NOT_DRILLABLE.index - The index in the vector of drill. Use the constants from the DataDirector interface, either DataDirector.DRILLSTATE_DRILLABLE or DataDirector.DRILLSTATE_IS_DRILLED.image - The image to store.DataDirector.DRILLSTATE_DRILLABLE, DataDirector.DRILLSTATE_IS_DRILLEDpublic java.awt.Image getDrillImage(int index)
GridView.index - The index of the image that you want. Use the constants from the DataDirector interface, either DataDirector.DRILLSTATE_DRILLABLE or DataDirector.DRILLSTATE_DRILLED.index. Returns null if there is no image stored at index, or if index is less than 1 or is greater than or equal to the size of the vector.DataDirector.DRILLSTATE_DRILLABLE, DataDirector.DRILLSTATE_IS_DRILLED
public void setDrillImagePath(int index,
java.lang.String path)
GridView. Image paths are stored in a vector of strings. Note that paths for graphic icons are stored in a separate vector. Index zero is reserved, so you must store drill images at indexes of 1 or greater.
The relative path passed into this method is appended to the BaseImageURI to construct the full path to the image. The full path may specify a URL or a resource on the classpath.
For example, the relative path to an image may be "images/myImage.gif". If no BaseImageURI is set, then this method attempts to load the image from the classpath, on the specified path relative to the GridView class, which would be "/oracle/dss/gridView/images/myImage.gif".
If BaseImageURI is "/myPackage/myComponent/", then this method attempts to load the image from the classpath on the specified absolute path, "/myPackage/myComponent/images/myImage.gif".
If BaseImageURI is "http://my.server.com/", then this method attempts to load the image at the given URL, "http://my.server.com/images/myImage.gif".
If an image cannot be loaded, a special "not loaded" image will be used instead.
This method also calls setDrillImage to set the actual Image object. If setDrillImage is called to set an Image object at an index for which an image path has already been set, then the path that you set with this method will be erased.
index - The index in the vector of drill. Use the constants from the DataDirector interface, either DataDirector.DRILLSTATE_DRILLABLE or DataDirector.DRILLSTATE_IS_DRILLED.path - The relative path to an image file, or "" to reset the default drilled or drillable image.setBaseImageURI(java.lang.String), setDrillImage(int, java.awt.Image), setGraphicImagePath(int, java.lang.String), DataDirector.DRILLSTATE_DRILLABLE, DataDirector.DRILLSTATE_IS_DRILLEDpublic java.lang.String getDrillImagePath(int index)
GridView. Note that paths for graphic icons are stored in a separate vector. The full path to the image is constructed by appending the relative path to the BaseImageURI.index - The index in the vector of drill. Use the constants from the DataDirector interface, either DataDirector.DRILLSTATE_DRILLABLE or DataDirector.DRILLSTATE_IS_DRILLED.null if index is less than 1 or is greater than or equal to the size of the vector.getBaseImageURI(), getDrillImage(int), getGraphicImagePath(int), setDrillImagePath(int, java.lang.String), DataDirector.DRILLSTATE_DRILLABLE, DataDirector.DRILLSTATE_IS_DRILLEDpublic boolean isCellEditingAllowed()
GridView.true if cells can be edited, false if they cannot.public abstract void setCellEditingAllowed(boolean b)
GridView.b - true to allow cell editing, false to prohibit it.public void addGridViewDataListener(GridViewDataListener l)
l - The listener to add.public void removeGridViewDataListener(GridViewDataListener l)
l - The listener to remove.public void resetToDefault(int reset)
GridView 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 GridView rather than instantiate a new one.
resetToDefault in class Dataviewreset - 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 abstract void setCornerComponentColor(java.awt.Color c)
c - The background color to use for the corner component.public abstract java.awt.Color getCornerComponentColor()
public abstract void setDefaultCornerComponentColor(java.awt.Color c)
The applyCSSStyleDefaults method calls this method to set the new default value. Application developers do not need to call this method directly.
setDefaultCornerComponentColor in interface GridViewCommonc - The color to set as the new default background color for the corner component.applyCSSStyleDefaults(oracle.dss.gridView.GridViewCommon, oracle.dss.dataView.CSSStyleDefaults)public abstract void setManualRowSizingEnabled(boolean bEnabled)
bEnabled - true to allow users to use the mouse to resize rows, false to prevent them from doing so.public boolean isManualRowSizingEnabled()
true if users can manually resize databody rows, false if they cannot.public abstract void setManualColumnSizingEnabled(boolean bEnabled)
bEnabled - true to allow users to use the mouse to resize columns, false to prevent them from doing so.public boolean isManualColumnSizingEnabled()
true if users can use the mouse to resize columns, false if they cannot.public void setSwapAllowed(boolean swap)
SwapAllowed is true, then users can click the two items that they want to swap, in order to swap the items. The view will then ask the data source to perform a pivot of type DataDirector.PIVOT_SWAP.
When SwapAllowed is false, then users must move the two items separately, and the view will ask for two separate pivot actions of type DataDirector.PIVOT_MOVE_BEFORE or DataDirector.PIVOT_MOVE_AFTER. By default, swapping is disabled.
setSwapAllowed in class Dataviewswap - true to enable swapping, false to disable it.isSwapAllowed(), DataDirector.PIVOT_SWAP, DataDirector.PIVOT_MOVE_BEFORE, DataDirector.PIVOT_MOVE_AFTERpublic boolean isSwapAllowed()
true, then users can swap items by clicking the two items. When this method returns false, then users must move each item separately.isSwapAllowed in class Dataviewtrue if swapping is enabled, false if it is not.setSwapAllowed(boolean), DataDirector.PIVOT_SWAP, DataDirector.PIVOT_MOVE_BEFORE, DataDirector.PIVOT_MOVE_AFTERpublic static void applyCSSStyleDefaults(GridViewCommon view, CSSStyleDefaults defaults)
GridView. This method changes the default style property values of the components in a view. As default values, these values are not stored in generated XML that saves only values other than default values.
This method is primarily intended to be used by the thin beans, to provide better compatibility when working with the Java-client beans during design time in a development environment.
view - The GridViewCommon to apply defaults to.defaults - The CSSStyleDefaults object that defines the new default values.public void setBanding(int banding)
GridView. This property is currently only used for the thin beans.setBanding in interface GridViewCommonbanding - A constant that identifies the kind of banding to apply to this GridView. Valid constants are listed in the See Also section.GridViewCommon.ROW_BANDING, GridViewCommon.COLUMN_BANDING, GridViewCommon.NO_BANDINGpublic int getBanding()
GridView uses. This property is currently only used for the thin beans.getBanding in interface GridViewCommonGridView. Valid constants are listed in the See Also section.GridViewCommon.ROW_BANDING, GridViewCommon.COLUMN_BANDING, GridViewCommon.NO_BANDINGpublic void setHTMLColumnSizing(int htmlColumnSizing)
By default, column sizes are determined only by the size of the contents of each column (NO_COLUMN_SIZING).
Note: If this setting causes text to be truncated, most browsers ignore this setting.
setHTMLColumnSizing in interface GridViewCommonhtmlColumnSizing - A constant that specifies the kind of column-sizing to use in thin tables and crosstabs. Valid values are listed in the See Also section.GridViewCommon.NO_COLUMN_SIZING, GridViewCommon.ABSOLUTE_COLUMN_SIZING, GridViewCommon.RELATIVE_COLUMN_SIZINGpublic int getHTMLColumnSizing()
Note: If this setting causes text to be truncated, most browsers ignore this setting.
getHTMLColumnSizing in interface GridViewCommonGridViewCommon uses.GridViewCommon.NO_COLUMN_SIZING, GridViewCommon.ABSOLUTE_COLUMN_SIZING, GridViewCommon.RELATIVE_COLUMN_SIZINGpublic void setHTMLRowBlockSize(int size)
GridView renders. This property is used for the thin beans only.setHTMLRowBlockSize in interface GridViewCommonsize - The number of rows to display.public int getHTMLRowBlockSize()
GridView renders. This property is used for the thin beans only.getHTMLRowBlockSize in interface GridViewCommonGridView.public void setHTMLColumnBlockSize(int size)
GridView renders. This property is used for the thin beans only.size - The number of columns to display.public int getHTMLColumnBlockSize()
GridView renders. This property is used for the thin beans only.GridView.public java.lang.Integer getHTMLTableCellPadding()
GridView renders. This property is used for the thin beans only.getHTMLTableCellPadding in interface GridViewCommonpublic void setHTMLTableCellPadding(java.lang.Integer padding)
GridView renders. This property is used for the thin beans only.setHTMLTableCellPadding in interface GridViewCommonpadding - The cell padding of the HTML table of the thin GridView.public java.lang.String getHTMLTableWidth()
GridView renders. This property is used for the thin beans only.getHTMLTableWidth in interface GridViewCommonpublic void setHTMLTableWidth(java.lang.String width)
GridView renders. This property is used for the thin beans only.setHTMLTableWidth in interface GridViewCommonThe - width attribute of the HTML table that the thin GridView renders.public void setHTMLTextInputSize(int size)
setHTMLTextInputSize in interface GridViewCommonsize - The number of characters to display in editable cells.public int getHTMLTextInputSize()
getHTMLTextInputSize in interface GridViewCommonpublic abstract void setStartRow(int r)
setStartRow in class Dataviewr - The first visible row of data to display.public abstract int getStartRow()
getStartRow in class Dataviewpublic abstract void setStartColumn(int c)
setStartColumn in class Dataviewc - The first visible column of data to display.public abstract int getStartColumn()
getStartColumn in class Dataview
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||