public class ObjRecorder2Trace2DAdapter extends Object implements ChangeListener
ObjectRecorder
on a
Chart2D.
Constructor and Description |
---|
ObjRecorder2Trace2DAdapter(ITrace2D view,
Object toinspect,
String fieldname,
long interval)
Creates a bridge from the given field of the given instance to inspect to
the trace.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
setInterval(long interval)
Sets the interval for inspections in ms.
|
void |
stateChanged(ChangeEvent e) |
public ObjRecorder2Trace2DAdapter(ITrace2D view, Object toinspect, 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(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public void setInterval(long interval)
interval
- the interval for inspections in ms.public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
ChangeListener.stateChanged(javax.swing.event.ChangeEvent)
Copyright © 2017. All rights reserved.