public class TraceView extends Object
Constructor and Description |
---|
TraceView()
Construct a trace view.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the view.
|
void |
drawModel()
Draw the current model into the view.
|
void |
drawTrace(TraceModel.Trace trace)
Draw a new trace on the view.
|
void |
drawTraceElement(TraceModel.Element elt)
Draw a new trace element
|
GraphicsPane |
getGraphicsPane()
Return the graphics pane of this controller.
|
TraceController |
getTraceController()
Return the trace controller.
|
TraceModel |
getTraceModel()
Return the trace model being viewed.
|
void |
setLayout(double x,
double y,
double width,
double height,
double spacing)
Set the layout parameters of the trace.
|
void |
setTimeScale(double scale)
Set the scaling factor from traces time to coordinates
|
void |
setTraceController(TraceController c)
Set the trace controller.
|
void |
setTraceModel(TraceModel model)
Set the trace model and display all of its data
|
void |
setTracePane(TracePane pane)
Set the trace pane.
|
void |
updateTraceElement(TraceModel.Element elt)
Update the display of an existing trace element
|
public TraceView()
public void clear()
public void drawModel()
public void drawTrace(TraceModel.Trace trace)
public void drawTraceElement(TraceModel.Element elt)
public TraceController getTraceController()
public TraceModel getTraceModel()
public GraphicsPane getGraphicsPane()
public void setTraceController(TraceController c)
public void setLayout(double x, double y, double width, double height, double spacing)
public void setTimeScale(double scale)
public void setTraceModel(TraceModel model)
public final void setTracePane(TracePane pane)
public void updateTraceElement(TraceModel.Element elt)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.