Class LineTrace
java.lang.Object
org.eclipse.draw2d.Figure
org.eclipse.nebula.visualization.xygraph.figures.Trace
org.dawnsci.plotting.draw2d.swtxy.LineTrace
- All Implemented Interfaces:
ITraceContainer,org.eclipse.draw2d.IFigure,org.eclipse.nebula.visualization.xygraph.dataprovider.IDataProviderListener,org.eclipse.nebula.visualization.xygraph.figures.IAxisListener
public class LineTrace
extends org.eclipse.nebula.visualization.xygraph.figures.Trace
implements ITraceContainer
Trace with drawPolyline(...) for faster rendering.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.nebula.visualization.xygraph.figures.Trace
org.eclipse.nebula.visualization.xygraph.figures.Trace.BaseLine, org.eclipse.nebula.visualization.xygraph.figures.Trace.ErrorBarType, org.eclipse.nebula.visualization.xygraph.figures.Trace.PointStyle, org.eclipse.nebula.visualization.xygraph.figures.Trace.TraceTypeNested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearchNested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets -
Field Summary
FieldsFields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTipFields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS -
Constructor Summary
ConstructorsConstructorDescriptionTrace.init(Axis, Axis, IDataProvider)needs to be called if a trace is created with this constructorLineTrace(String name, org.eclipse.nebula.visualization.xygraph.figures.Axis xAxis, org.eclipse.nebula.visualization.xygraph.figures.Axis yAxis, org.eclipse.nebula.visualization.xygraph.dataprovider.IDataProvider dataProvider, LineTracePreferences prefs) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()getTrace()booleanvoidsetInternalName(String internalName) voidThis method may do nothing if the trace cannot be changed.Methods inherited from class org.eclipse.nebula.visualization.xygraph.figures.Trace
addListener, axisAutoScaleChanged, axisForegroundColorChanged, axisLogScaleChanged, axisRangeChanged, axisRevalidated, axisTitleChanged, dataChanged, drawLine, drawPoint, getAreaAlpha, getBaseLine, getDataProvider, getErrorBarCapWidth, getErrorBarColor, getHotSampleList, getLineWidth, getName, getPointSize, getPointStyle, getPointStyleProvider, getTraceColor, getTraceType, getXAxis, getXErrorBarType, getXYGraph, getYAxis, getYErrorBarType, init, isAntiAliasing, isDrawYErrorInArea, isErrorBarEnabled, paintFigure, removeListener, setAntiAliasing, setAreaAlpha, setBaseLine, setDataProvider, setDrawYErrorInArea, setErrorBarCapWidth, setErrorBarColor, setErrorBarEnabled, setLineWidth, setName, setName, setPointSize, setPointStyle, setPointStyleProvider, setTraceColor, setTraceType, setXAxis, setXErrorBarType, setXYGraph, setYAxis, setYErrorBarType, toStringMethods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
-
Field Details
-
internalName
-
-
Constructor Details
-
LineTrace
Trace.init(Axis, Axis, IDataProvider)needs to be called if a trace is created with this constructor -
LineTrace
public LineTrace(String name, org.eclipse.nebula.visualization.xygraph.figures.Axis xAxis, org.eclipse.nebula.visualization.xygraph.figures.Axis yAxis, org.eclipse.nebula.visualization.xygraph.dataprovider.IDataProvider dataProvider, LineTracePreferences prefs)
-
-
Method Details
-
dispose
public void dispose()- Overrides:
disposein classorg.eclipse.nebula.visualization.xygraph.figures.Trace
-
isDisposed
public boolean isDisposed() -
getInternalName
-
setInternalName
-
getTrace
- Specified by:
getTracein interfaceITraceContainer- Returns:
- the trace which
-
setTrace
Description copied from interface:ITraceContainerThis method may do nothing if the trace cannot be changed.- Specified by:
setTracein interfaceITraceContainer- Parameters:
trace-
-