| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.dss.util.PagingControlAttributesAdapter
oracle.dss.dataView.UIDataviewAdapter
public abstract class UIDataviewAdapter
Adapter class for the UIDataview interface.
 Create an instance of a concrete subclass of this proxy class so that the UI panels
 can be displayed before a view is constructed.
| Field Summary | |
|---|---|
| protected  boolean | m_customColorsEnabled | 
| protected  DataviewTitles | m_dataViewFootnote | 
| protected  DataviewTitles | m_dataViewSubtitle | 
| protected  DataviewTitles | m_dataViewTitle | 
| protected  ErrorHandler | m_errorHandler | 
| protected  javax.swing.event.EventListenerList | m_listenerList | 
| protected  java.util.Locale | m_locale | 
| protected  ComponentHandle | m_selectedObject | 
| protected  TokenSubstitution | m_token | 
| Fields inherited from class oracle.dss.util.PagingControlAttributesAdapter | 
|---|
| m_bPagingControlVisible | 
| Constructor Summary | |
|---|---|
| UIDataviewAdapter()Constructor. | |
| UIDataviewAdapter(UIDataview view)Constructor that initializes this adapter from an existing view or proxy. | |
| Method Summary | |
|---|---|
|  void | addControllerListener(ControllerListener l)Adds a listener for user gestures that do not affect data, such as selecting or resizing a component. | 
| protected  void | applyTitleAttributes(UIDataview toView) | 
|  void | applyToDataview(UIDataview view)Applies properties of this adapter to a UIDataview. | 
| protected  void | cleanUp() | 
| static void | clearPropertyOverrideFlag(int attrID,
                          java.util.BitSet overrideFlags) | 
|  int | convertComponentTypeToInteger(java.lang.String type)Retrieves an integer representation of a view component, from a String. | 
|  java.lang.String | convertComponentTypeToString(int type)Retrieves a Stringrepresentation of a view component,
 from an integer. | 
|  java.util.BitSet | createPropertyOverrideFlags(int maxID) | 
|  void | dataFormatChanged() | 
|  void | dataStyleChanged() | 
| protected  void | fireComponentSelected(java.lang.Object source,
                      ComponentHandle id) | 
| protected  boolean | fireComponentSelecting(java.lang.Object source,
                       ComponentHandle id) | 
|  DataSource | getDataSource()Retrieves the data source for this view. | 
|  DataviewTitles | getDataviewFootnote()Retrieves the Footnotecomponent for this adapter. | 
|  DataviewTitles | getDataviewSubtitle()Retrieves the Subtitlecomponent for this adapter. | 
|  DataviewTitles | getDataviewTitle()Retrieves the Titlecomponent for this adapter. | 
|  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 to display for dimension names on the specified edge. | 
|  java.util.Locale | getLocale()Retrieves the Localethat thisUIDataviewAdapteruses. | 
|  java.lang.String | getMemberMetadataLabelType(int edge)Retrieves the type of labels to display for dimension members on the specified edge. | 
|  Model | getModel()Retrieves the model for this view. | 
|  ComponentHandle | getSelectedObject()Retrieves the selected component. | 
|  TokenSubstitution | getTokenSubstitution()Retrieves the handler for token substitution in this view. | 
| abstract  int | getViewType()Get the specific type of the view that this adapter represents. | 
|  WaitData | getWaitDataForRow(int row) | 
|  int | getZoomFactor()Retrieves the default zoom factor for this view. | 
|  void | initFromDataview(UIDataview view)Initializes the properties of this adapter from a UIDataview. | 
| protected  void | initTitleAttributes(UIDataview fromView) | 
|  boolean | isCustomColorsEnabled()Return if the custom color option is enabled on all color choice pickers | 
|  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 | isPropertyOverrideFlag(int attrID,
                       java.util.BitSet overrideFlags) | 
| protected  boolean | isStyleOverrideMode() | 
| protected  boolean | isUserOverrideMode() | 
|  void | metadataStyleChanged() | 
|  void | removeControllerListener(ControllerListener l)Removes a listener for user gestures that do not affect data. | 
|  void | repaint() | 
|  java.awt.Font | scaleFont(java.awt.Font f,
          int zoomFactor) | 
|  boolean | selectObject(ComponentHandle handle)Sets the selected component. | 
|  void | setCustomColorsEnabled(boolean enabled)Set custom color option enabled on all color choice pickers | 
|  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 | setLocale(java.util.Locale loc)Sets the Localethat thisUIDataviewAdapteruses. | 
|  void | setPropertyOverrideFlags(int attrID,
                         java.util.BitSet userFlags,
                         java.util.BitSet styleFlags) | 
| protected  void | setStyleOverrideMode(boolean flag) | 
|  void | setTokenSubstitution(TokenSubstitution token)Specifies a handler for token substitution in this view. | 
| protected  void | setUserOverrideMode(boolean flag) | 
|  void | setWaitDataForRow(int row,
                  WaitData waitData) | 
| Methods inherited from class oracle.dss.util.PagingControlAttributesAdapter | 
|---|
| applyToPagingControlAttributes, initFromPagingControlAttributes, isPagingControlVisible, setPagingControlVisible | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface oracle.dss.util.PagingControlAttributes | 
|---|
| isPagingControlVisible, setPagingControlVisible | 
| Methods inherited from interface oracle.dss.dataView.DataviewCommon | 
|---|
| isPagingControlVisible, setPagingControlVisible | 
| Field Detail | 
|---|
protected DataviewTitles m_dataViewTitle
protected DataviewTitles m_dataViewSubtitle
protected DataviewTitles m_dataViewFootnote
protected java.util.Locale m_locale
protected ComponentHandle m_selectedObject
protected javax.swing.event.EventListenerList m_listenerList
protected TokenSubstitution m_token
protected ErrorHandler m_errorHandler
protected boolean m_customColorsEnabled
| Constructor Detail | 
|---|
public UIDataviewAdapter()
public UIDataviewAdapter(UIDataview view)
view - The UIDataview to initialize this adapter from.| Method Detail | 
|---|
public void initFromDataview(UIDataview view)
UIDataview.  
 The view's Locale and SelectedObject will be set on this adapter.  
 This method calls the initFromPagingControlAttributes method
 of the superclass.
view - The UIDataview to initialize this adapter from.public void applyToDataview(UIDataview view)
UIDataview.
 This method calls the applyToPagingControlAttributes method
 of the superclass.
view - The view to apply properties of this adapter to.public java.util.Locale getLocale()
Locale that this UIDataviewAdapter uses.
getLocale in interface DataviewCommongetLocale in interface UIViewLocale for this UIDataviewAdapter.public void setLocale(java.util.Locale loc)
Locale that this UIDataviewAdapter uses.
loc - The Locale for this UIDataviewAdapter.public ComponentHandle getSelectedObject()
getSelectedObject in interface UIViewComponentHandle.public DataviewTitles getDataviewTitle()
Title component for this adapter.
getDataviewTitle in interface DataviewCommongetDataviewTitle in interface UIDataviewTitle component for this adapter.public DataviewTitles getDataviewSubtitle()
Subtitle component for this adapter.
getDataviewSubtitle in interface DataviewCommongetDataviewSubtitle in interface UIDataviewSubtitle component for this adapter.public DataviewTitles getDataviewFootnote()
Footnote component for this adapter.
getDataviewFootnote in interface DataviewCommongetDataviewFootnote in interface UIDataviewFootnote component for this adapter.public boolean selectObject(ComponentHandle handle)
handle - A handle for the selected component. The parameter
        should actually be a concrete subclass of
        ComponentHandle.
true if the component is successfully selected,
         false if selection fails.public void addControllerListener(ControllerListener l)
addControllerListener in interface UIViewl - The listener to add.ControllerListener.componentSelected(oracle.dss.dataView.ControllerEvent), 
ControllerListenerAdapterpublic void removeControllerListener(ControllerListener l)
removeControllerListener in interface UIViewl - The listener to remove.public abstract int getViewType()
getViewType in interface DataviewCommongetViewType in interface UIViewDataviewConstants.VIEW_TYPE_CROSSTAB, 
DataviewConstants.VIEW_TYPE_GRAPH, 
DataviewConstants.VIEW_TYPE_TABLEpublic void setTokenSubstitution(TokenSubstitution token)
TokenSubstitution.
 You need to call this method only if you provide your own handler for
 allowing users to insert tokens.
setTokenSubstitution in interface DataviewCommonsetTokenSubstitution in interface UIDataviewtoken - The token substitution handler for this view.public TokenSubstitution getTokenSubstitution()
TokenSubstitution.
getTokenSubstitution in interface DataviewCommongetTokenSubstitution in interface UIDataviewTokenSubstitutionAdapter.public ErrorHandler getErrorHandler()
DataviewCommon
getErrorHandler in interface DataviewCommonpublic FontList getFontList()
getFontList in interface DataviewCommonpublic int getZoomFactor()
scaleFont method.
getZoomFactor in interface DataviewCommon
public java.awt.Font scaleFont(java.awt.Font f,
                               int zoomFactor)
scaleFont in interface DataviewCommonf - 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()).public java.lang.String getIntlString(java.lang.String key)
getIntlString in interface DataviewCommonkey - the String that needs to be translated.
public java.lang.String getIntlString(java.lang.String key,
                                      java.util.ResourceBundle rBundle)
getIntlString in interface DataviewCommonkey - the String that needs to be translated.rBundle - the bundle to look in
public boolean isLayerMetaShortLabelSupported()
isLayerMetaShortLabelSupported in interface DataviewCommonpublic boolean isLayerMetaViewStyleSupported()
isLayerMetaViewStyleSupported in interface DataviewCommonpublic boolean isMetadataViewStyleSupported()
isMetadataViewStyleSupported in interface DataviewCommonpublic boolean isMetadataShortLabelSupported()
isMetadataShortLabelSupported in interface DataviewCommonpublic boolean isDataUnformattedSupported()
isDataUnformattedSupported in interface DataviewCommonpublic boolean isDataViewFormatSupported()
isDataViewFormatSupported in interface DataviewCommonpublic boolean isMemberMetadataLabelTypeSupported(java.lang.String type)
isMemberMetadataLabelTypeSupported in interface DataviewCommontype - type of member metadata label
public boolean isLayerMetadataLabelTypeSupported(java.lang.String type)
isLayerMetadataLabelTypeSupported in interface DataviewCommontype - type of layer metadata label
public java.lang.String getLayerMetadataLabelType(int edge)
LAYER_METADATA_LONGLABEL.
getLayerMetadataLabelType in interface DataviewCommonedge - 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_NAMEpublic java.lang.String getMemberMetadataLabelType(int edge)
METADATA_LONGLABEL.
getMemberMetadataLabelType in interface DataviewCommonedge - 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_VALUEpublic void repaint()
repaint in interface DataviewCommonpublic void metadataStyleChanged()
metadataStyleChanged in interface DataviewCommonpublic void dataStyleChanged()
dataStyleChanged in interface DataviewCommonpublic void dataFormatChanged()
dataFormatChanged in interface DataviewCommonpublic WaitData getWaitDataForRow(int row)
getWaitDataForRow in interface DataviewCommonrow - The index of the row that you want to know about.
WaitData object for the row, otherwise this
 method will return null.
public void setWaitDataForRow(int row,
                              WaitData waitData)
setWaitDataForRow in interface DataviewCommonrow - 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.public Model getModel()
getModel in interface DataviewCommongetModel in interface UIViewnull.public int convertComponentTypeToInteger(java.lang.String type)
String.
convertComponentTypeToInteger in interface ComponentTypeConverterThe - constant for a view component.
public java.lang.String convertComponentTypeToString(int type)
String representation of a view component,
 from an integer.
convertComponentTypeToString in interface ComponentTypeConvertertype - An identifier for a view component.
null.public void setHTMLPagingControlAutosubmit(boolean autosubmit)
DataviewCommon
setHTMLPagingControlAutosubmit in interface DataviewCommonautosubmit - true, if autosubmit is enabled, and false if autosubmit is disabledpublic boolean isHTMLPagingControlAutosubmit()
DataviewCommon
isHTMLPagingControlAutosubmit in interface DataviewCommonpublic void setHTMLPagingControlWidth(int width)
DataviewCommon
setHTMLPagingControlWidth in interface DataviewCommonwidth - the number of page items to display before wrappingpublic int getHTMLPagingControlWidth()
DataviewCommon
getHTMLPagingControlWidth in interface DataviewCommonprotected void applyTitleAttributes(UIDataview toView)
protected void initTitleAttributes(UIDataview fromView)
protected boolean fireComponentSelecting(java.lang.Object source,
                                         ComponentHandle id)
source - the source of the event (usually this adapter)id - the ComponentHandle of the object being selected
protected void fireComponentSelected(java.lang.Object source,
                                     ComponentHandle id)
source - the source of this event (usually this adapter)id - the ComponentHandle of the object being selectedpublic void setDataSource(DataSource ds)
setDataSource in interface DataviewCommonds - The data source for this view.public DataSource getDataSource()
getDataSource in interface DataviewCommonnull.protected void cleanUp()
public java.util.BitSet createPropertyOverrideFlags(int maxID)
createPropertyOverrideFlags in interface DataviewCommon
public void setPropertyOverrideFlags(int attrID,
                                     java.util.BitSet userFlags,
                                     java.util.BitSet styleFlags)
setPropertyOverrideFlags in interface DataviewCommon
public boolean isPropertyOverrideFlag(int attrID,
                                      java.util.BitSet overrideFlags)
isPropertyOverrideFlag in interface DataviewCommon
public static void clearPropertyOverrideFlag(int attrID,
                                             java.util.BitSet overrideFlags)
public void setCustomColorsEnabled(boolean enabled)
setCustomColorsEnabled in interface UIViewenabled - true to enable custom color option on all color choice pickers
                false to disable itpublic boolean isCustomColorsEnabled()
isCustomColorsEnabled in interface UIViewtrue custom color option is enabled on all color choice pickers
         false custom color option is disabledprotected void setStyleOverrideMode(boolean flag)
protected boolean isStyleOverrideMode()
protected void setUserOverrideMode(boolean flag)
protected boolean isUserOverrideMode()
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||