Package adams.data.spc
Class AbstractControlChartWithSampleSize
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.spc.AbstractControlChart
-
- adams.data.spc.AbstractControlChartWithSampleSize
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,TechnicalInformationHandler
,ControlChart
,ControlChartWithSampleSize
,Serializable
- Direct Known Subclasses:
CChart
,NPChart
,PChart
,XBarRChart
,XBarSChart
public abstract class AbstractControlChartWithSampleSize extends AbstractControlChart implements ControlChartWithSampleSize
Ancestor for control charts.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
m_SampleSize
the sample size.-
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 AbstractControlChartWithSampleSize()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.protected abstract int
getDefaultSampleSize()
Returns the default sample size.protected Number
getDefaultSampleSizeLowerLimit()
Returns the default lower limit for the sample size.protected Number
getDefaultSampleSizeUpperLimit()
Returns the default upper limit for the sample size.abstract String
getName()
Returns the chart name.int
getSampleSize()
Returns the sample size.String
sampleSizeTipText()
Returns the tip text for this property.void
setSampleSize(int value)
Sets the sample size.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, 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.Destroyable
destroy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.TechnicalInformationHandler
getTechnicalInformation
-
-
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
getDefaultSampleSizeLowerLimit
protected Number getDefaultSampleSizeLowerLimit()
Returns the default lower limit for the sample size.- Returns:
- the default lower limit
-
getDefaultSampleSizeUpperLimit
protected Number getDefaultSampleSizeUpperLimit()
Returns the default upper limit for the sample size.- Returns:
- the default upper limit
-
getDefaultSampleSize
protected abstract int getDefaultSampleSize()
Returns the default sample size.- Returns:
- the default size
-
getName
public abstract String getName()
Returns the chart name.- Specified by:
getName
in interfaceControlChart
- Returns:
- the chart name
-
setSampleSize
public void setSampleSize(int value)
Sets the sample size.- Specified by:
setSampleSize
in interfaceControlChartWithSampleSize
- Parameters:
value
- the sample size
-
getSampleSize
public int getSampleSize()
Returns the sample size.- Specified by:
getSampleSize
in interfaceControlChartWithSampleSize
- Returns:
- the sample size
-
sampleSizeTipText
public String sampleSizeTipText()
Returns the tip text for this property.- Specified by:
sampleSizeTipText
in interfaceControlChartWithSampleSize
- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-