adams.gui.tools.spreadsheetviewer
Class Statistics

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.gui.tools.spreadsheetviewer.AbstractViewPlugin
              extended by adams.gui.tools.spreadsheetviewer.Statistics
All Implemented Interfaces:
Debuggable, Destroyable, OptionHandler, ShallowCopySupporter<AbstractViewPlugin>, SizeOfHandler, Serializable

public class Statistics
extends AbstractViewPlugin

Generates a table with some simple statistics.

Version:
$Revision: 6187 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
Statistics()
           
 
Method Summary
protected  BasePanel doGenerate(SpreadSheet sheet)
          Performs the actual generation of the information.
 String getMenuIcon()
          Returns the file name of the icon.
 String getMenuText()
          Returns the text of the menu item.
 String globalInfo()
          Returns a string describing the object.
 
Methods inherited from class adams.gui.tools.spreadsheetviewer.AbstractViewPlugin
check, generate, getPlugins, shallowCopy, shallowCopy
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, 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
 

Constructor Detail

Statistics

public Statistics()
Method Detail

globalInfo

public String globalInfo()
Returns a string describing the object.

Specified by:
globalInfo in class AbstractOptionHandler
Returns:
a description suitable for displaying in the gui

getMenuText

public String getMenuText()
Returns the text of the menu item.

Specified by:
getMenuText in class AbstractViewPlugin
Returns:
the text

getMenuIcon

public String getMenuIcon()
Returns the file name of the icon.

Specified by:
getMenuIcon in class AbstractViewPlugin
Returns:
the filename or null if no icon available

doGenerate

protected BasePanel doGenerate(SpreadSheet sheet)
Performs the actual generation of the information.

Specified by:
doGenerate in class AbstractViewPlugin
Parameters:
sheet - the sheet to process
Returns:
the generated information panel


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