public class ProductFlipDialog extends ModalDialog
ID_OK_APPLY_CANCEL, ID_OK_APPLY_CANCEL_HELP, ID_OK_CANCEL, ID_OK_CANCEL_HELP, ID_YES_NO, ID_YES_NO_HELP
Constructor and Description |
---|
ProductFlipDialog(Window parent,
Product sourceProduct) |
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
Product |
getResultProduct() |
Product |
getSourceProduct() |
protected void |
onCancel()
Called if the "Cancel" button has been clicked.
|
protected void |
onOK()
Called if the "OK" button has been clicked.
|
int |
show()
Shows the dialog.
|
protected boolean |
verifyUserInput()
Called in order to perform input validation.
|
close
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
public int show()
AbstractDialog
super.show()
at the end.show
in class AbstractDialog
public Product getSourceProduct()
public Product getResultProduct()
public Exception getException()
protected void onCancel()
AbstractDialog
AbstractDialog.hide()
.
Clients should override this method to implement meaningful behaviour.onCancel
in class AbstractDialog
protected void onOK()
AbstractDialog
AbstractDialog.hide()
.
Clients should override this method to implement meaningful behaviour.onOK
in class AbstractDialog
protected boolean verifyUserInput()
AbstractDialog
verifyUserInput
in class AbstractDialog
true
if and only if the validation was successful.Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.