adams.gui.visualization.stats.paintlet
Class AbstractColorPaintlet
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
- All Implemented Interfaces:
- Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<Paintlet>, SizeOfHandler, Paintlet, Serializable
- Direct Known Subclasses:
- AbstractOverlayPaintlet, AbstractProbabilityPaintlet, AbstractScatterPlotPaintlet, AbstractZOverlayPaintlet, AbstractZScorePaintlet, HistogramPaintlet, VsFitPaintlet, VsOrderPaintlet
public abstract class AbstractColorPaintlet
- extends AbstractStrokePaintlet
Abstract class for paintlets with a stroke color option and instances member,
all paintlets will use this.
- Version:
- $Revision: 4903 $
- Author:
- msf8
- See Also:
- Serialized Form
| Methods inherited from class adams.gui.visualization.core.AbstractPaintlet |
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPaintMoment, getPanel, getPlot, getRepaintOnChange, hasPanel, initialize, isEnabled, isInitializing, memberChanged, memberChanged, performPaint, repaint, setEnabled, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, destroy, getDebugLevel, getOptionManager, globalInfo, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
m_Instances
protected Instances m_Instances
- Instances containing the data
m_Color
protected Color m_Color
- Color of the stroke for the paintlet
AbstractColorPaintlet
public AbstractColorPaintlet()
defineOptions
public void defineOptions()
- Specified by:
defineOptions in interface OptionHandler- Overrides:
defineOptions in class AbstractStrokePaintlet
setColor
public void setColor(Color val)
- Set the stroke color for the paintlet
- Parameters:
val - Color of the stroke
getColor
public Color getColor()
- Get the stroke color for the paintlet
- Returns:
- Color of the stroke
colorTipText
public String colorTipText()
- Tip text for the stroke color property
- Returns:
setInstances
public void setInstances(Instances val)
- Set the instances for the paintlet
- Parameters:
val - Instances containing the data
getInstances
public Instances getInstances()
- Get the instances for the paintlet
- Returns:
- Instances containing the data
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.