adams.gui.visualization.stats.paintlet
Class AbstractColorPaintlet

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.gui.visualization.core.AbstractPaintlet
              extended by adams.gui.visualization.core.AbstractStrokePaintlet
                  extended by 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: 6343 $
Author:
msf8
See Also:
Serialized Form

Field Summary
protected  Color m_Color
          Color of the stroke for the paintlet
protected  Instances m_Instances
          Instances containing the data
 
Fields inherited from class adams.gui.visualization.core.AbstractStrokePaintlet
m_StrokeThickness
 
Fields inherited from class adams.gui.visualization.core.AbstractPaintlet
m_Enabled, m_Initializing, m_Panel, m_RepaintOnChange
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
AbstractColorPaintlet()
           
 
Method Summary
 String colorTipText()
          Tip text for the stroke color property
 void defineOptions()
          Adds options to the internal list of options.
 Color getColor()
          Get the stroke color for the paintlet
 Instances getInstances()
          Get the instances for the paintlet
 void setColor(Color val)
          Set the stroke color for the paintlet
 void setInstances(Instances val)
          Set the instances for the paintlet
 
Methods inherited from class adams.gui.visualization.core.AbstractStrokePaintlet
getStrokeThickness, paint, setStrokeThickness, strokeThicknessTipText
 
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
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_Instances

protected Instances m_Instances
Instances containing the data


m_Color

protected Color m_Color
Color of the stroke for the paintlet

Constructor Detail

AbstractColorPaintlet

public AbstractColorPaintlet()
Method Detail

defineOptions

public void defineOptions()
Adds options to the internal list of options.

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 © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.