Class AbstractColorPaintlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.visualization.core.AbstractPaintlet
-
- adams.gui.visualization.core.AbstractStrokePaintlet
-
- adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,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$
- Author:
- msf8
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Color
m_Color
Color of the stroke for the paintletprotected SpreadSheet
m_Data
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_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractColorPaintlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
colorTipText()
Tip text for the stroke color propertyvoid
defineOptions()
Adds options to the internal list of options.Color
getColor()
Get the stroke color for the paintletSpreadSheet
getData()
Get the instances for the paintletvoid
setColor(Color val)
Set the stroke color for the paintletvoid
setData(SpreadSheet val)
Set the instances for the paintlet-
Methods inherited from class adams.gui.visualization.core.AbstractStrokePaintlet
applyStroke, doPerformPaint, getStrokeThickness, getStrokeWidth, performPaint, 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, paint, repaint, setEnabled, setPanel, setPanel, setRepaintOnChange, shallowCopy, shallowCopy, updatePanel
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Data
protected SpreadSheet m_Data
Instances containing the data
-
m_Color
protected Color m_Color
Color of the stroke for the paintlet
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractStrokePaintlet
-
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:
-
setData
public void setData(SpreadSheet val)
Set the instances for the paintlet- Parameters:
val
- Instances containing the data
-
getData
public SpreadSheet getData()
Get the instances for the paintlet- Returns:
- Instances containing the data
-
-