|
JClass 4.5.0 API Documentation |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.klg.jclass.swing.gauge.JCGaugePickEvent
Represents a pick event in JCGauge
. A pick event occurs when a
JCPickListener
is installed on a gauge and the mouse button is pressed
over a JCGauge
object.
Field Summary | |
protected Component |
comp
The component at the click location. |
protected JCGauge |
gauge
The gauge associated with this event. |
protected Point |
point
The (x, y) point of the click. |
protected double |
value
The scale value closest to this click. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
JCGaugePickEvent(JCGauge gauge,
Component comp,
double value,
Point point)
Constructor |
Method Summary | |
Component |
getComponent()
The component associated with this event. |
JCGauge |
getGauge()
Returns the gauge associated with this event. |
Point |
getPoint()
Returns the (x, y) point of the click. |
double |
getValue()
The value associated with this event. |
String |
toString()
Returns the point where the mouse was clicked and the associated scale value. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected JCGauge gauge
protected Component comp
protected double value
protected Point point
Constructor Detail |
public JCGaugePickEvent(JCGauge gauge, Component comp, double value, Point point)
gauge
- The gauge associated with this eventcomp
- The component at the click locationvalue
- The scale value at the pick locationpoint
- The x, y coordinate of the pickMethod Detail |
public JCGauge getGauge()
public Component getComponent()
public double getValue()
public Point getPoint()
public String toString()
|
Copyright© 1999-2000 KL Group Inc. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |