|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
TraceEventObject
public class TraceEventObject
Timing diagram event object. This stores a single event for updating a timing diagram. The event format is described in the design document
TimingDiagram
,
TraceListener
,
Serialized FormField Summary | |
---|---|
(package private) int |
cmd
|
(package private) String |
traceline
|
Fields inherited from class EventObject |
---|
source |
Fields inherited from interface Traceable |
---|
DISPLAY, LAYOUT, PAUSE, RUN, STOP, TRACE |
Constructor Summary | |
---|---|
TraceEventObject(Object o,
int cmd)
Creates a trace event command |
|
TraceEventObject(Object o,
String traceline)
Creates a trace event object with a string |
|
TraceEventObject(Object o,
TraceEventObject t)
Creates a trace event object from another |
Method Summary | |
---|---|
int |
getCmd()
Returns the trace command |
String |
getLine()
Returns the trace line |
void |
set(int cmd)
Sets this command to one of the Traceable commands |
void |
set(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 EventObject |
---|
getSource, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
String traceline
int cmd
Constructor Detail |
---|
public TraceEventObject(Object o, String traceline)
public TraceEventObject(Object o, TraceEventObject t)
public TraceEventObject(Object o, int cmd)
Traceable
Method Detail |
---|
public void set(String traceline)
public void set(TraceEventObject t)
public void set(int cmd)
public String getLine()
public int getCmd()
|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |