public abstract class AbstractInput extends AbstractPropertyChange implements ChartInput
PROP_PREVIEW, PROP_STATE
PROP_COLOR, PROP_LABEL, PROP_SELECTED_QUALITY, PROP_SELECTED_TIMESTAMP, PROP_SELECTED_VALUE, PROP_VISIBLE
Constructor and Description |
---|
AbstractInput() |
Modifier and Type | Method and Description |
---|---|
protected void |
attachHover(ChartViewer viewer,
XAxis xAxis) |
protected void |
detachHover() |
void |
dispose() |
protected void |
fireUpdatePreviews() |
String |
getLabel() |
Object |
getPreview() |
Double |
getSelectedQuality() |
Calendar |
getSelectedTimestamp() |
Double |
getSelectedValue() |
protected void |
handeMouseMove(ChartMouseListener.MouseState e,
long timestamp) |
boolean |
isVisible() |
void |
setLabel(String label) |
protected void |
setSelectedQuality(Double selectedQuality) |
protected void |
setSelectedTimestamp(Calendar selectedTimestamp) |
protected void |
setSelectedValue(Double selectedValue) |
void |
setSelection(Calendar date) |
void |
setVisible(boolean visible) |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreview, getState, setSelection, tick
getColor
public void setVisible(boolean visible)
setVisible
in interface ChartInput
public boolean isVisible()
isVisible
in interface SeriesInformation
isVisible
in interface ChartInput
public Calendar getSelectedTimestamp()
getSelectedTimestamp
in interface SeriesInformation
protected void setSelectedTimestamp(Calendar selectedTimestamp)
public void setSelection(Calendar date)
setSelection
in interface ChartInput
protected void setSelectedValue(Double selectedValue)
public Double getSelectedValue()
getSelectedValue
in interface SeriesInformation
protected void attachHover(ChartViewer viewer, XAxis xAxis)
protected void detachHover()
protected void handeMouseMove(ChartMouseListener.MouseState e, long timestamp)
public void dispose()
dispose
in interface ChartInput
public Double getSelectedQuality()
getSelectedQuality
in interface SeriesInformation
protected void setSelectedQuality(Double selectedQuality)
public void setLabel(String label)
public String getLabel()
getLabel
in interface SeriesInformation
public Object getPreview()
getPreview
in interface ChartInput
protected void fireUpdatePreviews()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.