Skip navigation links
oracle.dss.graph
Class GraphEventHandler
java.lang.Object
oracle.dss.graph.GraphEventHandler
-
public class GraphEventHandler
- extends java.lang.Object
Event Handler to support Graph interactivity (such as Zoom and Scroll) without the ADF Faces layer. Applications developers generally do not need to use this class.
- Since:
- release specific (what release of product did this appear in)
Method Summary |
static void |
decodeClientProperties(CommonGraph graph, java.lang.String clientProperties)
|
static void |
handleDataScroll(CommonGraph graph, java.lang.String axis, java.lang.String count, java.lang.String start, java.lang.String span, java.lang.String type)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleDataZoomIn(CommonGraph graph, int x, int y, int width, int height)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleDataZoomInIncr(CommonGraph graph, int x, int y)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleDataZoomInIncr(CommonGraph graph, java.lang.String axis)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleDataZoomOut(CommonGraph graph, int x, int y, int width, int height)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleDataZoomOutIncr(CommonGraph graph, int x, int y)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleDataZoomOutIncr(CommonGraph graph, java.lang.String axis)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static java.lang.Object |
handleEvent(CommonGraph graph, java.util.Map<java.lang.String,java.lang.String> params)
Generic handler for all graph events. |
static void |
handleHideShowSeriesEvent(CommonGraph graph, int series, int visibility)
Helper function to set the visibility of a series. |
static void |
handleLineSelectPoint(CommonGraph graph, int x, int y)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
static void |
handleTimeSelectorEvent(CommonGraph graph, long startTime, long endTime)
Deprecated. use handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>) instead |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphEventHandler
public GraphEventHandler()
handleEvent
public static java.lang.Object handleEvent(CommonGraph graph,
java.util.Map<java.lang.String,java.lang.String> params)
- Generic handler for all graph events. The method should be used in conjunction with
GraphXMLWriterCallback
to support encoding and decoding of event payloads.
-
- Parameters:
graph
- the CommonGraph instance to which the event belongs
params
- the event parameters sent from the client
- Returns:
- an Object providing context about the event
null
: if no additional context is necessary
TimeSelectorEvent
: if the user manipulated the time selector
- See Also:
GraphXMLWriterCallback
decodeClientProperties
public static void decodeClientProperties(CommonGraph graph,
java.lang.String clientProperties)
handleDataScroll
@Deprecated
public static void handleDataScroll(CommonGraph graph,
java.lang.String axis,
java.lang.String count,
java.lang.String start,
java.lang.String span,
java.lang.String type)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle a data scroll event.
-
- Parameters:
graph
- CommonGraph to configure
axis
- axis being scrolled
count
- total scroll span
start
- scroll position
span
- scroll thumb span
handleDataZoomIn
@Deprecated
public static void handleDataZoomIn(CommonGraph graph,
int x,
int y,
int width,
int height)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle a data zoom in event.
-
- Parameters:
graph
- CommonGraph to configure
x
- x coordinate of zoom rect
y
- y coordinate of zoom rect
width
- width of zoom rect
height
- height of zoom rect
handleDataZoomOut
@Deprecated
public static void handleDataZoomOut(CommonGraph graph,
int x,
int y,
int width,
int height)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle a data zoom out event.
-
- Parameters:
graph
- CommonGraph to configure
x
- x coordinate of zoom rect
y
- y coordinate of zoom rect
width
- width of zoom rect
height
- height of zoom rect
handleDataZoomInIncr
@Deprecated
public static void handleDataZoomInIncr(CommonGraph graph,
int x,
int y)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle a data zoom in event.
-
- Parameters:
graph
- CommonGraph to configure
x
- x coordinate of zoom
y
- y coordinate of zoom
handleLineSelectPoint
@Deprecated
public static void handleLineSelectPoint(CommonGraph graph,
int x,
int y)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
handleDataZoomOutIncr
@Deprecated
public static void handleDataZoomOutIncr(CommonGraph graph,
int x,
int y)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle a data zoom out event.
-
- Parameters:
graph
- CommonGraph to configure
x
- x coordinate of zoom
y
- y coordinate of zoom
handleDataZoomInIncr
@Deprecated
public static void handleDataZoomInIncr(CommonGraph graph,
java.lang.String axis)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle an incremental data zoom in event on an axis.
-
- Parameters:
graph
- CommonGraph to configure
axis
- axis being zoomed
handleDataZoomOutIncr
@Deprecated
public static void handleDataZoomOutIncr(CommonGraph graph,
java.lang.String axis)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle an incremental data zoom out event on an axis.
-
- Parameters:
graph
- CommonGraph to configure
axis
- axis being zoomed
handleTimeSelectorEvent
@Deprecated
public static void handleTimeSelectorEvent(CommonGraph graph,
long startTime,
long endTime)
- Deprecated. use
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead
- Handle a time selector event.
-
- Parameters:
graph
- CommonGraph to configure
startTime
- start of time selector
endTime
- end of time selector
handleHideShowSeriesEvent
public static void handleHideShowSeriesEvent(CommonGraph graph,
int series,
int visibility)
- Helper function to set the visibility of a series.
-
- Parameters:
graph
- CommonGraph to configure
series
- Series to toggle
visibility
- Visible status for the series
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.