|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.lmu.ifi.dbs.elki.gui.minigui.MiniGUI
public class MiniGUI
Minimal GUI built around a table-based parameter editor.
| Nested Class Summary | |
|---|---|
(package private) class |
MiniGUI.SettingsComboboxModel
Class to interface between the saved settings list and a JComboBox |
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected Logging |
logger
ELKI logger for the GUI |
static String |
NEWLINE
Newline used in output. |
protected LogPanel |
outputArea
Logging output area. |
protected DynamicParameters |
parameters
Parameter storage |
protected ParameterTable |
parameterTable
The parameter table |
private JButton |
runButton
The "run" button. |
static String |
SAVED_SETTINGS_FILENAME
Filename for saved settings |
protected JComboBox |
savedCombo
Combo box for saved settings |
protected MiniGUI.SettingsComboboxModel |
savedSettingsModel
Model to link the combobox with |
private static long |
serialVersionUID
Serial version |
protected SavedSettingsFile |
store
Settings storage |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MiniGUI()
Constructor |
|
| Method Summary | |
|---|---|
protected static void |
createAndShowGUI()
Create the GUI and show it. |
protected void |
doSetParameters(ArrayList<String> params)
Do the actual setParameters invocation. |
static void |
main(String[] args)
Main method that just spawns the UI. |
private void |
reportErrors(SerializedParameterization config)
Report errors in a single error log record. |
protected void |
runTask()
Do a full run of the KDDTask with the specified parameters. |
protected void |
updateParameterTable()
Serialize the parameter table and run setParameters() |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
public static final String SAVED_SETTINGS_FILENAME
public static final String NEWLINE
protected Logging logger
protected LogPanel outputArea
protected ParameterTable parameterTable
protected DynamicParameters parameters
protected SavedSettingsFile store
protected JComboBox savedCombo
protected MiniGUI.SettingsComboboxModel savedSettingsModel
private JButton runButton
| Constructor Detail |
|---|
public MiniGUI()
| Method Detail |
|---|
protected void updateParameterTable()
protected void doSetParameters(ArrayList<String> params)
params - Parametersprotected void runTask()
private void reportErrors(SerializedParameterization config)
config - Parameterizationprotected static void createAndShowGUI()
public static void main(String[] args)
args - command line parameters
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||