Documentation of 'info.monitorenter.reflection.ObjRecorder2Trace2DAdapter' Java class
ObjRecorder2Trace2DAdapter
info.monitorenter.reflection

Class ObjRecorder2Trace2DAdapter

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener


    public class ObjRecorder2Trace2DAdapter
    extends java.lang.Object
    implements javax.swing.event.ChangeListener
    A simple adapter that allows displaying of timestamped values from an inspection of the ObjectRecorder on a Chart2D.

    • Constructor Summary

      Constructors 
      Constructor and 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and 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) 
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjRecorder2Trace2DAdapter

        public 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.

        Parameters:
        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

      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • setInterval

        public void setInterval(long interval)
        Sets the interval for inspections in ms.

        Parameters:
        interval - the interval for inspections in ms.
      • stateChanged

        public void stateChanged(javax.swing.event.ChangeEvent e)
        Specified by:
        stateChanged in interface javax.swing.event.ChangeListener
        See Also:
        ChangeListener.stateChanged(javax.swing.event.ChangeEvent)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.