Package adams.flow.sink
Class SpreadSheetDisplay
-
- All Implemented Interfaces:
AdditionalInformationHandler,CleanUpHandler,Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,QuickInfoSupporter,ShallowCopySupporter<Actor>,SizeOfHandler,Stoppable,StoppableWithFeedback,TextSupporter,VariablesInspectionHandler,SpreadSheetSupporter,VariableChangeListener,Actor,ClearableDisplay,DisplayTypeSupporter,ErrorHandler,FlowControlSubMenuSupporter,HeadlessExecutionSupporter,InputConsumer,ComponentSupplier,DisplayPanelProvider,TextSupplier,MenuBarProvider,SendToActionSupporter,Serializable,Comparable
public class SpreadSheetDisplay extends AbstractTextualDisplay implements DisplayPanelProvider, SpreadSheetSupporter, ComponentSupplier
Actor for displaying a spreadsheet.
Custom background for negative/positive values can be specified as well.
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
adams.data.spreadsheet.SpreadSheetSupporter
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-name <java.lang.String> (property: name) The name of the actor. default: SpreadSheetDisplay
-annotation <adams.core.base.BaseAnnotation> (property: annotations) The annotations to attach to this actor. default:
-skip <boolean> (property: skip) If set to true, transformation is skipped and the input token is just forwarded as it is. default: false
-stop-flow-on-error <boolean> (property: stopFlowOnError) If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors. default: false
-silent <boolean> (property: silent) If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well. default: false
-short-title <boolean> (property: shortTitle) If enabled uses just the name for the title instead of the actor's full name. default: false
-display-type <adams.flow.core.displaytype.AbstractDisplayType> (property: displayType) Determines how to show the display, eg as standalone frame (default) or in the Flow editor window. default: adams.flow.core.displaytype.Default
-width <int> (property: width) The width of the dialog. default: 640 minimum: -1
-height <int> (property: height) The height of the dialog. default: 480 minimum: -1
-x <int> (property: x) The X position of the dialog (>=0: absolute, -1: left, -2: center, -3: right ). default: -1 minimum: -3
-y <int> (property: y) The Y position of the dialog (>=0: absolute, -1: top, -2: center, -3: bottom ). default: -1 minimum: -3
-font <java.awt.Font> (property: font) The font of the dialog. default: Monospaced-PLAIN-12
-num-decimals <int> (property: numDecimals) The number of decimals for numeric values. default: 3 minimum: -1
-cell-rendering-customizer <adams.gui.core.spreadsheettable.CellRenderingCustomizer> (property: cellRenderingCustomizer) The customizer for the cell rendering. default: adams.gui.core.spreadsheettable.DefaultCellRenderingCustomizer
-show-row-index-col <boolean> (property: showRowIndexColumn) Whether to show the row index column. default: true
-show-formulas <boolean> (property: showFormulas) Whether to show the formulas or the calculated values. default: false
-use-simple-header <boolean> (property: useSimpleHeader) Whether to use a simple table header (and also suppress the combobox for jumping to a column). default: false
-allow-search <boolean> (property: allowSearch) Whether to allow the user to search the table. default: false
-optimal-column-width <boolean> (property: optimalColumnWidth) Whether to calculate the optimal column width whenever a token is displayed (= enabled) or only when flow finishes. default: true
-read-only <boolean> (property: readOnly) Whether cells are read-only or editable. default: true
-writer <adams.data.io.output.AbstractTextWriter> (property: writer) The writer to use for storing the textual output. default: adams.data.io.output.NullWriter
-selected-rows-processor <adams.gui.core.spreadsheettable.ProcessSelectedRows> [-selected-rows-processor ...] (property: selectedRowsProcessors) The schemes that allow processing of the selected rows. default:
-preview <adams.gui.core.spreadsheetpreview.AbstractSpreadSheetPreview> (property: preview) The preview to use for selected rows. default: adams.gui.core.spreadsheetpreview.NullPreview
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpreadSheetDisplay.SpreadSheetDisplayPanelCustomDisplayPanel.
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_AllowSearchwhether to allow searching.protected CellRenderingCustomizerm_CellRenderingCustomizerthe custom cell renderer.protected intm_NumDecimalsthe number of decimals for numeric values.protected booleanm_OptimalColumnWidthwhether to optimize the column width whenever a token is displayed.protected SearchPanelm_PanelSearchthe search panel.protected AbstractSpreadSheetPreviewm_Previewthe preview to use.protected booleanm_ReadOnlywhether the table is read only.protected ProcessSelectedRows[]m_SelectedRowsProcessorsfor processing the selected rows.protected booleanm_ShowFormulaswhether to show the formulas instead of the calculated values.protected booleanm_ShowRowIndexColumnwhether to show the column with the row index.protected SpreadSheetTablem_Tablethe table.protected SpreadSheetTableModelm_TableModelthe table model.protected booleanm_UseSimpleHeaderwhether to use the simple header.-
Fields inherited from class adams.flow.sink.AbstractTextualDisplay
m_AlwaysClear, m_FileChooser, m_Font, m_MenuBar, m_MenuItemFileClear, m_MenuItemFileClose, m_MenuItemFileSaveAs, m_MenuItemFlowPauseResume, m_MenuItemFlowStop, m_ShowFlowControlSubMenu, m_Writer
-
Fields inherited from class adams.flow.core.AbstractDisplay
BACKUP_INPUT, m_CreateFrame, m_DisplayType, m_Frame, m_Height, m_InputToken, m_KeepOpen, m_Panel, m_ResetGUIWaiting, m_ShortTitle, m_Updating, m_Width, m_X, m_Y
-
Fields inherited from class adams.flow.core.AbstractActor
m_Annotations, m_BackupState, m_DetectedObjectVariables, m_DetectedVariables, m_ErrorHandler, m_Executed, m_Executing, m_ExecutionListeningSupporter, m_FullName, m_LoggingPrefix, m_Name, m_Parent, m_ScopeHandler, m_Self, m_Silent, m_Skip, m_StopFlowOnError, m_StopMessage, m_Stopped, m_StorageHandler, m_VariablesUpdated
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
Fields inherited from interface adams.flow.core.Actor
FILE_EXTENSION, FILE_EXTENSION_GZ
-
-
Constructor Summary
Constructors Constructor Description SpreadSheetDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]accepts()Returns the class that the consumer accepts.StringallowSearchTipText()Returns the tip text for this property.StringcellRenderingCustomizerTipText()Returns the tip text for this property.voidclearPanel()Clears the content of the panel.AbstractDisplayPanelcreateDisplayPanel(Token token)Creates a new panel for the token.voiddefineOptions()Adds options to the internal list of options.protected voiddisplay(Token token)Displays the token (the panel and dialog have already been created at this stage).booleandisplayPanelRequiresScrollPane()Returns whether the created display panel requires a scroll pane or not.booleangetAllowSearch()Returns whether to allow the user to search the table.CellRenderingCustomizergetCellRenderingCustomizer()Returns the cell rendering customizer.ExtensionFileFiltergetCustomTextFileFilter()Returns a custom file filter for the file chooser.protected intgetDefaultHeight()Returns the default height for the dialog.protected intgetDefaultWidth()Returns the default width for the dialog.intgetNumDecimals()Returns the currently set number of decimals to display.booleangetOptimalColumnWidth()Returns whether calculate the optimal column widht whenever a token is displayed (= true) or just when the flow finishes.AbstractSpreadSheetPreviewgetPreview()Returns the preview to use for selected rows.StringgetQuickInfo()Returns a quick info about the actor, which will be displayed in the GUI.booleangetReadOnly()Returns whether cells are readonly or editable.ProcessSelectedRows[]getSelectedRowsProcessors()Returns the processors for the selected rows.Class[]getSendToClasses()Returns the classes that the supporter generates.ObjectgetSendToItem(Class[] cls)Returns the object to send.booleangetShowFormulas()Returns whether to show the formulas or the calculated values.booleangetShowRowIndexColumn()Returns whether to show the column with the row indices.booleangetUseSimpleHeader()Returns whether to use a simple table (and also suppress the combobox for jumping to a column).StringglobalInfo()Returns a string describing the object.BasePanelnewPanel()Creates the panel to display in the dialog.StringnumDecimalsTipText()Returns the tip text for this property.StringoptimalColumnWidthTipText()Returns the tip text for this property.StringpreviewTipText()Returns the tip text for this property.StringreadOnlyTipText()Returns the tip text for this property.StringselectedRowsProcessorsTipText()Returns the tip text for this property.voidsetAllowSearch(boolean value)Sets whether to allow the user to search the table.voidsetCellRenderingCustomizer(CellRenderingCustomizer value)Sets the cell rendering customizer.voidsetNumDecimals(int value)Sets the number of decimals to display.voidsetOptimalColumnWidth(boolean value)Sets whether calculate the optimal column widht whenever a token is displayed (= true) or just when the flow finishes.voidsetPreview(AbstractSpreadSheetPreview value)Sets the preview to use for selected rows.voidsetReadOnly(boolean value)Sets whether cells are readonly or editable.voidsetSelectedRowsProcessors(ProcessSelectedRows[] value)Sets the processors for the selected rows.voidsetShowFormulas(boolean value)Sets whether to show the formulas or the calculated values.voidsetShowRowIndexColumn(boolean value)Sets whether to show the column with the row indices.voidsetUseSimpleHeader(boolean value)Sets whether to use a simple table (and also suppress the combobox for jumping to a column).StringshowFormulasTipText()Returns the tip text for this property.StringshowRowIndexColumnTipText()Returns the tip text for this property.JComponentsupplyComponent()Supplies the component.StringsupplyText()Returns the text to save.SpreadSheettoSpreadSheet()Returns the content as spreadsheet.StringuseSimpleHeaderTipText()Returns the tip text for this property.voidwrapUp()Cleans up after the execution has finished.-
Methods inherited from class adams.flow.sink.AbstractTextualDisplay
alwaysClearTipText, canPauseOrResume, cleanUp, cleanUpGUI, clear, close, createFileMenu, createFlowMenu, createMenuBar, doExecuteHeadless, fontTipText, getAlwaysClear, getCustomSupplyTextMenuItemCaption, getDefaultFont, getFileChooser, getFont, getMenuBar, getShowFlowControlSubMenu, getWriter, hasSendToItem, indexOfMenuItem, initialize, isPaused, pauseResumeFlow, preDisplay, saveAs, setAlwaysClear, setFont, setShowFlowControlSubMenu, setWriter, showFlowControlSubMenuTipText, stopFlow, supportsClear, supportsHeadlessExecution, updateMenu, writerTipText
-
Methods inherited from class adams.flow.sink.AbstractDisplay
newDisplayRunnable, postDisplay
-
Methods inherited from class adams.flow.core.AbstractDisplay
backupState, cleanUpGUIKeepOpen, closeDisplay, createFrame, createTitle, currentInput, deregisterInWrapUp, deregisterWindow, deregisterWithEditor, displayTypeTipText, doCreateFrame, doExecute, getCreateFrame, getDefaultDisplayType, getDefaultShortTitle, getDefaultX, getDefaultY, getDisplayType, getFrame, getFrameDefaultCloseOperation, getHeight, getKeepOpen, getPanel, getShortTitle, getWidth, getX, getY, hasInput, heightTipText, input, postCreateFrame, preCreateFrame, registerWindow, registerWithEditor, reset, restoreState, setCreateFrame, setDisplayType, setHeight, setKeepOpen, setShortTitle, setWidth, setX, setY, shortTitleTipText, stopExecution, widthTipText, xTipText, yTipText
-
Methods inherited from class adams.flow.core.AbstractActor
annotationsTipText, canInspectOptions, canPerformSetUpCheck, compareTo, configureLogger, destroy, equals, execute, finalUpdateVariables, findVariables, findVariables, forceVariables, forCommandLine, forName, forName, getAdditionalInformation, getAnnotations, getDefaultName, getDetectedVariables, getErrorHandler, getFlowActors, getFlowExecutionListeningSupporter, getFullName, getName, getNextSibling, getParent, getParentComponent, getPreviousSibling, getRoot, getScopeHandler, getSilent, getSkip, getStopFlowOnError, getStopMessage, getStorageHandler, getVariables, handleError, handleException, hasErrorHandler, hasStopMessage, index, isBackedUp, isExecuted, isExecuting, isFinished, isHeadless, isStopped, nameTipText, performSetUpChecks, performVariableChecks, postExecute, preExecute, pruneBackup, pruneBackup, setAnnotations, setErrorHandler, setName, setParent, setSilent, setSkip, setStopFlowOnError, setUp, setVariables, shallowCopy, shallowCopy, silentTipText, sizeOf, skipTipText, stopExecution, stopFlowOnErrorTipText, updateDetectedVariables, updatePrefix, updateVariables, variableChanged
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.flow.core.Actor
cleanUp, compareTo, destroy, equals, execute, findVariables, getAnnotations, getDefaultName, getDetectedVariables, getErrorHandler, getFlowExecutionListeningSupporter, getFullName, getName, getNextSibling, getParent, getParentComponent, getPreviousSibling, getRoot, getScopeHandler, getSilent, getSkip, getStopFlowOnError, getStopMessage, getStorageHandler, getVariables, handleError, hasErrorHandler, hasStopMessage, index, isExecuted, isFinished, isHeadless, isStopped, setAnnotations, setErrorHandler, setName, setParent, setSilent, setSkip, setStopFlowOnError, setUp, setVariables, shallowCopy, shallowCopy, sizeOf, stopExecution, stopExecution, toCommandLine, variableChanged
-
Methods inherited from interface adams.core.AdditionalInformationHandler
getAdditionalInformation
-
Methods inherited from interface adams.flow.core.InputConsumer
currentInput, hasInput, input
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel, setLoggingLevel
-
Methods inherited from interface adams.core.logging.LoggingSupporter
getLogger, isLoggingEnabled
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager
-
Methods inherited from interface adams.core.VariablesInspectionHandler
canInspectOptions
-
-
-
-
Field Detail
-
m_Table
protected SpreadSheetTable m_Table
the table.
-
m_TableModel
protected SpreadSheetTableModel m_TableModel
the table model.
-
m_PanelSearch
protected SearchPanel m_PanelSearch
the search panel.
-
m_NumDecimals
protected int m_NumDecimals
the number of decimals for numeric values.
-
m_CellRenderingCustomizer
protected CellRenderingCustomizer m_CellRenderingCustomizer
the custom cell renderer.
-
m_ShowRowIndexColumn
protected boolean m_ShowRowIndexColumn
whether to show the column with the row index.
-
m_ShowFormulas
protected boolean m_ShowFormulas
whether to show the formulas instead of the calculated values.
-
m_UseSimpleHeader
protected boolean m_UseSimpleHeader
whether to use the simple header.
-
m_AllowSearch
protected boolean m_AllowSearch
whether to allow searching.
-
m_OptimalColumnWidth
protected boolean m_OptimalColumnWidth
whether to optimize the column width whenever a token is displayed.
-
m_ReadOnly
protected boolean m_ReadOnly
whether the table is read only.
-
m_SelectedRowsProcessors
protected ProcessSelectedRows[] m_SelectedRowsProcessors
for processing the selected rows.
-
m_Preview
protected AbstractSpreadSheetPreview m_Preview
the preview to use.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractTextualDisplay
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI.- Specified by:
getQuickInfoin interfaceActor- Specified by:
getQuickInfoin interfaceQuickInfoSupporter- Overrides:
getQuickInfoin classAbstractTextualDisplay- Returns:
- null if no info available, otherwise short string
-
setNumDecimals
public void setNumDecimals(int value)
Sets the number of decimals to display.- Parameters:
value- the number of decimals
-
getNumDecimals
public int getNumDecimals()
Returns the currently set number of decimals to display.- Returns:
- the number of decimals
-
numDecimalsTipText
public String numDecimalsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setCellRenderingCustomizer
public void setCellRenderingCustomizer(CellRenderingCustomizer value)
Sets the cell rendering customizer.- Parameters:
value- the customizer
-
getCellRenderingCustomizer
public CellRenderingCustomizer getCellRenderingCustomizer()
Returns the cell rendering customizer.- Returns:
- the customizer
-
cellRenderingCustomizerTipText
public String cellRenderingCustomizerTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setShowFormulas
public void setShowFormulas(boolean value)
Sets whether to show the formulas or the calculated values.- Parameters:
value- true if to show formulas
-
getShowFormulas
public boolean getShowFormulas()
Returns whether to show the formulas or the calculated values.- Returns:
- true if to show formulas
-
showFormulasTipText
public String showFormulasTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setShowRowIndexColumn
public void setShowRowIndexColumn(boolean value)
Sets whether to show the column with the row indices.- Parameters:
value- true if to show the column
-
getShowRowIndexColumn
public boolean getShowRowIndexColumn()
Returns whether to show the column with the row indices.- Returns:
- true if to show the column
-
showRowIndexColumnTipText
public String showRowIndexColumnTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setUseSimpleHeader
public void setUseSimpleHeader(boolean value)
Sets whether to use a simple table (and also suppress the combobox for jumping to a column).- Parameters:
value- true if to use
-
getUseSimpleHeader
public boolean getUseSimpleHeader()
Returns whether to use a simple table (and also suppress the combobox for jumping to a column).- Returns:
- true if to use
-
useSimpleHeaderTipText
public String useSimpleHeaderTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setAllowSearch
public void setAllowSearch(boolean value)
Sets whether to allow the user to search the table.- Parameters:
value- true if to allow search
-
getAllowSearch
public boolean getAllowSearch()
Returns whether to allow the user to search the table.- Returns:
- true if to allow search
-
allowSearchTipText
public String allowSearchTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setOptimalColumnWidth
public void setOptimalColumnWidth(boolean value)
Sets whether calculate the optimal column widht whenever a token is displayed (= true) or just when the flow finishes.- Parameters:
value- true if to always recaculate
-
getOptimalColumnWidth
public boolean getOptimalColumnWidth()
Returns whether calculate the optimal column widht whenever a token is displayed (= true) or just when the flow finishes.- Returns:
- true if to always recalculate
-
optimalColumnWidthTipText
public String optimalColumnWidthTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setReadOnly
public void setReadOnly(boolean value)
Sets whether cells are readonly or editable.- Parameters:
value- true if read only
-
getReadOnly
public boolean getReadOnly()
Returns whether cells are readonly or editable.- Returns:
- true if read only
-
readOnlyTipText
public String readOnlyTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setSelectedRowsProcessors
public void setSelectedRowsProcessors(ProcessSelectedRows[] value)
Sets the processors for the selected rows.- Parameters:
value- the processors
-
getSelectedRowsProcessors
public ProcessSelectedRows[] getSelectedRowsProcessors()
Returns the processors for the selected rows.- Returns:
- the processors
-
selectedRowsProcessorsTipText
public String selectedRowsProcessorsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setPreview
public void setPreview(AbstractSpreadSheetPreview value)
Sets the preview to use for selected rows.- Parameters:
value- the preview
-
getPreview
public AbstractSpreadSheetPreview getPreview()
Returns the preview to use for selected rows.- Returns:
- the preview
-
previewTipText
public String previewTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getDefaultWidth
protected int getDefaultWidth()
Returns the default width for the dialog.- Overrides:
getDefaultWidthin classAbstractDisplay- Returns:
- the default width
-
getDefaultHeight
protected int getDefaultHeight()
Returns the default height for the dialog.- Overrides:
getDefaultHeightin classAbstractDisplay- Returns:
- the default height
-
clearPanel
public void clearPanel()
Clears the content of the panel.- Specified by:
clearPanelin classAbstractDisplay
-
newPanel
public BasePanel newPanel()
Creates the panel to display in the dialog.- Specified by:
newPanelin classAbstractDisplay- Returns:
- the panel
-
accepts
public Class[] accepts()
Returns the class that the consumer accepts.- Specified by:
acceptsin interfaceInputConsumer- Returns:
- adams.data.spreadsheet.SpreadSheet.class, adams.data.spreadsheet.SpreadSheetSupporter.class
-
display
protected void display(Token token)
Displays the token (the panel and dialog have already been created at this stage).- Specified by:
displayin classAbstractDisplay- Parameters:
token- the token to display
-
createDisplayPanel
public AbstractDisplayPanel createDisplayPanel(Token token)
Creates a new panel for the token.- Specified by:
createDisplayPanelin interfaceDisplayPanelProvider- Parameters:
token- the token to display in a new panel, can be null- Returns:
- the generated panel
-
displayPanelRequiresScrollPane
public boolean displayPanelRequiresScrollPane()
Returns whether the created display panel requires a scroll pane or not.- Specified by:
displayPanelRequiresScrollPanein interfaceDisplayPanelProvider- Returns:
- true if the display panel requires a scroll pane
-
getCustomTextFileFilter
public ExtensionFileFilter getCustomTextFileFilter()
Returns a custom file filter for the file chooser.- Specified by:
getCustomTextFileFilterin interfaceTextSupplier- Overrides:
getCustomTextFileFilterin classAbstractTextualDisplay- Returns:
- the file filter, null if to use default one
-
supplyText
public String supplyText()
Returns the text to save.- Specified by:
supplyTextin interfaceTextSupplier- Specified by:
supplyTextin interfaceTextSupporter- Specified by:
supplyTextin classAbstractTextualDisplay- Returns:
- the text, null if no text available
-
supplyComponent
public JComponent supplyComponent()
Supplies the component. May get called even before actor has been executed.- Specified by:
supplyComponentin interfaceComponentSupplier- Returns:
- the component, null if none available
-
getSendToClasses
public Class[] getSendToClasses()
Returns the classes that the supporter generates.- Specified by:
getSendToClassesin interfaceSendToActionSupporter- Overrides:
getSendToClassesin classAbstractTextualDisplay- Returns:
- the classes
-
getSendToItem
public Object getSendToItem(Class[] cls)
Returns the object to send.- Specified by:
getSendToItemin interfaceSendToActionSupporter- Overrides:
getSendToItemin classAbstractTextualDisplay- Parameters:
cls- the classes to retrieve the item for- Returns:
- the item to send
-
toSpreadSheet
public SpreadSheet toSpreadSheet()
Returns the content as spreadsheet.- Specified by:
toSpreadSheetin interfaceSpreadSheetSupporter- Returns:
- the content, null if not available
-
wrapUp
public void wrapUp()
Cleans up after the execution has finished.- Specified by:
wrapUpin interfaceActor- Overrides:
wrapUpin classAbstractTextualDisplay
-
-