org.esa.beam.framework.ui.product
Class BandChooser
java.lang.Object
org.esa.beam.framework.ui.AbstractDialog
org.esa.beam.framework.ui.ModalDialog
org.esa.beam.framework.ui.product.BandChooser
public class BandChooser
- extends ModalDialog
A dialog which lets the user select from a product's bands and tie-point grids.
|
Constructor Summary |
BandChooser(Window parent,
String title,
String helpID,
Band[] allBands,
Band[] selectedBands)
|
BandChooser(Window parent,
String title,
String helpID,
boolean selectAtLeastOneBand,
Band[] allBands,
Band[] selectedBands,
TiePointGrid[] allTiePointGrids,
TiePointGrid[] selectedTiePointGrids)
|
| Methods inherited from class org.esa.beam.framework.ui.AbstractDialog |
center, collectButtons, getButton, getButtonID, getButtonMask, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onCancel, onClose, onHelp, onNo, onOK, 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 |
BandChooser
public BandChooser(Window parent,
String title,
String helpID,
Band[] allBands,
Band[] selectedBands)
BandChooser
public BandChooser(Window parent,
String title,
String helpID,
boolean selectAtLeastOneBand,
Band[] allBands,
Band[] selectedBands,
TiePointGrid[] allTiePointGrids,
TiePointGrid[] selectedTiePointGrids)
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.
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.
getSelectedBands
public Band[] getSelectedBands()
getSelectedTiePointGrids
public TiePointGrid[] getSelectedTiePointGrids()
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.