Package org.esa.snap.rcp.imgfilter
Class CreateFilteredBandDialog
- java.lang.Object
-
- org.esa.snap.ui.AbstractDialog
-
- org.esa.snap.ui.ModalDialog
-
- org.esa.snap.rcp.imgfilter.CreateFilteredBandDialog
-
- All Implemented Interfaces:
FilterSetForm.Listener
,FilterSet.Listener
public class CreateFilteredBandDialog extends ModalDialog implements FilterSetForm.Listener
The dialog that lets users select existing or define new image filters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateFilteredBandDialog.DialogData
-
Field Summary
Fields Modifier and Type Field Description static String
TITLE
-
Fields inherited from class org.esa.snap.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
-
-
Constructor Summary
Constructors Constructor Description CreateFilteredBandDialog(Product product, String sourceBandName, String helpId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filterAdded(FilterSet filterSet, Filter filter)
void
filterChanged(FilterSet filterSet, Filter filter, String propertyName)
void
filterRemoved(FilterSet filterSet, Filter filter)
void
filterSelected(FilterSet filterSet, Filter filter)
CreateFilteredBandDialog.DialogData
getDialogData()
protected void
onOK()
Called if the "OK" button has been clicked.protected boolean
verifyUserInput()
Called in order to perform input validation.-
Methods inherited from class org.esa.snap.ui.ModalDialog
close
-
Methods inherited from class org.esa.snap.ui.AbstractDialog
center, collectButtons, getButton, getButtonID, getButtonMask, getButtonPanel, getContent, getHelpID, getJDialog, getParent, getQualifiedPropertyName, getTitle, hide, onApply, onCancel, onClose, onHelp, onNo, onOther, onReset, onYes, registerButton, setButtonID, setContent, setContent, setHelpID, setTitle, show, showErrorDialog, showErrorDialog, showErrorDialog, showInformationDialog, showInformationDialog, showInformationDialog, showWarningDialog, showWarningDialog, showWarningDialog
-
-
-
-
Field Detail
-
TITLE
public static final String TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
onOK
protected void onOK()
Description copied from class:AbstractDialog
Called if the "OK" button has been clicked. The default implementation callsAbstractDialog.hide()
. Clients should override this method to implement meaningful behaviour.- Overrides:
onOK
in classAbstractDialog
-
getDialogData
public CreateFilteredBandDialog.DialogData getDialogData()
-
verifyUserInput
protected boolean verifyUserInput()
Description copied from class:AbstractDialog
Called in order to perform input validation.- Overrides:
verifyUserInput
in classAbstractDialog
- Returns:
true
if and only if the validation was successful.
-
filterSelected
public void filterSelected(FilterSet filterSet, Filter filter)
- Specified by:
filterSelected
in interfaceFilterSetForm.Listener
-
filterAdded
public void filterAdded(FilterSet filterSet, Filter filter)
- Specified by:
filterAdded
in interfaceFilterSet.Listener
-
filterRemoved
public void filterRemoved(FilterSet filterSet, Filter filter)
- Specified by:
filterRemoved
in interfaceFilterSet.Listener
-
filterChanged
public void filterChanged(FilterSet filterSet, Filter filter, String propertyName)
- Specified by:
filterChanged
in interfaceFilterSet.Listener
-
-