neosim.util
Class TraceEventObject

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--neosim.util.TraceEventObject

public class TraceEventObject
extends java.util.EventObject
implements Traceable

Timing diagram event object. This stores a single event for updating a timing diagram.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Fields inherited from interface neosim.util.Traceable
DISPLAY, INTVAL, LAYOUT, PAUSE, RUN, STOP, TRACE
 
Constructor Summary
TraceEventObject(java.lang.Object o, int cmd)
          Creates a trace event command
TraceEventObject(java.lang.Object o, java.lang.String traceline)
          Creates a trace event object with a string
TraceEventObject(java.lang.Object o, TraceEventObject t)
          Creates a trace event object from another
 
Method Summary
 int getCmd()
          Returns the trace command
 java.lang.String getLine()
          Returns the trace line
 void set(int cmd)
          Sets this command to one of the Traceable commands
 void set(java.lang.String traceline)
          Sets this command to a trace line string
 void set(TraceEventObject t)
          Sets this command to a trace object
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraceEventObject

public TraceEventObject(java.lang.Object o,
                        java.lang.String traceline)
Creates a trace event object with a string

TraceEventObject

public TraceEventObject(java.lang.Object o,
                        TraceEventObject t)
Creates a trace event object from another

TraceEventObject

public TraceEventObject(java.lang.Object o,
                        int cmd)
Creates a trace event command
See Also:
eduni.simdiag.Traceable
Method Detail

set

public void set(java.lang.String traceline)
Sets this command to a trace line string

set

public void set(TraceEventObject t)
Sets this command to a trace object

set

public void set(int cmd)
Sets this command to one of the Traceable commands

getLine

public java.lang.String getLine()
Returns the trace line

getCmd

public int getCmd()
Returns the trace command