Package weka.gui.explorer
Class ExperimentHandler
- java.lang.Object
-
- weka.gui.explorer.AbstractExplorerPanelHandler
-
- weka.gui.explorer.ExperimentHandler
-
- All Implemented Interfaces:
Serializable
public class ExperimentHandler extends AbstractExplorerPanelHandler
Manages theExperimentPanel
.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_CLASS_INDEX
static String
KEY_EVALUATION
static String
KEY_FOLDS
static String
KEY_RUNS
-
Fields inherited from class weka.gui.explorer.AbstractExplorerPanelHandler
m_SkipHistory
-
-
Constructor Summary
Constructors Constructor Description ExperimentHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserialize(weka.gui.explorer.Explorer.ExplorerPanel panel, Object data)
Deserializes the data and configures the panel.boolean
handles(weka.gui.explorer.Explorer.ExplorerPanel panel)
Checks whether this handler can process the given panel.Object
serialize(weka.gui.explorer.Explorer.ExplorerPanel panel)
Generates a view of the explorer panel that can be serialized.-
Methods inherited from class weka.gui.explorer.AbstractExplorerPanelHandler
deserialize, deserialize, getHandlers, getSkipHistory, getValue, restoreGOE, restoreSelectedIndex, restoreSelectedIndices, restoreSelectedState, restoreSelectedState, restoreSpinner, restoreText, serialize, serialize, setSkipHistory
-
-
-
-
Field Detail
-
KEY_FOLDS
public static final String KEY_FOLDS
- See Also:
- Constant Field Values
-
KEY_EVALUATION
public static final String KEY_EVALUATION
- See Also:
- Constant Field Values
-
KEY_RUNS
public static final String KEY_RUNS
- See Also:
- Constant Field Values
-
KEY_CLASS_INDEX
public static final String KEY_CLASS_INDEX
- See Also:
- Constant Field Values
-
-
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 classAbstractExplorerPanelHandler
- 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 classAbstractExplorerPanelHandler
- 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 classAbstractExplorerPanelHandler
- Parameters:
panel
- the panel to updatedata
- the serialized data to restore the panel with
-
-