public abstract class LineInput extends AbstractInput implements LinePropertiesSupporter
PROP_PREVIEW, PROP_STATEPROP_COLOR, PROP_LABEL, PROP_SELECTED_QUALITY, PROP_SELECTED_TIMESTAMP, PROP_SELECTED_VALUE, PROP_VISIBLE| Constructor and Description |
|---|
LineInput(org.eclipse.jface.resource.ResourceManager resourceManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
protected void |
fireUpdatePreviews() |
org.eclipse.swt.graphics.RGB |
getColor() |
org.eclipse.swt.graphics.RGB |
getLineColor() |
protected abstract AbstractLineRender |
getLineRenderer() |
float |
getLineWidth() |
org.eclipse.swt.graphics.Image |
getPreview(int width,
int height)
Get rendered preview
|
static org.eclipse.swt.graphics.Image |
makePreview(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.LineAttributes lineAttributes,
org.eclipse.swt.graphics.Color lineColor,
org.eclipse.swt.graphics.Point p) |
void |
setLineColor(org.eclipse.swt.graphics.RGB rgb) |
void |
setLineWidth(float width) |
void |
setVisible(boolean visible) |
attachHover, detachHover, getLabel, getPreview, getSelectedQuality, getSelectedTimestamp, getSelectedValue, handeMouseMove, isVisible, setLabel, setSelectedQuality, setSelectedTimestamp, setSelectedValue, setSelectionaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetState, setSelection, tickpublic LineInput(org.eclipse.jface.resource.ResourceManager resourceManager)
public void dispose()
dispose in interface ChartInputdispose in class AbstractInputprotected abstract AbstractLineRender getLineRenderer()
public void setVisible(boolean visible)
setVisible in interface ChartInputsetVisible in class AbstractInputpublic void setLineColor(org.eclipse.swt.graphics.RGB rgb)
setLineColor in interface LinePropertiesSupporterpublic org.eclipse.swt.graphics.RGB getLineColor()
getLineColor in interface LinePropertiesSupporterpublic org.eclipse.swt.graphics.RGB getColor()
getColor in interface SeriesInformationpublic void setLineWidth(float width)
setLineWidth in interface LinePropertiesSupporterpublic float getLineWidth()
getLineWidth in interface LinePropertiesSupporterprotected void fireUpdatePreviews()
fireUpdatePreviews in class AbstractInputpublic org.eclipse.swt.graphics.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.
getPreview in interface ChartInputwidth - the requested widthheight - the requested heightnullpublic static org.eclipse.swt.graphics.Image makePreview(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.LineAttributes lineAttributes,
org.eclipse.swt.graphics.Color lineColor,
org.eclipse.swt.graphics.Point p)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.