org.esa.beam.visat.dialogs
Class ProductFlipDialog
java.lang.Object
org.esa.beam.framework.ui.AbstractDialog
org.esa.beam.framework.ui.ModalDialog
org.esa.beam.visat.dialogs.ProductFlipDialog
public class ProductFlipDialog
- extends ModalDialog
| Methods inherited from class org.esa.beam.framework.ui.AbstractDialog |
center, collectButtons, getButton, getButtonID, getButtonMask, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onClose, onHelp, onNo, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showInformationDialog, showWarningDialog |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductFlipDialog
public ProductFlipDialog(Window parent,
Product sourceProduct)
show
public int show()
- Description copied from class:
AbstractDialog
- Shows the dialog. Overrides shall call
super.show() at the end.
- Overrides:
show in class AbstractDialog
- Returns:
- the identifier of the last button pressed or zero if this is a modeless dialog.
getSourceProduct
public Product getSourceProduct()
getResultProduct
public Product getResultProduct()
getException
public Exception getException()
onCancel
protected void onCancel()
- Description copied from class:
AbstractDialog
- Called if the "Cancel" button has been clicked.
The default implementation calls
AbstractDialog.hide().
Clients should override this method to implement meaningful behaviour.
- Overrides:
onCancel in class AbstractDialog
onOK
protected void onOK()
- Description copied from class:
AbstractDialog
- Called if the "OK" button has been clicked.
The default implementation calls
AbstractDialog.hide().
Clients should override this method to implement meaningful behaviour.
- Overrides:
onOK in class AbstractDialog
verifyUserInput
protected boolean verifyUserInput()
- Description copied from class:
AbstractDialog
- Called in order to perform input validation.
- Overrides:
verifyUserInput in class AbstractDialog
- Returns:
true if and only if the validation was successful.
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.