public class DataViewer
extends java.lang.Object
DataEntry
s in a chart-diagram.Modifier and Type | Field and Description |
---|---|
static int |
EVENT
Defining the
DataViewer to display DataEvent s. |
static int |
SIGNAL
Defining the
DataViewer to display DataSignal s. |
static int |
VALUE
Defining the
DataViewer to display DataValue s. |
Constructor and Description |
---|
DataViewer(int displayStyle)
Creates a new
DataViewer |
DataViewer(int displayStyle,
boolean autoAdjust,
double minValue,
double maxValue,
long timeToDispaly)
Creates a new
DataViewer |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the
DataViewer . |
void |
draw(DataEntry data)
Draws given
DataEntry to every component that can display it. |
void |
open()
Opens the
DataViewer in a new Shell . |
public static final int SIGNAL
DataViewer
to display DataSignal
s.public static final int VALUE
DataViewer
to display DataValue
s.public static final int EVENT
DataViewer
to display DataEvent
s.public DataViewer(int displayStyle)
DataViewer
display
- The UI-Display
.displayStyle
- Style describing the appearance of the DataViewer
.public DataViewer(int displayStyle, boolean autoAdjust, double minValue, double maxValue, long timeToDispaly)
DataViewer
display
- The UI-Display
.displayStyle
- Style describing the appearance of the DataViewer
.autoAdjust
- Determines whether the auto-adjust-feature is to be set or not
by default.minValue
- Sets the standard-value of minValue.maxValue
- Sets the standard value of maxValue.timeToDispaly
- Sets the standard time to display on canvas (in ms).public void draw(DataEntry data)
DataEntry
to every component that can display it.data
- DataEntry
to be drawnpublic void open()
DataViewer
in a new Shell
.public void close()
DataViewer
.