org.esa.beam.framework.ui.product
Class ProductSubsetDialog

java.lang.Object
  extended by org.esa.beam.framework.ui.AbstractDialog
      extended by org.esa.beam.framework.ui.ModalDialog
          extended by org.esa.beam.framework.ui.product.ProductSubsetDialog

public class ProductSubsetDialog
extends ModalDialog

A modal dialog used to specify data product subsets.


Field Summary
 
Fields inherited from class org.esa.beam.framework.ui.ModalDialog
ID_OK_APPLY_CANCEL, ID_OK_APPLY_CANCEL_HELP, ID_OK_CANCEL, ID_OK_CANCEL_HELP, ID_YES_NO, ID_YES_NO_HELP
 
Fields inherited from class org.esa.beam.framework.ui.AbstractDialog
ID_APPLY, ID_CANCEL, ID_CLOSE, ID_HELP, ID_NO, ID_OK, ID_OTHER, ID_RESET, ID_YES
 
Constructor Summary
ProductSubsetDialog(Window window, Product product)
          Constructs a new subset dialog.
ProductSubsetDialog(Window window, Product product, double memWarnLimit)
          Constructs a new subset dialog.
ProductSubsetDialog(Window window, Product product, ProductSubsetDef productSubsetDef)
          Constructs a new subset dialog.
ProductSubsetDialog(Window window, Product product, ProductSubsetDef productSubsetDef, double memWarnLimit)
          Constructs a new subset dialog.
 
Method Summary
 Product getProduct()
           
 ProductSubsetDef getProductSubsetDef()
           
protected  void onCancel()
          Called if the "Cancel" button has been clicked.
protected  void onOK()
          Called if the "OK" button has been clicked.
 
Methods inherited from class org.esa.beam.framework.ui.ModalDialog
close
 
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, show, showErrorDialog, showInformationDialog, showWarningDialog, verifyUserInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductSubsetDialog

public ProductSubsetDialog(Window window,
                           Product product)
Constructs a new subset dialog.

Parameters:
window - the parent window
product - the product for which the subset is to be specified, must not be null

ProductSubsetDialog

public ProductSubsetDialog(Window window,
                           Product product,
                           double memWarnLimit)
Constructs a new subset dialog.

Parameters:
window - the parent window
product - the product for which the subset is to be specified, must not be null
memWarnLimit - the warning limit in megabytes

ProductSubsetDialog

public ProductSubsetDialog(Window window,
                           Product product,
                           ProductSubsetDef productSubsetDef)
Constructs a new subset dialog.

Parameters:
window - the parent window
product - the product for which the subset is to be specified, must not be null
productSubsetDef - the initial product subset definition, can be null

ProductSubsetDialog

public ProductSubsetDialog(Window window,
                           Product product,
                           ProductSubsetDef productSubsetDef,
                           double memWarnLimit)
Constructs a new subset dialog.

Parameters:
window - the parent window
product - the product for which the subset is to be specified, must not be null
productSubsetDef - the initial product subset definition, can be null
memWarnLimit - the warning limit in megabytes
Method Detail

getProduct

public Product getProduct()

getProductSubsetDef

public ProductSubsetDef getProductSubsetDef()

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

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


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.