public interface ChartInput extends SeriesInformation
Modifier and Type | Field and Description |
---|---|
static String |
PROP_PREVIEW |
static String |
PROP_STATE |
PROP_COLOR, PROP_LABEL, PROP_SELECTED_QUALITY, PROP_SELECTED_TIMESTAMP, PROP_SELECTED_VALUE, PROP_VISIBLE
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Object |
getPreview() |
org.eclipse.swt.graphics.Image |
getPreview(int width,
int height)
Get rendered preview
|
String |
getState() |
boolean |
isVisible() |
void |
setSelection(boolean state) |
void |
setSelection(Calendar date) |
void |
setVisible(boolean state) |
boolean |
tick(long now) |
getColor, getLabel, getSelectedQuality, getSelectedTimestamp, getSelectedValue
static final String PROP_STATE
static final String PROP_PREVIEW
void setSelection(boolean state)
void dispose()
boolean tick(long now)
void setVisible(boolean state)
boolean isVisible()
isVisible
in interface SeriesInformation
String getState()
void setSelection(Calendar date)
org.eclipse.swt.graphics.Image getPreview(int width, int height)
The chart input implementation must dispose the created image. If the
implementation cannot create the image for the requested size it must
return null
.
width
- the requested widthheight
- the requested heightnull
Object getPreview()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.