public interface ChartInput
Modifier and Type | Field and Description |
---|---|
static String |
PROP_LABEL |
static String |
PROP_PREVIEW |
static String |
PROP_SELECTED_QUALITY |
static String |
PROP_SELECTED_TIMESTAMP |
static String |
PROP_SELECTED_VALUE |
static String |
PROP_STATE |
static String |
PROP_VISIBLE |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getLabel() |
Object |
getPreview() |
org.eclipse.swt.graphics.Image |
getPreview(int width,
int height)
Get rendered preview
|
String |
getSelectedQuality() |
Date |
getSelectedTimestamp() |
String |
getSelectedValue() |
String |
getState() |
boolean |
isVisible() |
void |
setSelection(boolean state) |
void |
setSelection(Date date) |
void |
setVisible(boolean state) |
void |
tick(long now) |
static final String PROP_SELECTED_TIMESTAMP
static final String PROP_SELECTED_VALUE
static final String PROP_SELECTED_QUALITY
static final String PROP_VISIBLE
static final String PROP_STATE
static final String PROP_PREVIEW
static final String PROP_LABEL
void setSelection(boolean state)
void dispose()
void tick(long now)
void setVisible(boolean state)
boolean isVisible()
String getLabel()
String getState()
String getSelectedValue()
String getSelectedQuality()
Date getSelectedTimestamp()
void setSelection(Date 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()