org.opensha.sha.gui.controls
Class ConfirmDialogControlPanel
java.lang.Object
org.opensha.sha.gui.controls.ControlPanel
org.opensha.sha.gui.controls.ConfirmDialogControlPanel
- All Implemented Interfaces:
- Named
- Direct Known Subclasses:
- IM_EventSetCEA_ControlPanel, PuenteHillsScenarioControlPanelUsingEqkRuptureCreation, SanAndreasScenarioControlPanel
public abstract class ConfirmDialogControlPanel
- extends ControlPanel
This is a special type of ControlPanel which instead of displaying a
GUI component where the user makes selections, simply presents a confirmation dialog
and applys changes if the user selects "OK".
- Author:
- kevin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfirmDialogControlPanel
public ConfirmDialogControlPanel(String name,
String message,
Component parent)
getComponent
public Window getComponent()
- Specified by:
getComponent in class ControlPanel
showControlPanel
public void showControlPanel()
- Overrides:
showControlPanel in class ControlPanel
applyControl
public abstract void applyControl()
- This method will be called if the user selects "OK" in the confirmation dialog.