public class GraphEventHandler
extends java.lang.Object
Constructor and Description |
---|
GraphEventHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
handleDataZoomIn(CommonGraph graph,
int x,
int y,
int width,
int height)
Deprecated.
|
static void |
handleDataZoomInIncr(CommonGraph graph,
int x,
int y)
Deprecated.
|
static void |
handleDataZoomInIncr(CommonGraph graph,
java.lang.String axis)
Deprecated.
|
static void |
handleDataZoomOut(CommonGraph graph,
int x,
int y,
int width,
int height)
Deprecated.
|
static void |
handleDataZoomOutIncr(CommonGraph graph,
int x,
int y)
Deprecated.
|
static void |
handleDataZoomOutIncr(CommonGraph graph,
java.lang.String axis)
Deprecated.
|
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.
|
static void |
handleTimeSelectorEvent(CommonGraph graph,
long startTime,
long endTime)
Deprecated.
|
public static java.lang.Object handleEvent(CommonGraph graph, java.util.Map<java.lang.String,java.lang.String> params)
GraphXMLWriterCallback
to support encoding and decoding of event payloads.graph
- the CommonGraph instance to which the event belongsparams
- the event parameters sent from the clientnull
: if no additional context is necessaryTimeSelectorEvent
: if the user manipulated the time selectorGraphXMLWriterCallback
public static void decodeClientProperties(CommonGraph graph, java.lang.String clientProperties)
@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)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configureaxis
- axis being scrolledcount
- total scroll spanstart
- scroll positionspan
- scroll thumb span@Deprecated public static void handleDataZoomIn(CommonGraph graph, int x, int y, int width, int height)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configurex
- x coordinate of zoom recty
- y coordinate of zoom rectwidth
- width of zoom rectheight
- height of zoom rect@Deprecated public static void handleDataZoomOut(CommonGraph graph, int x, int y, int width, int height)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configurex
- x coordinate of zoom recty
- y coordinate of zoom rectwidth
- width of zoom rectheight
- height of zoom rect@Deprecated public static void handleDataZoomInIncr(CommonGraph graph, int x, int y)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configurex
- x coordinate of zoomy
- y coordinate of zoom@Deprecated public static void handleLineSelectPoint(CommonGraph graph, int x, int y)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
instead@Deprecated public static void handleDataZoomOutIncr(CommonGraph graph, int x, int y)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configurex
- x coordinate of zoomy
- y coordinate of zoom@Deprecated public static void handleDataZoomInIncr(CommonGraph graph, java.lang.String axis)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configureaxis
- axis being zoomed@Deprecated public static void handleDataZoomOutIncr(CommonGraph graph, java.lang.String axis)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configureaxis
- axis being zoomed@Deprecated public static void handleTimeSelectorEvent(CommonGraph graph, long startTime, long endTime)
handleEvent(oracle.dss.graph.CommonGraph, java.util.Map<java.lang.String, java.lang.String>)
insteadgraph
- CommonGraph to configurestartTime
- start of time selectorendTime
- end of time selectorpublic static void handleHideShowSeriesEvent(CommonGraph graph, int series, int visibility)
graph
- CommonGraph to configureseries
- Series to togglevisibility
- Visible status for the series