|
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.ViewControllerAdapter
oracle.dss.dataView.ControllerAdapter
oracle.dss.gauge.GaugeControllerAdapter
public class GaugeControllerAdapter
Field Summary | |
---|---|
protected int |
m_currentComponentHandle
|
protected ComponentHandle |
m_currentHandle
|
protected java.awt.Cursor |
m_cursor
|
protected Gauge |
m_gauge
|
protected boolean |
m_isCursorOnResizeHandle
|
protected GaugeModel |
m_model
|
protected int |
m_resizeCursorValue
|
protected int |
m_selectedComponentHandle
|
protected ComponentHandle |
m_selectedObject
|
Fields inherited from class oracle.dss.dataView.ControllerAdapter |
---|
DEBUG |
Fields inherited from class oracle.dss.dataView.ViewControllerAdapter |
---|
listenerList, m_defaultCursor, m_drillCursor, m_eResizeCursor, m_horzSplitCursor, m_isWaitCursor, m_moveCursor, m_neResizeCursor, m_noDropCursor, m_nResizeCursor, m_nwResizeCursor, m_selectCursor, m_seResizeCursor, m_sResizeCursor, m_swResizeCursor, m_textCursor, m_vertSplitCursor, m_viewPositionX, m_viewPositionY, m_viewSizeHeight, m_viewSizeSet, m_viewSizeWidth, m_waitCursor, m_wResizeCursor, mouseEvent |
Fields inherited from interface oracle.dss.dataView.ViewController |
---|
DEFAULT_CURSOR, DRILL_CURSOR, E_RESIZE_CURSOR, HORIZONTAL_SPLIT_CURSOR, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NO_DROP_CURSOR, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SELECT_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, VERTICAL_SPLIT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Constructor Summary | |
---|---|
GaugeControllerAdapter(Gauge gauge,
GaugeModel gaugeModel)
Constructor. |
Method Summary | |
---|---|
void |
cleanUp()
Removes this GaugeController from the Perspective list of
listeners. |
ComponentHandle |
getSelectedObject()
Retrieves the selected component. |
void |
keyPressed(java.awt.event.KeyEvent e)
Invoked when a key has been pressed. |
void |
keyReleased(java.awt.event.KeyEvent e)
Invoked when a key has been released. |
void |
keyTyped(java.awt.event.KeyEvent e)
Invoked when a key has been typed. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(java.awt.event.MouseEvent e)
Invoked when the mouse exits a component. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. |
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component. |
void |
pivot(oracle.bali.ewt.pivot.PagingPivotEvent e)
A pivot move event happened |
void |
propertyChange(java.beans.PropertyChangeEvent pce)
|
protected void |
setCursor(java.awt.Component component,
java.awt.Cursor c)
|
void |
setCursorType(java.awt.Cursor c,
int type)
Specifies a cursor for a particular purpose. |
void |
setGaugeCursor(int id)
Specifies the type of cursor that is displayed in the gauge. |
void |
setSelectedObject(ComponentHandle c)
Selects a component on the gauge. |
void |
setWaitCursorForced(boolean yesNo)
Specifies whether the view is forced to display a wait cursor. |
void |
swap(oracle.bali.ewt.pivot.PagingPivotEvent e)
A pivot swap event happened |
Methods inherited from class oracle.dss.dataView.ControllerAdapter |
---|
changeTitleSelectedState, createComponentFromPageItem, firePopupTriggered, firePopupTriggering, focusGained, focusLost, getPopupManager, getRolloverTextManager, processPopup, processViewMouseEvent, setPopupManager, setRolloverTextManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.dataView.Controller |
---|
getPopupManager, getRolloverTextManager, setPopupManager, setRolloverTextManager |
Methods inherited from interface oracle.dss.dataView.ViewController |
---|
addControllerListener, addViewFocusListener, addViewKeyListener, addViewMouseListener, addViewMouseMotionListener, getCursorType, isWaitCursorForced, removeControllerListener, removeViewFocusListener, removeViewKeyListener, removeViewMouseListener, removeViewMouseMotionListener |
Field Detail |
---|
protected Gauge m_gauge
protected GaugeModel m_model
protected int m_selectedComponentHandle
protected int m_currentComponentHandle
protected boolean m_isCursorOnResizeHandle
protected int m_resizeCursorValue
protected ComponentHandle m_currentHandle
protected ComponentHandle m_selectedObject
protected java.awt.Cursor m_cursor
Constructor Detail |
---|
public GaugeControllerAdapter(Gauge gauge, GaugeModel gaugeModel)
gauge
- The gauge that uses this Controller
.gaugeModel
- The model that gauge
is using.Method Detail |
---|
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class ViewControllerAdapter
e
- event infopublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class ViewControllerAdapter
e
- event infopublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class ViewControllerAdapter
e
- event infopublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class ViewControllerAdapter
e
- event infopublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class ControllerAdapter
e
- event infopublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class ViewControllerAdapter
e
- event infopublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
mouseEntered
in class ViewControllerAdapter
e
- event infopublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
mouseExited
in class ViewControllerAdapter
e
- event infopublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class ViewControllerAdapter
e
- event infopublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class ViewControllerAdapter
e
- event infopublic void pivot(oracle.bali.ewt.pivot.PagingPivotEvent e)
e
- paging pivot eventpublic void swap(oracle.bali.ewt.pivot.PagingPivotEvent e)
e
- paging pivot eventprotected void setCursor(java.awt.Component component, java.awt.Cursor c)
public void setSelectedObject(ComponentHandle c)
setSelectedObject
in interface GaugeController
c
- The component to select.public ComponentHandle getSelectedObject()
getSelectedObject
in interface GaugeController
null
if the selected component is a PFJ
component.public void setCursorType(java.awt.Cursor c, int type)
setCursorType
in interface ViewController
setCursorType
in class ViewControllerAdapter
c
- The Cursor
that should appear for type
.type
- A constant that specifies the type of cursor that
c
is.ViewController.DEFAULT_CURSOR
,
ViewController.DRILL_CURSOR
,
ViewController.E_RESIZE_CURSOR
,
ViewController.HORIZONTAL_SPLIT_CURSOR
,
ViewController.MOVE_CURSOR
,
ViewController.N_RESIZE_CURSOR
,
ViewController.NE_RESIZE_CURSOR
,
ViewController.NO_DROP_CURSOR
,
ViewController.NW_RESIZE_CURSOR
,
ViewController.S_RESIZE_CURSOR
,
ViewController.SE_RESIZE_CURSOR
,
ViewController.SELECT_CURSOR
,
ViewController.SW_RESIZE_CURSOR
,
ViewController.TEXT_CURSOR
,
ViewController.VERTICAL_SPLIT_CURSOR
,
ViewController.W_RESIZE_CURSOR
,
ViewController.WAIT_CURSOR
public void setWaitCursorForced(boolean yesNo)
setWaitCursorForced
in interface ViewController
setWaitCursorForced
in class ViewControllerAdapter
yesNo
- true
to display the wait cursor.
false
do not display the wait cursor.public void propertyChange(java.beans.PropertyChangeEvent pce)
propertyChange
in interface java.beans.PropertyChangeListener
pce
- event infopublic void setGaugeCursor(int id)
id
- The component over which the mouse is located.public void cleanUp()
GaugeController
from the Perspective list of
listeners.
The gauge calls this method when someone changes the controller.
cleanUp
in interface ViewController
cleanUp
in interface GaugeController
cleanUp
in class ControllerAdapter
|
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 |