public class CompositeQualityInput extends AbstractInput
PROP_LABEL, PROP_PREVIEW, PROP_SELECTED_QUALITY, PROP_SELECTED_TIMESTAMP, PROP_SELECTED_VALUE, PROP_STATE, PROP_VISIBLE| Constructor and Description |
|---|
CompositeQualityInput(ChartViewer viewer,
ChartRenderer chartRenderer,
Realm realm,
XAxis xAxis,
YAxis yAxis,
IObservableList inputs) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkQuality(double value) |
void |
dispose() |
Image |
getPreview(int width,
int height)
Get rendered preview
|
java.lang.String |
getState() |
double |
getThreshold() |
protected void |
handleDiff(ListDiff diff) |
void |
performUpdate() |
protected void |
setSelectedTimestamp(java.util.Date selectedTimestamp) |
void |
setSelection(boolean state) |
void |
setThreshold(double threshold) |
void |
setVisible(boolean visible) |
void |
tick(long now) |
attachHover, detachHover, fireUpdatePreviews, getLabel, getPreview, getSelectedQuality, getSelectedTimestamp, getSelectedValue, handeMouseMove, isVisible, setLabel, setSelectedQuality, setSelectedValue, setSelectionpublic CompositeQualityInput(ChartViewer viewer, ChartRenderer chartRenderer, Realm realm, XAxis xAxis, YAxis yAxis, IObservableList inputs)
protected boolean checkQuality(double value)
public void dispose()
dispose in interface ChartInputdispose in class AbstractInputprotected void handleDiff(ListDiff diff)
public void setVisible(boolean visible)
setVisible in interface ChartInputsetVisible in class AbstractInputpublic void setSelection(boolean state)
public void tick(long now)
public java.lang.String getState()
public Image getPreview(int width,
int height)
ChartInput
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 heightnullpublic double getThreshold()
public void setThreshold(double threshold)
public void performUpdate()
protected void setSelectedTimestamp(java.util.Date selectedTimestamp)
setSelectedTimestamp in class AbstractInput
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0