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.TraceType

    Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure

    org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch

    Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure

    org.eclipse.draw2d.IFigure.NoInsets
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     

    Fields inherited from class org.eclipse.draw2d.Figure

    bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip

    Fields inherited from interface org.eclipse.draw2d.IFigure

    MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
  • Constructor Summary

    Constructors
    Constructor
    Description
    Trace.init(Axis, Axis, IDataProvider) needs to be called if a trace is created with this constructor
    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 Summary

    Modifier and Type
    Method
    Description
    void
     
     
     
    boolean
     
    void
    setInternalName(String internalName)
     
    void
    This 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, toString

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • internalName

      protected String internalName
  • Constructor Details

    • LineTrace

      public LineTrace(String name)
      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:
      dispose in class org.eclipse.nebula.visualization.xygraph.figures.Trace
    • isDisposed

      public boolean isDisposed()
    • getInternalName

      public String getInternalName()
    • setInternalName

      public void setInternalName(String internalName)
    • getTrace

      public ITrace getTrace()
      Specified by:
      getTrace in interface ITraceContainer
      Returns:
      the trace which
    • setTrace

      public void setTrace(ITrace trace)
      Description copied from interface: ITraceContainer
      This method may do nothing if the trace cannot be changed.
      Specified by:
      setTrace in interface ITraceContainer
      Parameters:
      trace -