adams.gui.visualization.stats.paintlet
Class ScatterPaintletCross
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.gui.visualization.core.AbstractPaintlet
adams.gui.visualization.core.AbstractStrokePaintlet
adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
adams.gui.visualization.stats.paintlet.AbstractScatterPlotPaintlet
adams.gui.visualization.stats.paintlet.ScatterPaintletCross
- All Implemented Interfaces:
- Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<Paintlet>, SizeOfHandler, AntiAliasingPaintlet, Paintlet, Serializable
public class ScatterPaintletCross
- extends AbstractScatterPlotPaintlet
Class for plotting data on a scatter plot as crosses.
Valid options are:
-D <int> (property: debugLevel)
The greater the number the more additional info the scheme may output to
the console (0 = off).
default: 0
minimum: 0
-stroke-thickness <float> (property: strokeThickness)
The thickness of the stroke.
default: 1.0
minimum: 0.01
-color <java.awt.Color> (property: color)
Stroke color for the paintlet
default: #000000
-size <int> (property: size)
The size of each data point.
default: 5
minimum: 1
- Version:
- $Revision: 4584 $
- Author:
- msf8
- See Also:
- Serialized Form
| Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractScatterPlotPaintlet |
antiAliasingEnabledTipText, getPaintMoment, getX_Index, getY_Index, initialize, isAntiAliasingEnabled, performPaint, setAntiAliasingEnabled, setX_Index, setY_Index, toString |
| Methods inherited from class adams.gui.visualization.core.AbstractPaintlet |
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, isInitializing, memberChanged, memberChanged, repaint, setEnabled, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, destroy, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine |
ScatterPaintletCross
public ScatterPaintletCross()
globalInfo
public String globalInfo()
- Specified by:
globalInfo in class AbstractOptionHandler
defineOptions
public void defineOptions()
- Description copied from class:
AbstractScatterPlotPaintlet
- Adds options to the internal list of options.
- Specified by:
defineOptions in interface OptionHandler- Overrides:
defineOptions in class AbstractScatterPlotPaintlet
setSize
public void setSize(int val)
- Set the size of each data point
- Parameters:
val - size in pixels
getSize
public int getSize()
- Get the size of each data point
- Returns:
- size in pixels
sizeTipText
public String sizeTipText()
- Returns the tip text for this property.
- Returns:
- tip text for this property suitable for
displaying in the GUI or for listing the options.
drawData
protected void drawData(Graphics g)
- Description copied from class:
AbstractScatterPlotPaintlet
- draws the data on the graphics object
- Overrides:
drawData in class AbstractScatterPlotPaintlet
- Parameters:
g - Graphics object to draw on
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.