|
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
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.
Constructor Summary | |
UIDataviewAdapter() Constructor | |
UIDataviewAdapter(UIDataview view) Constructor that initializes this adapter from a UIDataview. |
Method Summary | |
void |
addControllerListener(ControllerListener l) Adds a listener for user gestures that do not affect data, such as selecting or resizing a component. |
void |
applyToDataview(UIDataview view) Apply properties of this adapter to a UIDataview . |
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 String representation of a view component, from an integer. |
DataSource |
getDataSource() Retrieves the data source for this view. |
DataviewTitles |
getDataviewFootnote() Retrieves the Footnote component for this dataview. |
DataviewTitles |
getDataviewSubtitle() Retrieves the Subtitle component for this dataview. |
DataviewTitles |
getDataviewTitle() Retrieves the Title component for this dataview. |
java.util.Locale |
getLocale() Retrieves the Locale that this UIDataviewAdapter uses. |
Model |
getModel() Get the model for the common 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. |
int |
getZoomFactor() Retrieves the default zoom factor for this view. |
void |
initFromDataview(UIDataview view) Initialize the properties of this adapter from a UIDataview . |
void |
removeControllerListener(ControllerListener l) Removes a listener for user gestures that do not affect data. |
boolean |
selectObject(ComponentHandle handle) Sets the selected component. |
void |
setDataSource(DataSource ds) Specifies the data source for this view. |
void |
setLocale(java.util.Locale loc) Sets the Locale that this UIDataviewAdapter uses. |
void |
setTokenSubstitution(TokenSubstitution token) Specifies a handler for token substitution in this view. |
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.util.PagingControlAttributes |
isPagingControlVisible, setPagingControlVisible |
Methods inherited from interface oracle.dss.dataView.DataviewCommon |
getErrorHandler, getHTMLPagingControlWidth, isHTMLPagingControlAutosubmit, setHTMLPagingControlAutosubmit, setHTMLPagingControlWidth |
Constructor Detail |
public UIDataviewAdapter()
public UIDataviewAdapter(UIDataview view)
view
- the UIDataview used to initialize this adapterMethod Detail |
public void initFromDataview(UIDataview view)
UIDataview
. The view's Locale and SelectedObject will be set on this adapter. This method calls the superclass initFromPagingControlAttributes method.view
- the UIDataview used to initialize this adapterpublic void applyToDataview(UIDataview view)
UIDataview
. This method calls the superclass applyToPagingControlAttributes method.view
- the view to which properties of this adapter will be appliedpublic java.util.Locale getLocale()
Locale
that this UIDataviewAdapter
uses.getLocale
in interface UIDataview
Locale
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 UIDataview
ComponentHandle
.public DataviewTitles getDataviewTitle()
getDataviewTitle
in interface UIDataview
public DataviewTitles getDataviewSubtitle()
getDataviewSubtitle
in interface UIDataview
public DataviewTitles getDataviewFootnote()
getDataviewFootnote
in interface UIDataview
public boolean selectObject(ComponentHandle 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 notpublic void addControllerListener(ControllerListener l)
addControllerListener
in interface UIDataview
l
- The listener to add.ControllerListener.componentSelected(oracle.dss.dataView.ControllerEvent)
, ControllerListenerAdapter
public void removeControllerListener(ControllerListener l)
removeControllerListener
in interface UIDataview
l
- The listener to remove.public abstract int getViewType()
getViewType
in interface UIDataview
Dataview.VIEW_TYPE_CROSSTAB
, Dataview.VIEW_TYPE_GRAPH
, Dataview.VIEW_TYPE_TABLE
public 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 UIDataview
token
- The token substitution handler for this view.public TokenSubstitution getTokenSubstitution()
TokenSubstitution
.getTokenSubstitution
in interface UIDataview
TokenSubstitutionAdapter
.public int getZoomFactor()
scaleFont
method.public Model getModel()
getModel
in interface DataviewCommon
public int convertComponentTypeToInteger(java.lang.String type)
String
.convertComponentTypeToInteger
in interface ComponentTypeConverter
An
- identifier for a view component.public java.lang.String convertComponentTypeToString(int type)
String
representation of a view component, from an integer.convertComponentTypeToString
in interface ComponentTypeConverter
type
- An identifier for a view component.public void setDataSource(DataSource ds)
Model
class in a visualization bean represents the DataSource
to the view, but the DataSource
is the real source of the data.setDataSource
in interface DataviewCommon
ds
- The data source for this view.public DataSource getDataSource()
getDataSource
in interface DataviewCommon
DataSource
for this view. If no model or data source has been set for this view, this method returns null
.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |