|
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
The base tabular view. This class defines methods and fields that are common the the thin 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.
The ThinGridView 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 cellThe ThinGridView 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 cellThinDataviewCommon| Field Summary | |
static int |
DRILLSTATE_DRILLABLE_BIDIThe drillable image for BiDi locales |
static int |
DRILLSTATE_IS_DRILLED_BIDIThe drilled image for BiDi locales |
| 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 | |
ThinGridView()Constructor. | |
| Method Summary | |
void |
addGridViewDataListener(GridViewDataListener l)Adds a listener for requests of data changes. |
void |
applyCSSStyleDefaults(CSSStyleDefaults defaults)This method applies CSS style defaults to the ThinGridView, so that the ViewStyles of GridView components are set to the values defined for the components in bistyles.xss, the XML file that defines the GridView's CSS styles. |
void |
checkpointState()Initiates tracking of checkpoint state. |
int |
getBanding()Retrieves the banding option that can enable row banding, column banding, or no banding |
int |
getCellMaxWidth()Retrieves the maximum width for cells in this ThinGridView, in pixels. |
int |
getCellMinWidth()Retrieves the minimum width for cells in this ThinGridView, in pixels. |
java.lang.String |
getCheckpointState()Retrieves state differences since the last call to checkpointState. |
abstract GridViewHeader |
getColumnHeader()Retrieves the column header for this ThinGridView. |
java.awt.Color |
getCornerComponentColor()Specifies a background color for the corner component. |
abstract GridViewDatabody |
getDatabody()Retrieves the databody for this ThinGridView. |
java.lang.String |
getDrillImagePath(int index)Retrieves the drill image path from the vector of drill images for this ThinGridView. |
DrillOutCallback |
getDrillOutCallback()Retrieves the DrillOutCallback interface that has been registered with the GridView. |
int |
getGraphicImageCount()Retrieves the number of graphic images that are available for this ThinGridView. |
java.lang.String |
getGraphicImagePath(int index)Retrieves a graphic image path from the vector of image paths for this ThinGridView. |
java.awt.Color |
getGridColor()Retrieves the color of the gridlines in this ThinGridView. |
GridViewDatabodyStyleManager |
getGridViewDatabodyStyleManager()Retrieves the databody style manager that this ThinGridView uses. |
GridViewFormatManager |
getGridViewFormatManager()Retrieves the format manager that this ThinGridView uses. |
GridViewHeaderStyleManager |
getGridViewHeaderStyleManager()Retrieves the header style manager that this ThinGridView uses. |
GridViewModel |
getGridViewModel()Retrieves the model that this ThinGridView uses. |
GridViewSizingManager |
getGridViewSizingManager()Retrieves the sizing manager that this ThinGridView uses. |
int |
getHTMLColumnBlockSize()Get the column block size of this ThinGridView. |
int |
getHTMLColumnSizing()Retrieve the HTML sizing option. |
int |
getHTMLRowBlockSize()Get the row block size of this ThinGridView. |
java.lang.Integer |
getHTMLTableCellPadding()Gets the cell padding of the gridview's HTML table. |
java.lang.String |
getHTMLTableWidth()Gets the width of the gridview's HTML table. |
int |
getHTMLTextInputSize()Retrieves the number of characters displayed in edittable cells |
abstract GridViewHeader |
getRowHeader()Retrieves the row header for this ThinGridView. |
int |
getStartColumn()Retrieves the index of the first column that this gridview displays. |
int |
getStartRow()Retrieves the index of the first row that this gridview displays. |
java.lang.String |
getState()Retrieves the state of this thin bean. |
ViewFormat |
getViewFormat()Retrieves the ViewFormat object that this ThinGridView uses to format numbers. |
boolean |
isCellEditingAllowed()Indicates whether users can edit cells in this ThinGridView. |
abstract boolean |
isColumnHeaderVisible()Indicates whether the column header appears in this ThinGridView. |
boolean |
isEnabled()Retrieves the value of whether this ThinGridView is enabled. |
boolean |
isHGridVisible()Indicates whether horizontal gridlines are visible in this gridview. |
abstract boolean |
isRowHeaderVisible()Indicates whether the row header appears in this ThinGridView. |
boolean |
isVGridVisible()Specifies whether vertical gridlines are visible in this gridview. |
boolean |
isVisible()Indicates whether this ThinGridView is visible. |
void |
removeGridViewDataListener(GridViewDataListener l)Removes the listener for requests of data changes. |
void |
resetToDefault(int reset)Resets properties of this ThinDataview to their default values. |
void |
setBanding(int banding)Sets the banding option that can enable row banding, column banding, or no banding |
void |
setBaseState()Establishes a base state for the ThinBean, from which state changes are tracked. |
void |
setCellEditingAllowed(boolean b)Specifies whether users can edit cells in this ThinGridView. |
void |
setCellMaxWidth(int width)Specifies the maximum width for cells in this ThinGridView, in pixels. |
void |
setCellMinWidth(int width)Specifies the minimum width for cells in this ThinGridView, in pixels. |
void |
setCheckpointState(java.lang.String state)Sets on this thin bean the state changes since the last call to checkpointState. |
abstract void |
setColumnHeaderVisible(boolean visible)Specifies whether the column header appears in this ThinGridView. |
void |
setCornerComponentColor(java.awt.Color c)Retrieves the background color of the corner component. |
void |
setDrillImagePath(int index, java.lang.String imagePath)Specifies a drill image path for this ThinGridView. |
void |
setDrillOutCallback(DrillOutCallback callback)Registers a DrillOutCallback interface with the GridView. |
void |
setEnabled(boolean enabled)Specifies whether this ThinGridView is enabled. |
void |
setGraphicImagePath(int index, java.lang.String imagePath)Specifies a graphic image path for this ThinGridView. |
void |
setGridColor(java.awt.Color color)Specifies the color of the gridlines in this ThinGridView. |
void |
setHGridVisible(boolean b)Specifies whether horizontal gridlines appear in this gridview Note : This property is not supported in Netscape 4.x browsers |
void |
setHTMLColumnBlockSize(int size)Set the column block size of this ThinGridView. |
void |
setHTMLColumnSizing(int htmlColumnSizing)Set the HTML sizing option. |
void |
setHTMLRowBlockSize(int size)Set the row block size of this ThinGridView. |
void |
setHTMLTableCellPadding(java.lang.Integer padding)Sets the cell padding of the gridview's HTML table. |
void |
setHTMLTableWidth(java.lang.String width)Sets the width of the gridview's HTML table. |
void |
setHTMLTextInputSize(int size)Specifies the number of characters displayed in edittable cells |
void |
setLocale(java.util.Locale loc)Specifies the Locale for this ThinDataviewCommon. |
abstract void |
setRowHeaderVisible(boolean visible)Specifies whether the row header appears in this ThinGridView. |
void |
setStartColumn(int c)Specifies the first column of data for this gridview to display. |
void |
setStartRow(int r)Specifies the first row of data to display in this gridview. |
void |
setState(java.lang.String state)Sets the state of this ThinBean. |
void |
setVGridVisible(boolean b)Specifies whether vertical gridlines appear in this gridview. |
void |
setViewFormat(ViewFormat vf)Specifies the ViewFormat object for this ThinGridView. |
void |
setVisible(boolean visible)Specifies whether this ThinGridView is visible. |
| 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 |
| Field Detail |
public static final int DRILLSTATE_DRILLABLE_BIDI
setDrillImagePath(int, java.lang.String), getDrillImagePath(int)public static final int DRILLSTATE_IS_DRILLED_BIDI
setDrillImagePath(int, java.lang.String), getDrillImagePath(int)| Constructor Detail |
public ThinGridView()
| Method Detail |
public void setBaseState()
ThinBeanThinBean, from which state changes are tracked. This method clears the current state string for the thin bean.
Whenever you instantiate a thin bean, call this method. If you perform standard initialization every time you load a thin bean, then call this method after the standard initialization code. If you do custom initialization on some, but not all, thin beans, then call this method before the custom initialization code. Any changes that you make to a thin bean state after you call this method are added to the state string that the getState method returns.
public void setState(java.lang.String state)
ThinBeanThinBean. This method takes the state information from a state string and sets it on this thin bean. The state string represents changes that have been made to this thin bean since the last call to the setBaseState method.
Where you get the state string depends on whether you store state information directly in the URL or in an oracle.cabo.servlet.state.State object. If you store state in the URL, then the state string comes from the URL. If you store state in a State object and store the ID of that object in the URL, then the state comes from the State object. In either case, the stored information originally should have come from a call to the getState method of this thin bean.
Setting the state of a thin bean lets you recreate a previously displayed page.
Call this method before you handle any thin-bean events. Thin-bean events often change the state of thin beans, so calling this method after you handle events causes the effects of the event handling to be overwritten.
oracle.dss.thin.beans.ThinBeanstate - The string that represents the state of this thin bean.ThinBean.getState()public java.lang.String getState()
ThinBeanString that this method returns represents changes that have been made to this thin bean since the last call to its setBaseState method. Call this method after you handle any thin-bean events to get the current state of this thin bean.
You can store this state information directly in the URL, or you can store the state string in an oracle.cabo.servlet.state.State, and store the ID of the State in the URL.
The state information accrues as a user interacts with a thin bean, so the String that this method returns grows larger with each request that involves this thin bean. For example, the state of a Query might include information about the measures and selections in the query. If a user drills, then the drill information is added to the state string. If a user changes the layout of the query, then the new layout information is added as well. Each modification to the thin bean adds to the state string. If you store the state of all of the thin beans in your application in the URL, then you must be careful to avoid exceeding the URL limit for any browser that your application supports.
Call this method after you handle any thin-bean events.
oracle.dss.thin.beans.ThinBeansetBaseState. Unless you use checkpointing, the returned state string represents the current state of this thin bean.ThinBean.setState(java.lang.String), ThinBean.setBaseState(), CheckpointStatepublic void checkpointState()
CheckpointStategetState method of the thin bean. Save the state string that getState returns in an oracle.cabo.servlet.state.MutableState object. Save the MutableState to the BI Beans Catalog, by calling the saveState method of the BIStateManager. Then, call this method to keep track of changes that occur after you save the state string in the Catalog.oracle.dss.thin.beans.CheckpointStateThinBean.getState(), BIStateManager
public void setCheckpointState(java.lang.String state)
throws ThinException
CheckpointStatecheckpointState.oracle.dss.thin.beans.CheckpointStatestate - The state differences from the last call to checkpointState.ThinException - If the state could not be set.ThinBean.setState(java.lang.String)public java.lang.String getCheckpointState()
CheckpointStatecheckpointState.
You normally store the returned String in the URL. The return value from this method, together with the return value from the getState method, describe all of the state changes that have been made to this thin bean since it was initialized (since the last call to setBaseState).
oracle.dss.thin.beans.CheckpointStatecheckpointState was last called.CheckpointState.checkpointState(), ThinBean.getState(), ThinBean.setBaseState()public GridViewModel getGridViewModel()
ThinGridView 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 ThinGridView uses.public void addGridViewDataListener(GridViewDataListener l)
l - The listener to add.public void removeGridViewDataListener(GridViewDataListener l)
l - The listener to remove.public GridViewFormatManager getGridViewFormatManager()
ThinGridView uses. The format manager is responsible for the format of the numbers that are displayed in the ThinGridView. For example, the ViewFormat object from the format manager determines whether a number appears as a plain number or as currency.GridViewFormatManager that this ThinGridView uses. If this ThinGridView does not have a controller, then this method returns null.ViewFormatpublic GridViewDatabodyStyleManager getGridViewDatabodyStyleManager()
ThinGridView uses. The databody style manager is responsible for the formatting of the databody cells in this ThinGridView. For example, the ViewStyle object from the style manager determines the background color of a databody cell.GridViewDatabodyStyleManager that this ThinGridView uses. If this ThinGridView does not have a controller, then this method returns null.ViewStylepublic GridViewHeaderStyleManager getGridViewHeaderStyleManager()
ThinGridView uses. The header style manager is responsible for the formatting of the header cells in this ThinGridView. For example, the ViewStyle object from the style manager determines the background color of a header cell.GridViewHeaderStyleManager that this ThinGridView uses. If this ThinGridView does not have a controller, then this method returns null.ViewStylepublic GridViewSizingManager getGridViewSizingManager()
ThinGridView uses. The sizing manager is responsible for the size of the columns in this ThinGridView. Note : The sizing manager is shared with the Java Client GridView, so it does contain sizing rules for cell heights. ThinGridView does not support sizing of cell heights.ThinGridView uses. If this ThinGridView does not have a controller, then this method returns null.public void setLocale(java.util.Locale loc)
ThinDataviewCommonLocale for this ThinDataviewCommon.setLocale in class ThinDatavieworacle.dss.thin.beans.dataView.ThinDataviewCommonloc - The Locale for this ThinDataviewCommon.public void setViewFormat(ViewFormat vf)
ViewFormat object for this ThinGridView. The ViewFormat specifies attributes that this ThinGridView 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 ThinGridView.public ViewFormat getViewFormat()
ViewFormat object that this ThinGridView uses to format numbers.getViewFormat in interface FormattableViewFormat that this ThinGridView uses.public void setVisible(boolean visible)
ThinGridView is visible.visible - true to make this ThinGridView visible, false to hide it.public boolean isVisible()
ThinGridView is visible.true if this ThinGridView is visible, false if it is not.public void setGridColor(java.awt.Color color)
ThinGridView. Note : This property is not supported in Netscape 4.x browserscolor - The Color for the gridlines in this ThinGridView.public java.awt.Color getGridColor()
ThinGridView. Note : This property is not supported in Netscape 4.x browsersThinGridView.public void setHTMLTextInputSize(int size)
setHTMLTextInputSize in interface GridViewCommonsize - the number of characterspublic int getHTMLTextInputSize()
getHTMLTextInputSize in interface GridViewCommonpublic java.lang.Integer getHTMLTableCellPadding()
getHTMLTableCellPadding in interface GridViewCommonpublic void setHTMLTableCellPadding(java.lang.Integer padding)
setHTMLTableCellPadding in interface GridViewCommonthe - new cell padding of the gridview's HTML tablepublic java.lang.String getHTMLTableWidth()
getHTMLTableWidth in interface GridViewCommonpublic void setHTMLTableWidth(java.lang.String width)
setHTMLTableWidth in interface GridViewCommonthe - new width of the gridview HTML tablepublic void setEnabled(boolean enabled)
ThinGridView is enabled. When a ThinGridView is disabled, it is visible, but users cannot operate on the ThinGridView. For example, they cannot swap dimensions or edit a cell.setEnabled in class ThinDataviewenabled - true to enable this ThinGridView, false to disable it.public boolean isEnabled()
ThinGridView is enabled. When a ThinGridView is disabled, it is visible, but users cannot operate on the ThinGridView. For example, they cannot swap dimensions or drill.isEnabled in class ThinDataviewpublic void setDrillOutCallback(DrillOutCallback callback)
callback - an instance of a DrillOutCallback interfaceDrillOutCallbackpublic DrillOutCallback getDrillOutCallback()
DrillOutCallback
public void setGraphicImagePath(int index,
java.lang.String imagePath)
ThinGridView. Images are stored in a vector of image paths. Note that images for drill icons are stored in a separate vector. Note : The graphic image path is a relative path with the UIX images directory as its root. For example, if the UIX image directory was "d:\myWebServer\cabo\images" and the graphic image path is "myApplicationImages\myGraphicImage.gif", then the physical image location is "d:\myWebServer\cabo\images\myApplicationImages\myGraphicImage.gif".index - The index, in the image vector, where you want to store an image path. 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 path to store.setDrillImagePath(int, java.lang.String)public java.lang.String getGraphicImagePath(int index)
ThinGridView. Note that images for drill icons are stored in a separate vector. Note : The graphic image path is a relative path with the UIX images directory as its root. For example, if the UIX image directory was "d:\myWebServer\cabo\images" and the graphic image path is "myApplicationImages\myGraphicImage.gif", then the physical image location is "d:\myWebServer\cabo\images\myApplicationImages\myGraphicImage.gif".index - The index, in the vector, of the image 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.getDrillImagePath(int)public int getGraphicImageCount()
ThinGridView. This method returns the size of the vector of images for this ThinGridView.ThinGridView.
public void setDrillImagePath(int index,
java.lang.String imagePath)
ThinGridView. This method stores an image in a vector of drill images for this ThinGridView. 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. Note : The drill image path is a relative path with the UIX images directory as its root. For example, if the UIX image directory was "d:\myWebServer\cabo\images" and the drill image path is "myApplicationImages\myDrillImage.gif", then the physical image location is "d:\myWebServer\cabo\images\myApplicationImages\myDrillImage.gif".index - The index in the vector of drill. Use the constants from the DataDirector interface, either DataDirector.DRILLSTATE_DRILLABLE or DataDirector.DRILLSTATE_DRILLED.image - The image path to store.DataDirectorpublic java.lang.String getDrillImagePath(int index)
ThinGridView. Note : The drill image path is a relative path with the UIX images directory as its root. For example, if the UIX image directory was "d:\myWebServer\cabo\images" and the drill image path is "myApplicationImages\myDrillImage.gif", then the physical image location is "d:\myWebServer\cabo\images\myApplicationImages\myDrillImage.gif".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.DataDirectorpublic abstract GridViewDatabody getDatabody()
ThinGridView.ThinGridView.public abstract GridViewHeader getColumnHeader()
ThinGridView.ThinGridView.public abstract GridViewHeader getRowHeader()
ThinGridView.ThinGridView.public void setCellMaxWidth(int width)
ThinGridView, in pixels.
Note : If the contents of a cell are larger than can fit in the minumum width then the browser will automatically make the cell wide enough to fit all of the contents. In order to reduce a cell's size either its font can be changed or word wrapping can be enabled.
width - The maximum width for cells in this ThinGridView.public int getCellMaxWidth()
ThinGridView, in pixels.
Note : If the contents of a cell are larger than can fit in the minumum width then the browser will automatically make the cell wide enough to fit all of the contents. In order to reduce a cell's size either its font can be changed or word wrapping can be enabled.
getCellMaxWidth in interface GridViewCommonThinGridView.public void setCellMinWidth(int width)
ThinGridView, in pixels.
Note : If the contents of a cell are larger than can fit in the minumum width then the browser will automatically make the cell wide enough to fit all of the contents. In order to reduce a cell's size either its font can be changed or word wrapping can be enabled.
The - minimum width for cells in this ThinGridView.public int getCellMinWidth()
ThinGridView, in pixels.
Note : If the contents of a cell are larger than can fit in the minumum width then the browser will automatically make the cell wide enough to fit all of the contents. In order to reduce a cell's size either its font can be changed or word wrapping can be enabled.
getCellMinWidth in interface GridViewCommonThinGridView.public 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 ThinDatavieworacle.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 void setHTMLRowBlockSize(int size)
setHTMLRowBlockSize in interface GridViewCommonoracle.dss.gridView.GridViewCommonsize - The number of rows to print on a page of a thin table or crosstab.public int getHTMLRowBlockSize()
getHTMLRowBlockSize in interface GridViewCommonpublic void setHTMLColumnBlockSize(int size)
Currently this property is only supported in ThinCrosstabs.
public int getHTMLColumnBlockSize()
Currently this property is only supported in ThinCrosstabs.
public void setBanding(int banding)
setBanding in interface GridViewCommonoption - can either be ROW_BANDING, COLUMN_BANDING, or NO_BANDINGpublic int getBanding()
getBanding in interface GridViewCommonpublic void setHTMLColumnSizing(int htmlColumnSizing)
setHTMLColumnSizing in interface GridViewCommonoracle.dss.gridView.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()
getHTMLColumnSizing in interface GridViewCommonoracle.dss.gridView.GridViewCommonGridViewCommon uses.GridViewCommon.NO_COLUMN_SIZING, GridViewCommon.ABSOLUTE_COLUMN_SIZING, GridViewCommon.RELATIVE_COLUMN_SIZINGpublic void setHGridVisible(boolean b)
b - true to display horizontal gridlines, false to hide them.public boolean isHGridVisible()
true horizontal gridlines are visible, false if they are not visible.public void setVGridVisible(boolean b)
b - true to display vertical gridlines, false to hide them.public boolean isVGridVisible()
true if vertical gridlines are visible, false if they are not visible.public void setStartRow(int r)
r - 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 ThinGridView, then this method logs a message with the error handler, and StartRow keeps its previous value.public int getStartRow()
public void setStartColumn(int c)
c - The index of the first column to display. If c is less than zero or greater than the number of columns in the ThinGridView, then this method logs a message with the error handler, and StartColumn keeps its previous value.public int getStartColumn()
public java.awt.Color getCornerComponentColor()
oracle.dss.dataView.CSSStyleDefaults are applied to the view the Color that is returned from this method will not have the correct default value.c - The background color to use for the corner component.public void setCornerComponentColor(java.awt.Color c)
public void applyCSSStyleDefaults(CSSStyleDefaults defaults)
ViewStyles of GridView components are set to the values defined for the components in bistyles.xss, the XML file that defines the GridView's CSS styles. For example, before applyCSSStyleDefaults() is called, the column header ViewStyle's background would be set to white, even though the column header's background was light brown, as defined in the CSS file. After applyCSSStyleDefaults() is called, the column header ViewStyle's background would be light brown. Note: If getXML() is called with allProperties specified to be true, then the GridView will generate XML for all of its properties. If applyCSSStyleDefaults() is not called before the XML is generated, then the ViewStyle properties for the GridView components will not write out their correct values, since the actual styles are determined by the CSS file. A default implementation of the CSSStyleDefaults interface is CSSStyleDefaultsImpldefaults - the CSSStyleDefaults object providing the new defaultsCSSStyleDefaultsImplpublic boolean isCellEditingAllowed()
ThinGridView.true if cells can be edited, false if they cannot.public void setCellEditingAllowed(boolean b)
ThinGridView.b - true to allow cell editing, false to prohibit it.public abstract void setColumnHeaderVisible(boolean visible)
ThinGridView.visible - true to display the column header, false to hide it.public abstract boolean isColumnHeaderVisible()
ThinGridView.true if the column header appears, false if it does not.public abstract void setRowHeaderVisible(boolean visible)
ThinGridView.visible - true to display the row header, false to hide it.public abstract boolean isRowHeaderVisible()
ThinGridView.true if the row header appears, false if it does not.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||