Class SpreadSheetView
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
-
- adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPlugin
-
- adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPlugin
-
- adams.gui.visualization.heatmap.plugins.SpreadSheetView
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter,adams.core.SizeOfHandler,Serializable
public class SpreadSheetView extends AbstractSelectedHeatmapsViewerPlugin
Displays the heatmap as spreadsheet.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected adams.core.Propertiesm_Propertiesthe properties to use for display parameters.protected List<adams.gui.core.SpreadSheetTable>m_TableListthe list of spreadsheet tables.protected List<String>m_TitleListthe titles for the panels.-
Fields inherited from class adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPlugin
m_SelectedPanels
-
-
Constructor Summary
Constructors Constructor Description SpreadSheetView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExecute(HeatmapPanel panel)Checks whether the plugin can be executed given the specified image panel.protected JPanelcreateConfigurationPanel(adams.gui.dialog.ApprovalDialog dialog)Creates the panel with the configuration (return null to suppress display).protected StringcreateLogEntry()Creates the log message.StringgetCaption()Returns the text for the menu item to create.StringgetIconName()Returns the icon name.StringgetMenu()Returns the text for the menu to place the plugin beneath.protected Stringprocess(HeatmapPanel panel)Processes the specified panel.protected StringprocessFinish()Finishes up the processing.protected StringprocessInit()Initializes the processing.-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPlugin
createDialog, createListPanel, doExecute, getAllPanels, getDialogSize, hasApprovalButton, hasCancelButton, process
-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPlugin
doLog
-
Methods inherited from class adams.gui.plugin.AbstractToolPlugin
execute, getCanceledByUser, getIcon, getLastSetup, hasLastSetup, log, setLastSetup
-
-
-
-
Method Detail
-
getMenu
public String getMenu()
Returns the text for the menu to place the plugin beneath.- Overrides:
getMenuin classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>- Returns:
- the menu
-
getCaption
public String getCaption()
Returns the text for the menu item to create.- Specified by:
getCaptionin classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>- Returns:
- the text
-
getIconName
public String getIconName()
Returns the icon name.- Overrides:
getIconNamein classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>- Returns:
- the name, null if none available
-
canExecute
public boolean canExecute(HeatmapPanel panel)
Checks whether the plugin can be executed given the specified image panel.- Overrides:
canExecutein classAbstractSelectedHeatmapsViewerPlugin- Parameters:
panel- the panel to use as basis for decision- Returns:
- true if plugin can be executed
-
createConfigurationPanel
protected JPanel createConfigurationPanel(adams.gui.dialog.ApprovalDialog dialog)
Creates the panel with the configuration (return null to suppress display).- Specified by:
createConfigurationPanelin classAbstractSelectedHeatmapsViewerPlugin- Parameters:
dialog- the dialog that is being created- Returns:
- the generated panel, null to suppress
-
processInit
protected String processInit()
Initializes the processing.- Overrides:
processInitin classAbstractSelectedHeatmapsViewerPlugin- Returns:
- null if successful, otherwise error message
-
process
protected String process(HeatmapPanel panel)
Processes the specified panel.- Specified by:
processin classAbstractSelectedHeatmapsViewerPlugin- Parameters:
panel- the panel to process- Returns:
- null if successful, error message otherwise
-
processFinish
protected String processFinish()
Finishes up the processing.- Overrides:
processFinishin classAbstractSelectedHeatmapsViewerPlugin- Returns:
- null if successful, otherwise error message
-
createLogEntry
protected String createLogEntry()
Creates the log message.- Specified by:
createLogEntryin classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>- Returns:
- the message, null if none available
-
-