|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.esrf.tangoatk.widget.util.chart.SearchInfo
public class SearchInfo
A class to handle search result. It is used when user clicks on the graph and when the nearest value found is displayed
| Field Summary | |
|---|---|
JLAxis |
axis
Axis on which the view containing the point is displayed |
static int |
BOTTOMLEFT
Value tooltip BOTTOMLEFT placement |
static int |
BOTTOMRIGHT
Value tooltip BOTTOMRIGHT placement |
int |
clickIdx
index in the dataView that contains the clicked point |
JLDataView |
dataView
Y DataView which contains the point |
double |
dist
Square distance from click to point (pixel) |
boolean |
found
True when a point has been found |
int |
placement
placement of the tooltip panel |
static int |
TOPLEFT
Value tooltip TOPLEFT placement |
static int |
TOPRIGHT
Value tooltip TOPRIGHT placement |
DataList |
value
Handle to the y value |
int |
x
X pixel coordinates of the point found |
JLDataView |
xdataView
X DataView which countaing the point (XY monitoring) |
DataList |
xvalue
Handle to the X value (XY monitoring) |
int |
y
Y pixel coordinates of the point found |
| Method Summary | |
|---|---|
void |
setXValue(DataList d,
JLDataView x)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TOPLEFT
public static final int TOPRIGHT
public static final int BOTTOMLEFT
public static final int BOTTOMRIGHT
public boolean found
public int x
public int y
public JLAxis axis
public JLDataView dataView
public DataList value
public JLDataView xdataView
public DataList xvalue
public double dist
public int placement
public int clickIdx
| Method Detail |
|---|
public void setXValue(DataList d,
JLDataView x)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||