@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 |
---|---|
(package private) JFrame |
frame
The frame
|
private static Logging |
LOG
ELKI logger for the GUI.
|
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.
|
INFORMATION
Constructor and Description |
---|
MiniGUI()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doSetParameters(List<String> params)
Do the actual setParameters invocation.
|
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
JFrame frame
JPanel panel
protected LogPanel outputArea
protected ParameterTable parameterTable
protected DynamicParameters parameters
protected SavedSettingsFile store
protected MiniGUI.SettingsComboboxModel savedSettingsModel
protected JButton runButton
protected void updateParameterTable()
protected void doSetParameters(List<String> params)
params
- Parametersprotected 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 parameters