Class NoDataLayerController
- java.lang.Object
-
- org.netbeans.spi.options.OptionsPanelController
-
- org.esa.snap.rcp.preferences.DefaultConfigController
-
- org.esa.snap.rcp.preferences.layer.NoDataLayerController
-
public final class NoDataLayerController extends DefaultConfigController
Panel handling no-data layer preferences. Sub-panel of the "Layer"-panel.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.netbeans.spi.options.OptionsPanelController
org.netbeans.spi.options.OptionsPanelController.ContainerRegistration, org.netbeans.spi.options.OptionsPanelController.Keywords, org.netbeans.spi.options.OptionsPanelController.KeywordsRegistration, org.netbeans.spi.options.OptionsPanelController.SubRegistration, org.netbeans.spi.options.OptionsPanelController.TopLevelRegistration
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_KEY_NO_DATA_OVERLAY_COLOR
Preferences key for the no-data overlay colorstatic String
PROPERTY_KEY_NO_DATA_OVERLAY_TRANSPARENCY
Preferences key for the no-data overlay transparency
-
Constructor Summary
Constructors Constructor Description NoDataLayerController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JPanel
createPanel(com.bc.ceres.swing.binding.BindingContext context)
Create a panel that allows the user to set the parameters in the givenBindingContext
.protected PropertySet
createPropertySet()
Create aPropertySet
object instance that holds all parameters.org.openide.util.HelpCtx
getHelpCtx()
-
Methods inherited from class org.esa.snap.rcp.preferences.DefaultConfigController
addPropertyChangeListener, applyChanges, cancel, configure, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged, update
-
-
-
-
Field Detail
-
PROPERTY_KEY_NO_DATA_OVERLAY_COLOR
public static final String PROPERTY_KEY_NO_DATA_OVERLAY_COLOR
Preferences key for the no-data overlay color- See Also:
- Constant Field Values
-
PROPERTY_KEY_NO_DATA_OVERLAY_TRANSPARENCY
public static final String PROPERTY_KEY_NO_DATA_OVERLAY_TRANSPARENCY
Preferences key for the no-data overlay transparency- See Also:
- Constant Field Values
-
-
Method Detail
-
createPropertySet
protected PropertySet createPropertySet()
Description copied from class:DefaultConfigController
Create aPropertySet
object instance that holds all parameters. Clients that want to maintain properties need to overwrite this method.- Specified by:
createPropertySet
in classDefaultConfigController
- Returns:
- An instance of
PropertySet
, holding all configuration parameters. - See Also:
DefaultConfigController.createPropertySet(Object)
-
createPanel
protected JPanel createPanel(com.bc.ceres.swing.binding.BindingContext context)
Description copied from class:DefaultConfigController
Create a panel that allows the user to set the parameters in the givenBindingContext
. Clients that want to create their own panel representation on the given properties need to overwrite this method.- Overrides:
createPanel
in classDefaultConfigController
- Parameters:
context
- TheBindingContext
for the panel.- Returns:
- A JPanel instance for the given
BindingContext
, nevernull
.
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in classorg.netbeans.spi.options.OptionsPanelController
-
-