|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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
pressedover a JCGauge
object.
Field Summary | |
protected Component |
comp
The component at the click location. |
protected com.klg.jclass.swing.gauge.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(com.klg.jclass.swing.gauge.JCGauge gauge,
Component comp,
double value,
Point point)
Constructor. |
Method Summary | |
Component |
getComponent()
The component associated with this event. |
com.klg.jclass.swing.gauge.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 as a String. |
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 com.klg.jclass.swing.gauge.JCGauge gauge
protected Component comp
protected double value
protected Point point
Constructor Detail |
public JCGaugePickEvent(com.klg.jclass.swing.gauge.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 com.klg.jclass.swing.gauge.JCGauge getGauge()
public Component getComponent()
public double getValue()
public Point getPoint()
public String toString()
toString
in class EventObject
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |