|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.moeaframework.analysis.diagnostics.DiagnosticTool
public class DiagnosticTool
The main window of the diagnostic tool.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| 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 |
|---|
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
DiagnosticTool()
Constructs a new diagnostic tool window. |
|
| Method Summary | |
|---|---|
protected void |
clear()
Invoked when the underlying data model is cleared, resulting in the GUI removing and resetting all components. |
void |
controllerStateChanged(ControllerEvent event)
Invoked by the controller to indicate its state changed. |
protected ResultPlot |
createChart(String metric)
Creates and returns the GUI component for plotting the specified metric. |
void |
dispose()
Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned
children. |
protected String |
getAlgorithm()
Returns the algorithm selected in the run control pane. |
Controller |
getController()
Returns the controller used by this diagnostic tool instance. |
protected int |
getNumberOfEvaluations()
Returns the number of evaluations set in the run control pane. |
protected int |
getNumberOfSeeds()
Returns the number of seeds set in the run control pane. |
PaintHelper |
getPaintHelper()
Returns the paint helper used by this diagnostic tool instance. |
protected String |
getProblem()
Returns the problem selected in the run control pane. |
protected List<String> |
getSelectedMetrics()
Returns a list of the selected metrics. |
protected List<ResultKey> |
getSelectedResults()
Returns a list of the selected results. |
protected void |
initialize()
Initializes this window. |
protected void |
layoutComponents()
Lays out the components on this window. |
protected void |
layoutMenu()
Lays out the menu on this window. |
protected void |
updateChartLayout()
Updates the chart layout when the user changes which metrics to plot. |
protected void |
updateModel()
Updates the models underlying the GUI components as a result of model changes. |
void |
valueChanged(ListSelectionEvent e)
Called whenever the value of the selection changes. |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Constructor Detail |
|---|
public DiagnosticTool()
| Method Detail |
|---|
protected void initialize()
protected void layoutMenu()
protected void layoutComponents()
protected void updateModel()
public Controller getController()
public PaintHelper getPaintHelper()
public void valueChanged(ListSelectionEvent e)
javax.swing.event.ListSelectionListener
valueChanged in interface ListSelectionListenere - the event that characterizes the change.protected void clear()
protected void updateChartLayout()
protected List<String> getSelectedMetrics()
protected List<ResultKey> getSelectedResults()
protected String getAlgorithm()
protected String getProblem()
protected int getNumberOfEvaluations()
protected int getNumberOfSeeds()
protected ResultPlot createChart(String metric)
metric - the metric to plot
public void controllerStateChanged(ControllerEvent event)
ControllerListenerControllerEvent indicates the type of event which has occurred.
controllerStateChanged in interface ControllerListenerevent - details of the controller eventpublic void dispose()
java.awt.WindowWindow, its subcomponents, and all of its owned
children. That is, the resources for these Components
will be destroyed, any memory they consume will be returned to the
OS, and they will be marked as undisplayable.
The Window and its subcomponents can be made displayable
again by rebuilding the native resources with a subsequent call to
pack or show. The states of the recreated
Window and its subcomponents will be identical to the
states of these objects at the point where the Window
was disposed (not accounting for additional modifications between
those actions).
Note: When the last displayable window within the Java virtual machine (VM) is disposed of, the VM may terminate. See AWT Threading Issues for more information.
dispose in class WindowComponent.isDisplayable(),
Window.pack(),
Window.show()
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||