|
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 |
java.lang.Objectoracle.dss.dataView.ManagerAdapter
public class ManagerAdapter
Constructor Summary | |
---|---|
protected |
ManagerAdapter()
Hidden default constructor for the one and only instance of this class. |
Method Summary | |
---|---|
boolean |
canSelectComponent(Dataview view,
ComponentHandle component)
Can the given component be selected? |
boolean |
canSelectComponents(Dataview view)
Can any components be selected? |
java.lang.Object |
clone()
Must be able to clone the manager |
void |
componentSelected(Dataview view,
ComponentHandle component)
The given component was selected. |
void |
dataSourceChanged()
This implementation does nothing. |
java.lang.Object |
formatDataValue(DataviewCommon view,
java.lang.Object data,
int column,
int row,
int[] pageHPos,
ViewFormat vf)
Given a data object return a formatted version of that data object for the given data plane location. |
java.util.Vector |
getBundles()
Retrieves the vector of rule bundles that this manager uses to format Dataview items. |
static ManagerAdapter |
getInstance()
|
javax.swing.JPopupMenu |
getPopupMenu(Dataview view,
ComponentHandle id)
Return a complete JPopupMenu . |
java.lang.String |
getRolloverText(Dataview view,
ComponentHandle component,
int x,
int y,
int modifiers)
Return the rollover text to display over the given component at the given location within the component. |
RuleBundle |
getUIBundle()
Get the RuleBundle used by the UI. |
void |
setBundles(DataviewCommon view,
java.util.Vector bundles)
Specifies the vector of RuleBundle objects to use. |
void |
setUIBundle(DataviewCommon view,
RuleBundle bundle)
Set the RuleBundle used by the UI. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ManagerAdapter()
Method Detail |
---|
public void dataSourceChanged()
dataSourceChanged
in interface Manager
public static ManagerAdapter getInstance()
public java.lang.Object formatDataValue(DataviewCommon view, java.lang.Object data, int column, int row, int[] pageHPos, ViewFormat vf)
formatDataValue
in interface FormatManager
view
- the view needing formatting resolutiondata
- the data to formatcolumn
- the across location of this data itemrow
- the down location of this data itempageHPos
- the hPos of the page on which this data item residesvf
- ViewFormat which may be used in the formatting
public boolean canSelectComponents(Dataview view)
canSelectComponents
in interface SelectionManager
view
- the view needing selection resolution
public boolean canSelectComponent(Dataview view, ComponentHandle component)
canSelectComponent
in interface SelectionManager
view
- the view needing selection resolutioncomponent
- the component that has been clicked on for selection
public void componentSelected(Dataview view, ComponentHandle component)
componentSelected
in interface SelectionManager
view
- the view needing selection resolutioncomponent
- the component that has been
selectedpublic java.lang.String getRolloverText(Dataview view, ComponentHandle component, int x, int y, int modifiers)
getRolloverText
in interface RolloverTextManager
view
- the view needing selection resolutioncomponent
- the component identification.x
- the mouse x location in pixels within the componenty
- the mouse y location in pixels within the componentmodifiers
- any keyboard modifiers in effect at the time.
public javax.swing.JPopupMenu getPopupMenu(Dataview view, ComponentHandle id)
PopupManager
JPopupMenu
. The implementor
of this method is responsible for processing its own calls
from this popup menu.
getPopupMenu
in interface PopupManager
view
- the view asking for popup informatiuonid
- the component the popup occurred over
JPopupMenu
structure, or
null
, in which case getPopupStrings
will be called.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface RolloverTextManager
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if can't clonepublic void setBundles(DataviewCommon view, java.util.Vector bundles)
RuleBundle
objects to use.
The vector is passed by reference.
You must call this method explicitly to ensure that proper notification
of changes is triggered.
setBundles
in interface FormatManager
bundles
- The vector of rule bundles that this manager should
use.RuleBundle
public java.util.Vector getBundles()
Dataview
items.
Rule bundle vectors are passed by reference.
If you modify the vector that this method returns, call the
setBundles
method explicitly to set the modified vector.
getBundles
in interface FormatManager
RuleBundle
public RuleBundle getUIBundle()
getUIBundle
in interface UIBundle
public void setUIBundle(DataviewCommon view, RuleBundle bundle)
setUIBundle
in interface UIBundle
view
- the view the RuleBundle applies tobundle
- the new RuleBundle used by the UI
|
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 |