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,
Band[] allBands,
Band[] selectedBands,
boolean addLoadSaveConfigurationButtons) |
BandChooser(Window parent,
String title,
String helpID,
Band[] allBands,
Band[] selectedBands,
Product.AutoGrouping autoGrouping,
boolean addLoadSaveConfigurationButtons) |
BandChooser(Window parent,
String title,
String helpID,
boolean selectAtLeastOneBand,
Band[] allBands,
Band[] selectedBands,
TiePointGrid[] allTiePointGrids,
TiePointGrid[] selectedTiePointGrids,
boolean addLoadSaveConfigurationButtons) |
Modifier and Type | Method and Description |
---|---|
String[] |
getRasterDataNodeNamesToWrite() |
Band[] |
getSelectedBands() |
TiePointGrid[] |
getSelectedTiePointGrids() |
void |
setReadRasterDataNodeNames(String[] readRasterDataNodeNames) |
int |
show()
Shows the dialog.
|
protected boolean |
verifyUserInput()
Called in order to perform input validation.
|
close
center, 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, showWarningDialog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent
public BandChooser(Window parent, String title, String helpID, Band[] allBands, Band[] selectedBands, Product.AutoGrouping autoGrouping, boolean addLoadSaveConfigurationButtons)
public BandChooser(Window parent, String title, String helpID, Band[] allBands, Band[] selectedBands, boolean addLoadSaveConfigurationButtons)
public BandChooser(Window parent, String title, String helpID, boolean selectAtLeastOneBand, Band[] allBands, Band[] selectedBands, TiePointGrid[] allTiePointGrids, TiePointGrid[] selectedTiePointGrids, boolean addLoadSaveConfigurationButtons)
public int show()
AbstractDialog
super.show()
at the end.show
in class AbstractDialog
protected boolean verifyUserInput()
AbstractDialog
verifyUserInput
in class AbstractDialog
true
if and only if the validation was successful.public Band[] getSelectedBands()
public TiePointGrid[] getSelectedTiePointGrids()
public void setReadRasterDataNodeNames(String[] readRasterDataNodeNames)
setReadRasterDataNodeNames
in interface LoadSaveRasterDataNodesConfigurationsComponent
public String[] getRasterDataNodeNamesToWrite()
getRasterDataNodeNamesToWrite
in interface LoadSaveRasterDataNodesConfigurationsComponent
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.