public class BandChooser extends ModalDialog implements LoadSaveRasterDataNodesConfigurationsComponent
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 |
|---|
BandChooser(Window parent,
String title,
String helpID,
org.esa.snap.core.datamodel.Band[] allBands,
org.esa.snap.core.datamodel.Band[] selectedBands,
boolean addLoadSaveConfigurationButtons) |
BandChooser(Window parent,
String title,
String helpID,
org.esa.snap.core.datamodel.Band[] allBands,
org.esa.snap.core.datamodel.Band[] selectedBands,
org.esa.snap.core.datamodel.Product.AutoGrouping autoGrouping,
boolean addLoadSaveConfigurationButtons) |
BandChooser(Window parent,
String title,
String helpID,
boolean selectAtLeastOneBand,
org.esa.snap.core.datamodel.Band[] allBands,
org.esa.snap.core.datamodel.Band[] selectedBands,
org.esa.snap.core.datamodel.TiePointGrid[] allTiePointGrids,
org.esa.snap.core.datamodel.TiePointGrid[] selectedTiePointGrids,
boolean addLoadSaveConfigurationButtons) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getRasterDataNodeNamesToWrite() |
org.esa.snap.core.datamodel.Band[] |
getSelectedBands() |
org.esa.snap.core.datamodel.TiePointGrid[] |
getSelectedTiePointGrids() |
void |
setReadRasterDataNodeNames(String[] readRasterDataNodeNames) |
int |
show()
Shows the dialog.
|
protected boolean |
verifyUserInput()
Called in order to perform input validation.
|
closecenter, collectButtons, getButton, getButtonID, getButtonMask, getButtonPanel, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onCancel, onClose, onHelp, onNo, onOK, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, showErrorDialog, showInformationDialog, showWarningDialogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParentpublic BandChooser(Window parent, String title, String helpID, org.esa.snap.core.datamodel.Band[] allBands, org.esa.snap.core.datamodel.Band[] selectedBands, org.esa.snap.core.datamodel.Product.AutoGrouping autoGrouping, boolean addLoadSaveConfigurationButtons)
public BandChooser(Window parent, String title, String helpID, org.esa.snap.core.datamodel.Band[] allBands, org.esa.snap.core.datamodel.Band[] selectedBands, boolean addLoadSaveConfigurationButtons)
public BandChooser(Window parent, String title, String helpID, boolean selectAtLeastOneBand, org.esa.snap.core.datamodel.Band[] allBands, org.esa.snap.core.datamodel.Band[] selectedBands, org.esa.snap.core.datamodel.TiePointGrid[] allTiePointGrids, org.esa.snap.core.datamodel.TiePointGrid[] selectedTiePointGrids, boolean addLoadSaveConfigurationButtons)
public int show()
AbstractDialogsuper.show() at the end.show in class AbstractDialogprotected boolean verifyUserInput()
AbstractDialogverifyUserInput in class AbstractDialogtrue if and only if the validation was successful.public org.esa.snap.core.datamodel.Band[] getSelectedBands()
public org.esa.snap.core.datamodel.TiePointGrid[] getSelectedTiePointGrids()
public void setReadRasterDataNodeNames(String[] readRasterDataNodeNames)
setReadRasterDataNodeNames in interface LoadSaveRasterDataNodesConfigurationsComponentpublic String[] getRasterDataNodeNamesToWrite()
getRasterDataNodeNamesToWrite in interface LoadSaveRasterDataNodesConfigurationsComponentCopyright © 2014–2016 European Space Agency (ESA). All rights reserved.