kcl.waterloo.graphics.plots2D
Class GJCloud
- java.lang.Object
-
- kcl.waterloo.observable.GJAbstractObservable
-
- kcl.waterloo.graphics.plots2D.GJAbstractPlotModelImpl
-
- kcl.waterloo.graphics.plots2D.GJAbstractPlot
-
- kcl.waterloo.graphics.plots2D.GJCloud
-
- 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 GJCloud extends GJAbstractPlot
GJCloud provides an alternative to the GJScatter plot when drawing large numbers of points. Markers are not rendered - just a short dash. GJCloud respects the Fill color setting - which sets the color of the dash - and allows multiplexing of the colors. Otherwise all marker and line settings are ignored. This provides for extremely fast rendering. Use GJCloud in preference to GJScatter when there are many thousands of data points to display. How many will depend on your system/hardware: for some Macs, GJScatter can give slow performance with as few as 5000 points. On Windows systems, 10000-20000 points can usually be handled OK.
-
-
Field Summary
-
Fields inherited from class kcl.waterloo.graphics.plots2D.GJAbstractPlotModelImpl
screenDataArray
-
-
Constructor Summary
Constructors Constructor and Description GJCloud()GJCloud(GJAbstractPlot p)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static GJPlotInterfacecreateInstance()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, isMultiplexible, 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
-
GJCloud
public GJCloud()
-
GJCloud
public GJCloud(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
-
-
DMelt 3.0 © DataMelt by jWork.ORG