|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataviewCommon
Methods that are common to Java-client views and HTML-client views.
Method Summary | |
---|---|
java.util.BitSet |
createPropertyOverrideFlags(int maxID)
|
void |
dataFormatChanged()
|
void |
dataStyleChanged()
|
DataSource |
getDataSource()
Retrieves the data source for this view. |
DataviewTitles |
getDataviewFootnote()
Retrieves the footnote for this view. |
DataviewTitles |
getDataviewSubtitle()
Retrieves the subtitle for this view. |
DataviewTitles |
getDataviewTitle()
Retrieves the title for this view. |
ErrorHandler |
getErrorHandler()
Retrieves the current error handler for this view. |
FontList |
getFontList()
|
int |
getHTMLPagingControlWidth()
Retrieves the number of page items that are displayed before the paging control wraps. |
java.lang.String |
getIntlString(java.lang.String key)
|
java.lang.String |
getIntlString(java.lang.String key,
java.util.ResourceBundle rBundle)
|
java.lang.String |
getLayerMetadataLabelType(int edge)
Retrieves the type of labels that this view displays for dimension names on the specified edge. |
java.util.Locale |
getLocale()
Retrieves the Locale for this DataviewCommon . |
java.lang.String |
getMemberMetadataLabelType(int edge)
Retrieves the type of labels that this view displays for dimension members on the specified edge. |
Model |
getModel()
Retrieves the model for this DataviewCommon . |
TokenSubstitution |
getTokenSubstitution()
Retrieves the handler for token substitution in this view. |
int |
getViewType()
|
WaitData |
getWaitDataForRow(int row)
|
int |
getZoomFactor()
|
boolean |
isDataUnformattedSupported()
|
boolean |
isDataViewFormatSupported()
|
boolean |
isHTMLPagingControlAutosubmit()
Indicates whether paging control changes are automatically submitted. |
boolean |
isLayerMetadataLabelTypeSupported(java.lang.String type)
|
boolean |
isLayerMetaShortLabelSupported()
|
boolean |
isLayerMetaViewStyleSupported()
|
boolean |
isMemberMetadataLabelTypeSupported(java.lang.String type)
|
boolean |
isMetadataShortLabelSupported()
|
boolean |
isMetadataViewStyleSupported()
|
boolean |
isPagingControlVisible()
|
boolean |
isPropertyOverrideFlag(int attrID,
java.util.BitSet overrideFlags)
|
void |
metadataStyleChanged()
|
void |
repaint()
|
java.awt.Font |
scaleFont(java.awt.Font f,
int zoomFactor)
|
void |
setDataSource(DataSource ds)
Specifies the data source for this view. |
void |
setHTMLPagingControlAutosubmit(boolean autosubmit)
Specifies whether paging control changes are automatically submitted. |
void |
setHTMLPagingControlWidth(int width)
Specifies the number of page items that are displayed before the paging control wraps to a new line. |
void |
setPagingControlVisible(boolean v)
|
void |
setPropertyOverrideFlags(int attrID,
java.util.BitSet userFlags,
java.util.BitSet styleFlags)
|
void |
setTokenSubstitution(TokenSubstitution token)
Specifies a handler for token substitution in this view. |
void |
setWaitDataForRow(int row,
WaitData waitData)
|
Methods inherited from interface oracle.dss.rules.ComponentTypeConverter |
---|
convertComponentTypeToInteger, convertComponentTypeToString |
Method Detail |
---|
ErrorHandler getErrorHandler()
FontList getFontList()
int getZoomFactor()
java.awt.Font scaleFont(java.awt.Font f, int zoomFactor)
f
- The font to scale.zoomFactor
- The percent of the default zoom factor to make the
font. For example, to double the size of the font,
pass 2 * (getZoomFactor())
.java.lang.String getIntlString(java.lang.String key)
key
- the String that needs to be translated.
java.lang.String getIntlString(java.lang.String key, java.util.ResourceBundle rBundle)
key
- the String that needs to be translated.rBundle
- the bundle to look in
java.util.Locale getLocale()
Locale
for this DataviewCommon
.
loc
- The Locale
for this DataviewCommon
.Model getModel()
DataviewCommon
.
The model represents the data that this DataviewCommon
displays.
DataviewCommon
.boolean isMetadataViewStyleSupported()
boolean isLayerMetaViewStyleSupported()
boolean isLayerMetaShortLabelSupported()
boolean isMetadataShortLabelSupported()
boolean isDataUnformattedSupported()
boolean isDataViewFormatSupported()
boolean isMemberMetadataLabelTypeSupported(java.lang.String type)
type
- type of member metadata label
boolean isLayerMetadataLabelTypeSupported(java.lang.String type)
type
- type of layer metadata label
void repaint()
void metadataStyleChanged()
void dataStyleChanged()
void dataFormatChanged()
WaitData getWaitDataForRow(int row)
row
- The index of the row that you want to know about.
WaitData
object for the row, otherwise this
method will return null
.void setWaitDataForRow(int row, WaitData waitData)
row
- The index of the row that is waiting for data.waitData
- The WaitData
object that you want to use
to display a message in each cell on the row.void setHTMLPagingControlAutosubmit(boolean autosubmit)
autosubmit
- true
to enable automatic submission,
false
to disable it.boolean isHTMLPagingControlAutosubmit()
true
if changes are automatically submitted,
false
if they are not.void setHTMLPagingControlWidth(int width)
width
- The number of page items to display before wrapping.
To display all page items on the same line, pass -1.int getHTMLPagingControlWidth()
void setDataSource(DataSource ds)
Model
class in a presentation bean represents the
DataSource
to the view, but the DataSource
is the real source of the data.
ds
- The data source for this view.DataSource getDataSource()
DataSource
for this view.
If no model or data source has been set for this view,
this method returns null
.java.util.BitSet createPropertyOverrideFlags(int maxID)
void setPropertyOverrideFlags(int attrID, java.util.BitSet userFlags, java.util.BitSet styleFlags)
boolean isPropertyOverrideFlag(int attrID, java.util.BitSet overrideFlags)
DataviewTitles getDataviewFootnote()
DataviewTitles getDataviewSubtitle()
DataviewTitles getDataviewTitle()
java.lang.String getLayerMetadataLabelType(int edge)
LAYER_METADATA_LONGLABEL
.
Returns null
if the specified edge is invalid.
edge
- A constant that represents the edge for which to get the
metadata label type.
Valid constants are listed in the See Also section,
and they end with "EDGE".
DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
DataDirector.PAGE_EDGE
,
LayerMetadataMap.LAYER_METADATA_LONGLABEL
,
LayerMetadataMap.LAYER_METADATA_MEDIUMLABEL
,
LayerMetadataMap.LAYER_METADATA_SHORTLABEL
,
LayerMetadataMap.LAYER_METADATA_NAME
java.lang.String getMemberMetadataLabelType(int edge)
METADATA_LONGLABEL
.
Returns null
if the specified edge is invalid.
edge
- A constant that represents the edge for which to get
the metadata label type.
Valid constants are listed in the See Also section,
and they end with "EDGE".
DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
DataDirector.PAGE_EDGE
,
MetadataMap.METADATA_LONGLABEL
,
MetadataMap.METADATA_MEDIUMLABEL
,
MetadataMap.METADATA_SHORTLABEL
,
MetadataMap.METADATA_VALUE
int getViewType()
DataviewConstants.VIEW_TYPE_CROSSTAB
,
DataviewConstants.VIEW_TYPE_GRAPH
,
DataviewConstants.VIEW_TYPE_TABLE
void setTokenSubstitution(TokenSubstitution token)
TokenSubstitution
.
You need to call this method only if you provide your own handler for
allowing users to insert tokens.
token
- The token substitution handler for this view.TokenSubstitution getTokenSubstitution()
TokenSubstitution
.
TokenSubstitutionAdapter
.void setPagingControlVisible(boolean v)
boolean isPagingControlVisible()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |