java.util.EventListener, javax.swing.event.ChangeListenerpublic class ObjRecorder2Trace2DAdapter
extends java.lang.Object
implements javax.swing.event.ChangeListener
ObjectRecorder on a
Chart2D.
| Constructor | Description |
|---|---|
ObjRecorder2Trace2DAdapter(ITrace2D view,
java.lang.Object toinspect,
java.lang.String fieldname,
long interval) |
Creates a bridge from the given field of the given instance to inspect to
the trace.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
|
void |
setInterval(long interval) |
Sets the interval for inspections in ms.
|
void |
stateChanged(javax.swing.event.ChangeEvent e) |
public ObjRecorder2Trace2DAdapter(ITrace2D view, java.lang.Object toinspect, java.lang.String fieldname, long interval)
view - the target trace that will show the inspected value.toinspect - the instance to inpsect.fieldname - the field on the instance to inspect.interval - the interval of inspections in ms.public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public void setInterval(long interval)
interval - the interval for inspections in ms.public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenerChangeListener.stateChanged(javax.swing.event.ChangeEvent)Copyright © 2001 - 2010 LGPL, All Rights Footloose.