Package org.svvrl.goal.gui.action
Class ProgressMeasureComplementAction
java.lang.Object
javax.swing.AbstractAction
org.svvrl.goal.gui.action.WindowAction<O>
org.svvrl.goal.gui.action.EditableAction<T,O>
org.svvrl.goal.gui.action.AutomatonOperationAction<FSA,FSA>
org.svvrl.goal.gui.action.AbstractComplementAction<ProgressMeasureConstruction>
org.svvrl.goal.gui.action.ProgressMeasureComplementAction
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,TabSwitchedListener
public class ProgressMeasureComplementAction extends AbstractComplementAction<ProgressMeasureConstruction>
This is an action that complements an NBW by rank-based construction.
- Author:
- Ming-Hsien Tsai
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ProgressMeasureComplementAction(Window win)
Constructor with an owner window of this action. -
Method Summary
Modifier and Type Method Description protected ProgressMeasureConstruction
getConstruction(FSA aut, Properties options)
Returns a new construction instance for complementing an NBW with custom options.protected java.lang.Class<ProgressMeasureConstruction>
getConstructionClass()
Returns the class of the complementation construction used by this action.int
getMnemonic()
Returns the mnemonic property of this action.protected OptionsDialog<Properties>
getOptionsDialog(Window win)
Returns a dialog for configuring the complementation construction used by this action.java.lang.String
getToolTip()
Returns the tooltip text of this action.Methods inherited from class org.svvrl.goal.gui.action.AbstractComplementAction
execute, getProgressBarTitle, isApplicable, isProgressBarRequired, preProcess, propertyChange
Methods inherited from class org.svvrl.goal.gui.action.AutomatonOperationAction
getOutput, isApplicable, isInitialStateRequired, postProcess, setAutoLayout, setInitialStateRequired
Methods inherited from class org.svvrl.goal.gui.action.EditableAction
getInput, isReadOnlyApplicable
Methods inherited from class org.svvrl.goal.gui.action.WindowAction
actionPerformed, getAccelerator, getLargeIcon, getSmallIcon, getWindow, isHideProgressBarAfterExecution, isSelected, setHideProgressBarAfterExecution, setProgressBarRequired, tabSwitched
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ProgressMeasureComplementAction
Constructor with an owner window of this action.- Parameters:
win
- the owner window of this action
-
-
Method Details
-
getMnemonic
public int getMnemonic()Description copied from class:WindowAction
Returns the mnemonic property of this action.- Overrides:
getMnemonic
in classWindowAction<FSA>
- Returns:
- the mnemonic property of this action
-
getToolTip
public java.lang.String getToolTip()Description copied from class:WindowAction
Returns the tooltip text of this action.- Specified by:
getToolTip
in classWindowAction<FSA>
- Returns:
- the tooltip text of this action
-
getConstruction
Description copied from class:AbstractComplementAction
Returns a new construction instance for complementing an NBW with custom options.- Specified by:
getConstruction
in classAbstractComplementAction<ProgressMeasureConstruction>
- Parameters:
aut
- an NBW to be complementedoptions
- custom options for the returned construction, ornull
if there is no options- Returns:
- a new construction instance for complementing
aut
with custom optionsoptions
-
getConstructionClass
Description copied from class:AbstractComplementAction
Returns the class of the complementation construction used by this action.- Specified by:
getConstructionClass
in classAbstractComplementAction<ProgressMeasureConstruction>
- Returns:
- the class of the complementation construction used by this action
-
getOptionsDialog
Description copied from class:AbstractComplementAction
Returns a dialog for configuring the complementation construction used by this action.- Specified by:
getOptionsDialog
in classAbstractComplementAction<ProgressMeasureConstruction>
- Parameters:
win
- the owner window of the returned dialog- Returns:
- a dialog for configuring the complementation construction used by
this action, or
null
if there is no options available
-