|
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.util.PagingControlAttributesAdapter | +--oracle.dss.dataView.UIDataviewAdapter | +--oracle.dss.gridView.UIGridViewAdapter
Adapter for a GridView. The default user adapter for the crosstab or table bean. Instantiate this adapter class to construct UI panels before creating a GridView object.
Fields inherited from interface oracle.dss.gridView.GridViewCommon |
ABSOLUTE_COLUMN_SIZING, COLUMN_BANDING, NO_BANDING, NO_COLUMN_SIZING, RELATIVE_COLUMN_SIZING, ROW_BANDING |
Constructor Summary | |
UIGridViewAdapter() Empty Constructor | |
UIGridViewAdapter(UIGridView gridView) Create adapter from an existing view |
Method Summary | |
void |
applyToGridView(UIGridView gridview) Apply properties of this adapter to a UIGridView . |
void |
dataAndMetadataStyleChanged() Notifies the view that its data and metadata styles have changed. |
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 . |
GridViewHeader |
getColumnHeader() Retrieves the column header for this GridView . |
java.lang.Object |
getComponentFromID(int ID) Get a view component specified by its integer ID. |
GridViewDatabody |
getDatabody() Retrieves the databody for this GridView . |
java.awt.Color |
getGridColor() Retrieves the color of the gridlines in this GridView . |
GridViewDatabodyStyleManager |
getGridViewDatabodyStyleManager() Retrieves the style manager that this GridView uses. |
GridViewFormatManager |
getGridViewFormatManager() Retrieves the format manager that this GridView uses. |
GridViewHeaderStyleManager |
getGridViewHeaderStyleManager() Retrieves the style manager that this GridView uses. |
java.awt.Color |
getHGridColor() Retrieves the color of the horizontal gridlines in this GridView . |
Model |
getModel() Get the model for the common view. |
PagingControl |
getPagingControl() Retrieves the paging control for this GridView . |
GridViewHeader |
getRowHeader() Retrieves the row header for this GridView . |
int |
getToolbarUIFormatCount() Retrieves the count of UI defined formats |
int |
getUIFormatCount() Retrieves the count of UI defined formats |
java.util.Vector |
getUIFormats() Retrieves the format bundle of UI panel defined formats |
java.awt.Color |
getVGridColor() Retrieves the color of the vertical gridlines in this GridView . |
void |
initFromGridView(UIGridView gridview) Initialize the properties of this adapter from a UIGridView . |
boolean |
isColumnHeaderVisible() Return if the column header is visible |
boolean |
isGrid3D() Indicates whether the gridlines in this GridView have a three-dimensional appearance. |
boolean |
isHGridVisible() Indicates whether horizontal gridlines are visible in this GridView . |
boolean |
isRowHeaderVisible() Return if row header is visible |
boolean |
isVGridVisible() Specifies whether vertical gridlines are visible in this GridView . |
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 |
setColumnHeaderVisible(boolean visible) Set column header visible |
void |
setDefaultCornerComponentColor(java.awt.Color c) Specifies a default background color for the corner component. |
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 . |
void |
setHGridVisible(boolean b) Specifies whether horizontal gridlines appear in this GridView . |
void |
setLocale(java.util.Locale locale) Set the Locale for this UIGridView . |
void |
setRowHeaderVisible(boolean visible) Set row header visible |
void |
setToolbarUIFormatCount(int count) Set count of Toolbar defined formats |
void |
setUIFormatCount(int count) Set count of UI defined formats |
void |
setUIFormats(java.util.Vector formats) Set format bundle of UI panel defined formats |
void |
setVGridColor(java.awt.Color color) Specifies the color of the vertical gridlines in this GridView . |
void |
setVGridVisible(boolean b) Indicates whether vertical gridlines appear in this GridView . |
Methods inherited from class oracle.dss.dataView.UIDataviewAdapter |
addControllerListener, applyToDataview, convertComponentTypeToInteger, convertComponentTypeToString, getDataSource, getDataviewFootnote, getDataviewSubtitle, getDataviewTitle, getLocale, getSelectedObject, getTokenSubstitution, getViewType, getZoomFactor, initFromDataview, removeControllerListener, selectObject, setDataSource, setTokenSubstitution |
Methods inherited from class oracle.dss.util.PagingControlAttributesAdapter |
applyToPagingControlAttributes, initFromPagingControlAttributes, isPagingControlVisible, setPagingControlVisible |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.gridView.UIGridView |
getLocale |
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.GridViewAttribute |
applyViewFormat, applyViewStyle, getComponentViewFormat, getComponentViewStyle |
Methods inherited from interface oracle.dss.dataView.UIDataview |
addControllerListener, getDataviewFootnote, getDataviewSubtitle, getDataviewTitle, getSelectedObject, getTokenSubstitution, getViewType, removeControllerListener, setTokenSubstitution |
Methods inherited from interface oracle.dss.util.PagingControlAttributes |
isPagingControlVisible, setPagingControlVisible |
Constructor Detail |
public UIGridViewAdapter()
public UIGridViewAdapter(UIGridView gridView)
Method Detail |
public void setAutoFitScope(int scope)
setAutoFitScope
in interface UIGridView
public int getAutoFitScope()
getAutoFitScope
in interface UIGridView
public void dataAndMetadataStyleChanged()
dataAndMetadataStyleChanged
in interface UIGridView
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 ViewStyle
for the databody. To make individual cells transparent, create rules and set them in the style manager for this GridView
.setBackgroundImage
in interface UIGridView
image
- The background image.getGridViewHeaderStyleManager()
, getGridViewDatabodyStyleManager()
, ViewStyle
, DiscriminatorRule
public 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 UIGridView
GridView
. If no background image has been set for this GridView
, then this method returns null
.public void setGrid3D(boolean b)
GridView
appear to be three-dimensional.setGrid3D
in interface UIGridView
b
- 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 UIGridView
true
if gridlines appear to be three-dimensional, false
if they appear to be flat.public void setGridColor(java.awt.Color color)
GridView
.setGridColor
in interface UIGridView
color
- The Color
for the gridlines in this GridView
.public java.awt.Color getGridColor()
GridView
.getGridColor
in interface UIGridView
GridView
.public void setVGridColor(java.awt.Color color)
GridView
.setVGridColor
in interface UIGridView
color
- The Color
for the gridlines in this GridView
.public void setHGridColor(java.awt.Color color)
GridView
.setHGridColor
in interface UIGridView
color
- The Color
for the gridlines in this GridView
.public java.awt.Color getVGridColor()
GridView
.getVGridColor
in interface UIGridView
GridView
.public java.awt.Color getHGridColor()
GridView
.getHGridColor
in interface UIGridView
GridView
.public void setHGridVisible(boolean b)
GridView
.setHGridVisible
in interface UIGridView
b
- true
to display horizontal gridlines, false
to hide them.public boolean isHGridVisible()
GridView
.isHGridVisible
in interface UIGridView
true
horizontal gridlines are visible, false
if they are not visible.public void setVGridVisible(boolean b)
GridView
.setVGridVisible
in interface UIGridView
b
- true
if vertical gridlines are visible, false
if they are not.public boolean isVGridVisible()
GridView
.isVGridVisible
in interface UIGridView
true
if vertical gridlines are visible, false
if they are not visible.public void setLocale(java.util.Locale locale)
Locale
for this UIGridView
.setLocale
in class UIDataviewAdapter
Locale
for this UIGridView
.public GridViewDatabody getDatabody()
GridView
.getDatabody
in interface UIGridView
GridView
.public GridViewHeader getColumnHeader()
GridView
.getColumnHeader
in interface UIGridView
GridView
.public GridViewHeader getRowHeader()
GridView
.getRowHeader
in interface UIGridView
GridView
.public PagingControl getPagingControl()
GridView
.getPagingControl
in interface UIGridView
GridView
.public void setColumnHeaderVisible(boolean visible)
setColumnHeaderVisible
in interface UIGridView
public boolean isColumnHeaderVisible()
isColumnHeaderVisible
in interface UIGridView
public void setRowHeaderVisible(boolean visible)
setRowHeaderVisible
in interface UIGridView
public boolean isRowHeaderVisible()
isRowHeaderVisible
in interface UIGridView
public GridViewHeaderStyleManager getGridViewHeaderStyleManager()
GridView
uses. The style manager is responsible for the formatting of the cells in this GridView
. For example, the ViewStyle
object from the style manager determines the background color of a cell.getGridViewHeaderStyleManager
in interface UIGridView
GridViewStyleManager
that this GridView
uses. If this GridView
does not have a controller, then this method returns null
.ViewStyle
public GridViewDatabodyStyleManager getGridViewDatabodyStyleManager()
GridView
uses. The style manager is responsible for the formatting of the cells in this GridView
. For example, the ViewStyle
object from the style manager determines the background color of a cell.getGridViewDatabodyStyleManager
in interface UIGridView
GridViewStyleManager
that this GridView
uses. If this GridView
does not have a controller, then this method returns null
.ViewStyle
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 UIGridView
GridViewFormatManager
that this GridView
uses. If this GridView
does not have a controller, then this method returns null
.ViewFormat
public Model getModel()
getModel
in interface UIGridView
getModel
in class UIDataviewAdapter
public java.lang.Object getComponentFromID(int ID)
ID
- the ID of the desired view componentpublic void setDefaultCornerComponentColor(java.awt.Color c)
setDefaultCornerComponentColor
in interface GridViewCommon
c
- The default background color to use for the corner component.public int getUIFormatCount()
getUIFormatCount
in interface UIGridView
UIFormat
defined.public void setUIFormatCount(int count)
setUIFormatCount
in interface UIGridView
the
- number of UIFormat
defined.public int getToolbarUIFormatCount()
getToolbarUIFormatCount
in interface UIGridView
UIFormat
defined.public void setToolbarUIFormatCount(int count)
setToolbarUIFormatCount
in interface UIGridView
the
- number of UIFormat
defined.public void setUIFormats(java.util.Vector formats)
setUIFormats
in interface UIGridView
Vector
- of UIFormat
public java.util.Vector getUIFormats()
getUIFormats
in interface UIGridView
UIFormat
defined.public void initFromGridView(UIGridView gridview)
UIGridView
. This method calls the superclass initFromDataview method.gridview
- the UIGridView used to initialize this adapterpublic void applyToGridView(UIGridView gridview)
UIGridView
. This method calls the superclass applyToDataview method.gridview
- the UIGridView to which properties of this adapter will be applied
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |