public abstract class AbstractInput extends AbstractPropertyChange implements ChartInput
PROP_LABEL, PROP_PREVIEW, PROP_SELECTED_QUALITY, PROP_SELECTED_TIMESTAMP, PROP_SELECTED_VALUE, PROP_STATE, 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() |
String |
getSelectedQuality() |
Date |
getSelectedTimestamp() |
String |
getSelectedValue() |
protected void |
handeMouseMove(ChartMouseListener.MouseState e,
long timestamp) |
boolean |
isVisible() |
void |
setLabel(String label) |
protected void |
setSelectedQuality(String selectedQuality) |
protected void |
setSelectedTimestamp(Date selectedTimestamp) |
protected void |
setSelectedValue(String selectedValue) |
void |
setSelection(Date 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
public void setVisible(boolean visible)
setVisible
in interface ChartInput
public boolean isVisible()
isVisible
in interface ChartInput
public Date getSelectedTimestamp()
getSelectedTimestamp
in interface ChartInput
protected void setSelectedTimestamp(Date selectedTimestamp)
public void setSelection(Date date)
setSelection
in interface ChartInput
protected void setSelectedValue(String selectedValue)
public String getSelectedValue()
getSelectedValue
in interface ChartInput
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 String getSelectedQuality()
getSelectedQuality
in interface ChartInput
protected void setSelectedQuality(String selectedQuality)
public void setLabel(String label)
public String getLabel()
getLabel
in interface ChartInput
public Object getPreview()
getPreview
in interface ChartInput
protected void fireUpdatePreviews()