Class SpreadSheetProcessorPanel

    • Constructor Detail

      • SpreadSheetProcessorPanel

        public SpreadSheetProcessorPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        For initializing the GUI.
        Overrides:
        initGUI in class BasePanel
      • finishInit

        protected void finishInit()
        Finishes the initialization.
        Overrides:
        finishInit in class BasePanel
      • getMenuBar

        public JMenuBar getMenuBar()
        Creates a menu bar (singleton per panel object). Can be used in frames.
        Specified by:
        getMenuBar in interface MenuBarProvider
        Returns:
        the menu bar
      • updateMenu

        protected void updateMenu()
        Updates the menu.
      • openConfiguration

        protected void openConfiguration()
        Allows the user to load a previously saved configuration.
      • saveConfiguration

        protected void saveConfiguration()
        Alles the user to save the currrent configuration.
      • selectSourceWidget

        public boolean selectSourceWidget​(String name)
        Selects the source widget based on name.
        Parameters:
        name - the name of the widget
        Returns:
        true if successfully set
      • setSourceWidget

        public void setSourceWidget​(AbstractSource value)
        Sets the source widget.
        Parameters:
        value - the source
      • getSourceWidget

        public AbstractSource getSourceWidget()
        Returns the source widget.
        Returns:
        the source
      • selectProcessorWidget

        public boolean selectProcessorWidget​(String name)
        Selects the processor widget based on name.
        Parameters:
        name - the name of the widget
        Returns:
        true if successfully set
      • setProcessorWidget

        public void setProcessorWidget​(AbstractProcessor value)
        Sets the processor widget.
        Parameters:
        value - the processor
      • getProcessorWidget

        public AbstractProcessor getProcessorWidget()
        Returns the processor widget.
        Returns:
        the process
      • selectTargetWidget

        public boolean selectTargetWidget​(String name)
        Selects the target widget based on name.
        Parameters:
        name - the name of the widget
        Returns:
        true if successfully set
      • setTargetWidget

        public void setTargetWidget​(AbstractTarget value)
        Sets the target widget.
        Parameters:
        value - the target
      • getTargetWidget

        public AbstractTarget getTargetWidget()
        Returns the target widget.
        Returns:
        the target
      • getSourceData

        public SpreadSheet getSourceData()
        Returns the source data.
        Returns:
        the data, null if not available
      • getProcessorData

        public SpreadSheet getProcessorData()
        Returns the processed data.
        Returns:
        the data, null if not available
      • addGeneratedFlow

        public void addGeneratedFlow​(Actor flow)
        Adds the flow to the list of flows to clean up.
        Parameters:
        flow - the flow to clean up
      • cleanUp

        public void cleanUp()
        Cleans up data structures, frees up memory.
        Specified by:
        cleanUp in interface CleanUpHandler