Class ForecastingHandler

  • All Implemented Interfaces:
    Serializable

    public class ForecastingHandler
    extends AbstractExplorerPanelHandler
    Manages the ExplorerTSPanel (wrapper handler).
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    weka.classifiers.timeseries.gui.ForecastingHandler, Serialized Form
    • Constructor Detail

      • ForecastingHandler

        public ForecastingHandler()
        Initializes the handler.
    • Method Detail

      • handles

        public boolean handles​(weka.gui.explorer.Explorer.ExplorerPanel panel)
        Checks whether this handler can process the given panel.
        Specified by:
        handles in class AbstractExplorerPanelHandler
        Parameters:
        panel - the panel to check
        Returns:
        always true
      • serialize

        public Object serialize​(weka.gui.explorer.Explorer.ExplorerPanel panel)
        Generates a view of the explorer panel that can be serialized.
        Specified by:
        serialize in class AbstractExplorerPanelHandler
        Parameters:
        panel - the panel to serialize
        Returns:
        the data to serialize
      • deserialize

        public void deserialize​(weka.gui.explorer.Explorer.ExplorerPanel panel,
                                Object data)
        Deserializes the data and configures the panel.
        Specified by:
        deserialize in class AbstractExplorerPanelHandler
        Parameters:
        panel - the panel to update
        data - the serialized data to restore the panel with