|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.monitorenter.reflection.ObjRecorder2Trace2DAdapter
public class ObjRecorder2Trace2DAdapter
A simple adapter that allows displaying of timestamped values from an
inspection of the
on a
Chart2D.
ObjectRecorder
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.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.ChangeListener
ChangeListener.stateChanged(javax.swing.event.ChangeEvent)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |