kcl.waterloo.graphics.plots2D
Class GJFastLine
- java.lang.Object
-
- kcl.waterloo.observable.GJAbstractObservable
-
- kcl.waterloo.graphics.plots2D.GJAbstractPlotModelImpl
-
- kcl.waterloo.graphics.plots2D.GJAbstractPlot
-
- kcl.waterloo.graphics.plots2D.GJFastLine
-
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener, GJEffectorInterface, GJFastPlotInterface, GJPlotInterface, GJLinkableInterface, GJObservableInterface, GJDataModelInterface<java.awt.geom.Rectangle2D,GJGraphInterface>, GJFillableInterface<java.awt.Shape,java.awt.Paint>, GJScreenDataInterface<java.awt.Shape>, GJVisualsInterface<GJMarker,java.awt.Paint,java.awt.BasicStroke,java.awt.Dimension,java.awt.Shape>
public class GJFastLine extends GJAbstractPlot
GJFastLine class for fast painting of line plots. This class does not support multiplexing or lines with gaps (NaNs in the data). For best performance use a thin stroke (< 1 pixel)This code is part of the Waterloo Scientific Graphics package from King's College London
-
-
Field Summary
-
Fields inherited from class kcl.waterloo.graphics.plots2D.GJAbstractPlotModelImpl
screenDataArray
-
-
Constructor Summary
Constructors Constructor and Description GJFastLine()GJFastLine(GJAbstractPlot p)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static GJPlotInterfacecreateInstance()booleanisMultiplexible()voidpaintPlot(java.awt.Graphics2D g2)Note that this method is overloaded by all concrete sub-classes which should call this super-class method.-
Methods inherited from class kcl.waterloo.graphics.plots2D.GJAbstractPlot
add, createFrame, findPlotBelow, findPlotBelow, getAreaFill, getAreaPaint, getDataRange, getEffect, getFillable, getFillAlpha, getFillComposite, getNode, getParentPlot, getPlots, getTopPlot, getVisualRange, intersects, intersects, isOnEDT, isSelected, isShowing, isTopPlot, isVisible, paintPlotEntry, plotRedraw, plotRedraw, plotUpdate, plotUpdate, plus, propertyChange, saveAsXML, setAntialiasing, setAreaFill, setAreaPaint, setEffect, setFillAlpha, setFillComposite, setParentPlot, setSelected, setSelectionFlag, setVisible, toString, toString
-
Methods inherited from class kcl.waterloo.graphics.plots2D.GJAbstractPlotModelImpl
getAlpha, getCompositeMode, getDataModel, getDynamicMarkerSize, getEdgeColor, getEdgeStroke, getFill, getLineColor, getLineStroke, getMarker, getMarkerArray, getMultiplexLength, getName, getParentGraph, getPlotList, getRenderHintState, getScreenDataArray, getScreenDataArrayAsCopy, getTextHintState, getVisualModel, getXData, getXDataValues, getXTransform, getYData, getYDataValues, getYTransform, isMultiplexed, setAlpha, setCompositeMode, setData, setDataModel, setDynamicMarkerSize, setEdgeColor, setEdgeColor, setEdgeColor, setEdgeColor, setEdgeColor, setEdgeStroke, setEdgeStroke, setEdgeStroke, setEdgeStroke, setEdgeStroke, setExtraData0, setExtraData1, setExtraData2, setExtraData3, setFill, setFill, setFill, setFill, setFill, setLineColor, setLineColor, setLineColor, setLineColor, setLineStroke, setLineStroke, setLineStroke, setLineStroke, setLineStroke, setMarker, setMarker, setMarkerArray, setMarkerArray, setMarkerArray, setName, setName, setParentGraph, setPlotList, setRenderHintState, setScreenDataArray, setTextHintState, setVisualModel, setXData, setXData, setXData, setXData, setXData, setYData, setYData, setYData, setYData, setYData
-
Methods inherited from class kcl.waterloo.observable.GJAbstractObservable
addLink, addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getLinks, getPCS, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, hasSelfListener, removeLink, removePropertyChangeListener, removePropertyChangeListener, setLinks
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface kcl.waterloo.observable.GJObservableInterface
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, hasSelfListener, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface kcl.waterloo.observable.GJLinkableInterface
addLink, getLinks, removeLink, setLinks
-
-
-
-
Constructor Detail
-
GJFastLine
public GJFastLine()
-
GJFastLine
public GJFastLine(GJAbstractPlot p)
-
-
Method Detail
-
createInstance
public static GJPlotInterface createInstance()
-
paintPlot
public final void paintPlot(java.awt.Graphics2D g2)
Description copied from class:GJAbstractPlotNote that this method is overloaded by all concrete sub-classes which should call this super-class method.- Specified by:
paintPlotin interfaceGJPlotInterface- Overrides:
paintPlotin classGJAbstractPlot
-
isMultiplexible
public boolean isMultiplexible()
- Specified by:
isMultiplexiblein interfaceGJDataModelInterface<java.awt.geom.Rectangle2D,GJGraphInterface>- Overrides:
isMultiplexiblein classGJAbstractPlot
-
-
DMelt 3.0 © DataMelt by jWork.ORG