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 intm_SampleSizethe 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 voiddefineOptions()Adds options to the internal list of options.protected abstract intgetDefaultSampleSize()Returns the default sample size.protected NumbergetDefaultSampleSizeLowerLimit()Returns the default lower limit for the sample size.protected NumbergetDefaultSampleSizeUpperLimit()Returns the default upper limit for the sample size.abstract StringgetName()Returns the chart name.intgetSampleSize()Returns the sample size.StringsampleSizeTipText()Returns the tip text for this property.voidsetSampleSize(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:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin 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:
getNamein interfaceControlChart- Returns:
- the chart name
-
setSampleSize
public void setSampleSize(int value)
Sets the sample size.- Specified by:
setSampleSizein interfaceControlChartWithSampleSize- Parameters:
value- the sample size
-
getSampleSize
public int getSampleSize()
Returns the sample size.- Specified by:
getSampleSizein interfaceControlChartWithSampleSize- Returns:
- the sample size
-
sampleSizeTipText
public String sampleSizeTipText()
Returns the tip text for this property.- Specified by:
sampleSizeTipTextin interfaceControlChartWithSampleSize- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-