public class ActionFactory extends java.lang.Object implements ControllerListener
Constructor and Description |
---|
ActionFactory(DiagnosticTool frame,
Controller controller)
Constructs a new action factory.
|
Modifier and Type | Method and Description |
---|---|
void |
controllerStateChanged(ControllerEvent event)
Invoked by the controller to indicate its state changed.
|
javax.swing.Action |
getAboutDialogAction()
Returns the action for displaying the about dialog.
|
javax.swing.Action |
getCancelAction()
Returns the action for canceling a running evaluation task.
|
javax.swing.Action |
getClearAction()
Returns the action for clearing all results.
|
javax.swing.Action |
getDisableAllIndicatorsAction()
Returns the action to toggle off all indocator collectors.
|
javax.swing.Action |
getEnableAllIndicatorsAction()
Returns the action to toggle on all indocator collectors.
|
javax.swing.Action |
getExitAction()
Returns the action to close the diagnostic tool.
|
javax.swing.Action |
getIncludeAdaptiveMultimethodVariationAction()
Returns the action to toggle the inclusion of the adaptive multimethod
variation collector.
|
javax.swing.Action |
getIncludeAdaptiveTimeContinuationAction()
Returns the action to toggle the inclusion of the adaptive time
continuation collector.
|
javax.swing.Action |
getIncludeAdditiveEpsilonIndicatorAction()
Returns the action to toggle the inclusion of the additive
ε-indicator collector.
|
javax.swing.Action |
getIncludeApproximationSetAction()
Returns the action to toggle the inclusion of the approximation set
collector.
|
javax.swing.Action |
getIncludeContributionAction()
Returns the action to toggle the inclusion of the contribution indicator
collector.
|
javax.swing.Action |
getIncludeElapsedTimeAction()
Returns the action to toggle the inclusion of the elapsed time collector.
|
javax.swing.Action |
getIncludeEpsilonProgressAction()
Returns the action to toggle the inclusion of ε-progress restart
collector.
|
javax.swing.Action |
getIncludeGenerationalDistanceAction()
Returns the action to toggle the inclusion of the generational distance
indicator collector.
|
javax.swing.Action |
getIncludeHypervolumeAction()
Returns the action to toggle the inclusion of the hypervolume indicator
collector.
|
javax.swing.Action |
getIncludeInvertedGenerationalDistanceAction()
Returns the action to toggle the inclusion of the inverted generational
distance indicator collector.
|
javax.swing.Action |
getIncludePopulationSizeAction()
Returns the action to toggle the inclusion of the population size
collector.
|
javax.swing.Action |
getIncludeR1Action()
Returns the action to toggle the inclusion of the R1 indicator
collector.
|
javax.swing.Action |
getIncludeR2Action()
Returns the action to toggle the inclusion of the R2 indicator
collector.
|
javax.swing.Action |
getIncludeR3Action()
Returns the action to toggle the inclusion of the R3 indicator
collector.
|
javax.swing.Action |
getIncludeSpacingAction()
Returns the action to toggle the inclusion the spacing indicator
collector.
|
javax.swing.Action |
getLoadAction()
Returns the action to load results from a file.
|
javax.swing.Action |
getMemoryUsageAction()
Returns the action for displaying memory usage.
|
javax.swing.Action |
getRunAction()
Returns the action for starting the evaluation task.
|
javax.swing.Action |
getSaveAction()
Returns the action to save the results to a file.
|
javax.swing.Action |
getSelectAllAction(javax.swing.JTable table)
Returns the action to select all items in the specified table.
|
javax.swing.Action |
getShowApproximationSetAction(ResultKey key)
Returns the action to display the approximation set for the given result.
|
javax.swing.Action |
getShowIndividualTracesAction()
Returns the action for showing individual traces in the line plots.
|
javax.swing.Action |
getShowLastTraceAction()
Returns the action to show the last run's trace.
|
javax.swing.Action |
getShowQuantilesAction()
Returns the action for showing quantiles in the line plots.
|
javax.swing.Action |
getShowStatisticsAction()
Returns the action for showing a statistical comparison of the results.
|
protected void |
initialize()
Initializes the actions used by this action factory.
|
public ActionFactory(DiagnosticTool frame, Controller controller)
frame
- the DiagnosticTool
instance on which these actions
operatecontroller
- the Controller
instance on which these actions
operateprotected void initialize()
public javax.swing.Action getSaveAction()
public javax.swing.Action getLoadAction()
public javax.swing.Action getExitAction()
public javax.swing.Action getShowLastTraceAction()
public javax.swing.Action getEnableAllIndicatorsAction()
public javax.swing.Action getDisableAllIndicatorsAction()
public javax.swing.Action getIncludeHypervolumeAction()
public javax.swing.Action getIncludeGenerationalDistanceAction()
public javax.swing.Action getIncludeInvertedGenerationalDistanceAction()
public javax.swing.Action getIncludeSpacingAction()
public javax.swing.Action getIncludeAdditiveEpsilonIndicatorAction()
public javax.swing.Action getIncludeContributionAction()
public javax.swing.Action getIncludeR1Action()
public javax.swing.Action getIncludeR2Action()
public javax.swing.Action getIncludeR3Action()
public javax.swing.Action getIncludeEpsilonProgressAction()
public javax.swing.Action getIncludeAdaptiveMultimethodVariationAction()
public javax.swing.Action getIncludeAdaptiveTimeContinuationAction()
public javax.swing.Action getIncludeElapsedTimeAction()
public javax.swing.Action getIncludePopulationSizeAction()
public javax.swing.Action getIncludeApproximationSetAction()
public javax.swing.Action getMemoryUsageAction()
public javax.swing.Action getRunAction()
public javax.swing.Action getCancelAction()
public javax.swing.Action getClearAction()
public javax.swing.Action getShowStatisticsAction()
public javax.swing.Action getAboutDialogAction()
public javax.swing.Action getShowIndividualTracesAction()
public javax.swing.Action getShowQuantilesAction()
public javax.swing.Action getShowApproximationSetAction(ResultKey key)
key
- the result keypublic javax.swing.Action getSelectAllAction(javax.swing.JTable table)
table
- the table on which this action operatespublic void controllerStateChanged(ControllerEvent event)
ControllerListener
ControllerEvent
indicates the type of event which has occurred.controllerStateChanged
in interface ControllerListener
event
- details of the controller eventCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.