@Alias(value={"mini","minigui"}) public class MiniGUI extends AbstractApplication
Modifier and Type | Class and Description |
---|---|
(package private) class |
MiniGUI.SettingsComboboxModel
Class to interface between the saved settings list and a JComboBox.
|
AbstractApplication.Parameterizer
Modifier and Type | Field and Description |
---|---|
protected static String |
ACTION_QUIT
Quit action, for mnemonics.
|
(package private) JFrame |
frame
The frame
|
private static Logging |
LOG
ELKI logger for the GUI.
|
private Class<? extends AbstractApplication> |
maincls
Application to configure / run.
|
static String |
NEWLINE
Newline used in output.
|
protected LogPanel |
outputArea
Logging output area.
|
(package private) JPanel |
panel
The main panel.
|
protected DynamicParameters |
parameters
Parameter storage.
|
protected ParameterTable |
parameterTable
The parameter table.
|
protected JButton |
runButton
The "run" button.
|
static String |
SAVED_SETTINGS_FILENAME
Filename for saved settings.
|
protected JComboBox<String> |
savedCombo
Combo box for saved settings.
|
protected MiniGUI.SettingsComboboxModel |
savedSettingsModel
Model to link the combobox with.
|
protected SavedSettingsFile |
store
Settings storage.
|
REFERENCE, VERSION
Constructor and Description |
---|
MiniGUI()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doSetParameters(List<String> params)
Do the actual setParameters invocation.
|
protected void |
loadLatest()
Auto-load the last task from the history file.
|
static void |
main(String[] args)
Main method that just spawns the UI.
|
protected void |
reportErrors(SerializedParameterization config)
Report errors in a single error log record.
|
void |
run()
Runs the application.
|
protected void |
startTask()
Do a full run of the KDDTask with the specified parameters.
|
protected void |
updateParameterTable()
Serialize the parameter table and run setParameters().
|
printErrorMessage, runCLIApplication, usage
public static final String SAVED_SETTINGS_FILENAME
public static final String NEWLINE
private static final Logging LOG
protected static final String ACTION_QUIT
JFrame frame
JPanel panel
protected LogPanel outputArea
protected ParameterTable parameterTable
protected DynamicParameters parameters
protected SavedSettingsFile store
protected MiniGUI.SettingsComboboxModel savedSettingsModel
protected JButton runButton
private Class<? extends AbstractApplication> maincls
protected void updateParameterTable()
protected void doSetParameters(List<String> params)
params
- Parametersprotected void loadLatest()
protected void startTask()
protected void reportErrors(SerializedParameterization config)
config
- Parameterizationpublic void run() throws UnableToComplyException
AbstractApplication
run
in class AbstractApplication
UnableToComplyException
- if an error occurs during running the
applicationpublic static void main(String[] args)
args
- command line parametersCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.