com.sas.graphics.components
Class ProbeEvent

com.sas.graphics.components.ProbeEvent
All Implemented Interfaces:
java.io.Serializable

public class ProbeEvent

A "Probe" event is delivered when a mouse pointer moves over a region of a Graph occupied by a data-element. A ProbeEvent object is sent as an argument to the ProbeListener's "probeUpdate" method.

ProbeEvent objects will contain all the data associated with the subject data-element in the form of an instance of a PickInfo class. "data-elements" are those chart graphics depicting the values found in the data model. For example the bars in the BarChart are data-elements but the axis, legend, titles, footnotes, etc are not.

Usage

Use the PickInfo property to retrieve the associated data.

Since:
SAS 9.1
See Also:
ProbeListener, PickInfo, Serialized Form

Field Summary
static int DISABLE
           
protected  PickInfo pickInfo
           
static int UPDATE
           
 
Constructor Summary
ProbeEvent(java.lang.Object source, int id, PickInfo newPickInfo)
           
ProbeEvent(java.lang.Object source, PickInfo newPickInfo)
           
 
Method Summary
 PickInfo getPickInfo()
           
 

Field Detail

UPDATE

public static final int UPDATE
See Also:
Constant Field Values

DISABLE

public static final int DISABLE
See Also:
Constant Field Values

pickInfo

protected final PickInfo pickInfo
Constructor Detail

ProbeEvent

public ProbeEvent(java.lang.Object source,
                  PickInfo newPickInfo)

ProbeEvent

public ProbeEvent(java.lang.Object source,
                  int id,
                  PickInfo newPickInfo)
Method Detail

getPickInfo

public PickInfo getPickInfo()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.