Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.6.0)

E12063-07

oracle.dss.dataView
Interface UIView

All Known Subinterfaces:
UIDataview
All Known Implementing Classes:
Dataview, Gauge, Graph, UIDataviewAdapter

public interface UIView

Interface for any presentation component. The toolbar and the associated tools calls the methods in this interface as it interacts with the presentation component.


Method Summary
 void addControllerListener(ControllerListener l)
          Adds a listener for user gestures that do not affect data, such as selecting or resizing a component.
 java.util.Locale getLocale()
          Retrieves the Locale that this UIView uses.
 Model getModel()
          Retrieves the model for this UIView.
 ComponentHandle getSelectedObject()
          Retrieves the selected component.
 int getViewType()
          Get the specific type of the view.
 boolean isCustomColorsEnabled()
          Return if the custom color option is enabled on all color choice pickers
 void removeControllerListener(ControllerListener l)
          Removes a listener for user gestures that do not affect data.
 void setCustomColorsEnabled(boolean enabled)
          Set custom color option enabled on all color choice pickers
 

Method Detail

getLocale

java.util.Locale getLocale()
Retrieves the Locale that this UIView uses.

Returns:
loc The Locale for this UIView.

getSelectedObject

ComponentHandle getSelectedObject()
Retrieves the selected component.

Returns:
A handle for the selected component. The return value should actually be a concrete subclass of ComponentHandle.

addControllerListener

void addControllerListener(ControllerListener l)
Adds a listener for user gestures that do not affect data, such as selecting or resizing a component.

Parameters:
l - The listener to add.
See Also:
ControllerListener.componentSelected(oracle.dss.dataView.ControllerEvent), ControllerListenerAdapter

removeControllerListener

void removeControllerListener(ControllerListener l)
Removes a listener for user gestures that do not affect data.

Parameters:
l - The listener to remove.

getViewType

int getViewType()
Get the specific type of the view. Constants representing valid returned values are defined in Dataview and begin with VIEW_TYPE_.

Returns:
an integer constant representing the specific type of view
See Also:
DataviewConstants.VIEW_TYPE_CROSSTAB, DataviewConstants.VIEW_TYPE_GRAPH, DataviewConstants.VIEW_TYPE_TABLE

setCustomColorsEnabled

void setCustomColorsEnabled(boolean enabled)
Set custom color option enabled on all color choice pickers

Parameters:
enabled - true to enable custom color option on all color choice pickers false to disable it

isCustomColorsEnabled

boolean isCustomColorsEnabled()
Return if the custom color option is enabled on all color choice pickers

Returns:
true custom color option is enabled on all color choice pickers false custom color option is disabled

getModel

Model getModel()
Retrieves the model for this UIView.

Returns:
The model that this UIView uses.

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.6.0)

E12063-07

Copyright © 1997, 2011, Oracle. All rights reserved.