adams.gui.visualization.stats.probabilityplot
Class NormalPlotOptions

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.gui.visualization.stats.probabilityplot.NormalPlotOptions
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, SizeOfHandler, Serializable

public class NormalPlotOptions
extends AbstractOptionHandler

Class for setting the options for the normal probability plot

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
 
-regression-line (property: regLine)
    Display a linear regression line overlay
 

Version:
$Revision: 4584 $
Author:
msf8
See Also:
Serialized Form

Field Summary
protected  boolean m_RegLine
          Whether to display a regression diagonal line
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
NormalPlotOptions()
           
 
Method Summary
 void defineOptions()
           
 boolean getRegLine()
          Get whether a regression line should be drawn
 String globalInfo()
           
 String regLineTipText()
          Tip text for the regression line property
 void setRegLine(boolean val)
          Set whether a regression line should be drawn
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, 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_RegLine

protected boolean m_RegLine
Whether to display a regression diagonal line

Constructor Detail

NormalPlotOptions

public NormalPlotOptions()
Method Detail

globalInfo

public String globalInfo()
Specified by:
globalInfo in class AbstractOptionHandler

defineOptions

public void defineOptions()
Specified by:
defineOptions in interface OptionHandler
Overrides:
defineOptions in class AbstractOptionHandler

setRegLine

public void setRegLine(boolean val)
Set whether a regression line should be drawn

Parameters:
val - True if regression line drawn

getRegLine

public boolean getRegLine()
Get whether a regression line should be drawn

Returns:

regLineTipText

public String regLineTipText()
Tip text for the regression line property

Returns:
String describing the property


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.