|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.gui.tools.spreadsheetviewer.AbstractViewPlugin
public abstract class AbstractViewPlugin
Ancestor for "information" plugins in the spreadsheet viewer.
| Field Summary |
|---|
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AbstractViewPlugin()
|
|
| Method Summary | |
|---|---|
protected String |
check(SpreadSheet sheet)
Checks the spreadsheet. |
protected abstract BasePanel |
doGenerate(SpreadSheet sheet)
Performs the actual generation of the information. |
BasePanel |
generate(SpreadSheet sheet)
Processes the spreadsheet. |
abstract String |
getMenuIcon()
Returns the file name of the icon. |
abstract String |
getMenuText()
Returns the text of the menu item. |
static String[] |
getPlugins()
Returns a list with classnames of plugins. |
AbstractViewPlugin |
shallowCopy()
Returns a shallow copy of itself, i.e., based on the commandline options. |
AbstractViewPlugin |
shallowCopy(boolean expand)
Returns a shallow copy of itself, i.e., based on the commandline options. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, defineOptions, destroy, finishInit, getDebugLevel, getOptionManager, globalInfo, 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 |
|---|
public AbstractViewPlugin()
| Method Detail |
|---|
public abstract String getMenuText()
public abstract String getMenuIcon()
protected String check(SpreadSheet sheet)
sheet - the spreadsheet to check
protected abstract BasePanel doGenerate(SpreadSheet sheet)
sheet - the sheet to process
public BasePanel generate(SpreadSheet sheet)
sheet - the sheet to process
IllegalArgumentException - if the check failedcheck(SpreadSheet)public AbstractViewPlugin shallowCopy()
shallowCopy in interface ShallowCopySupporter<AbstractViewPlugin>public AbstractViewPlugin shallowCopy(boolean expand)
shallowCopy in interface ShallowCopySupporter<AbstractViewPlugin>expand - whether to expand variables to their current values
public static String[] getPlugins()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||