Class ZScoreCircle
- 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
-
- adams.gui.visualization.stats.paintlet.AbstractZScorePaintlet
-
- adams.gui.visualization.stats.paintlet.ZScoreCircle
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,ShallowCopySupporter<Paintlet>,SizeOfHandler,AntiAliasingSupporter,Paintlet,Serializable
public class ZScoreCircle extends AbstractZScorePaintlet
paintlet for plotting cirle points on the z score visualisation
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
-fill-point (property: fillPoint) Whether to fill the data point with solid color
-fill-color <java.awt.Color> (property: fillColor) Color for filling data points default: #ff0000
- Version:
- $Revision$
- Author:
- msf8
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_FillWhether to fill the data pointsprotected Colorm_FillColorColor for filling data pointsprotected intm_Sizesize of data point-
Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractZScorePaintlet
m_AntiAliasingEnabled, m_AxisBottom, m_AxisLeft, m_Index, m_LineColor, m_Values
-
Fields inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
m_Color, m_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 ZScoreCircle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.protected voiddrawData(Graphics g)StringfillColorTipText()Tip text for the fill color propertyStringfillPointTipText()Tip text for the fill points propertyColorgetFillColor()Get the color for filling the data pointsbooleangetFillPoint()get whether the data points are filledintgetSize()Get the size of each data pointStringglobalInfo()Returns a string describing the object.voidsetFillColor(Color val)Set the color to fill the data pointsvoidsetFillPoint(boolean val)Set whether the data points are filledvoidsetSize(int val)Set the size of each data pointStringsizeTipText()Returns the tip text for this property.-
Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractZScorePaintlet
antiAliasingEnabledTipText, doPerformPaint, getLineColor, getPaintMoment, initialize, isAntiAliasingEnabled, lineColorTipText, parameters, setAntiAliasingEnabled, setIndex, setLineColor
-
Methods inherited from class adams.gui.visualization.stats.paintlet.AbstractColorPaintlet
colorTipText, getColor, getData, setColor, setData
-
Methods inherited from class adams.gui.visualization.core.AbstractStrokePaintlet
applyStroke, getStrokeThickness, getStrokeWidth, performPaint, setStrokeThickness, strokeThicknessTipText
-
Methods inherited from class adams.gui.visualization.core.AbstractPaintlet
canPaint, finishInit, forCommandLine, forName, getPaintlets, getPanel, getPlot, getRepaintOnChange, hasPanel, 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, 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_Size
protected int m_Size
size of data point
-
m_Fill
protected boolean m_Fill
Whether to fill the data points
-
m_FillColor
protected Color m_FillColor
Color for filling data points
-
-
Method Detail
-
globalInfo
public String globalInfo()
Description copied from class:AbstractOptionHandlerReturns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Description copied from class:AbstractZScorePaintletAdds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractZScorePaintlet
-
setFillColor
public void setFillColor(Color val)
Set the color to fill the data points- Parameters:
val- Color for filling points
-
getFillColor
public Color getFillColor()
Get the color for filling the data points- Returns:
- Color for filling points
-
fillColorTipText
public String fillColorTipText()
Tip text for the fill color property- Returns:
- String to describe the property
-
setFillPoint
public void setFillPoint(boolean val)
Set whether the data points are filled- Parameters:
val- True if points filled
-
getFillPoint
public boolean getFillPoint()
get whether the data points are filled- Returns:
- True if points filled
-
fillPointTipText
public String fillPointTipText()
Tip text for the fill points property- Returns:
- String describing the property
-
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)
- Overrides:
drawDatain classAbstractZScorePaintlet
-
-