Class ImageLayerController
java.lang.Object
org.netbeans.spi.options.OptionsPanelController
org.esa.snap.rcp.preferences.DefaultConfigController
org.esa.snap.rcp.preferences.layer.ImageLayerController
* Panel handling image 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
FieldsModifier and TypeFieldDescriptionstatic final StringPreferences key for the background colorstatic final StringPreferences key for image border colorstatic final StringPreferences key for showing image borderstatic final StringPreferences key for image border sizestatic final StringPreferences key for pixel border colorstatic final StringPreferences key for showing pixel image borderstatic final StringPreferences key for pixel border sizeFields inherited from class org.netbeans.spi.options.OptionsPanelController
PROP_CHANGED, PROP_HELP_CTX, PROP_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigure(com.bc.ceres.swing.binding.BindingContext context) Configure the passed binding context.protected JPanelcreatePanel(com.bc.ceres.swing.binding.BindingContext context) Create a panel that allows the user to set the parameters in the givenBindingContext.protected PropertySetCreate aPropertySetobject instance that holds all parameters.org.openide.util.HelpCtxMethods inherited from class org.esa.snap.rcp.preferences.DefaultConfigController
addPropertyChangeListener, applyChanges, cancel, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged, updateMethods inherited from class org.netbeans.spi.options.OptionsPanelController
createAdvanced, getLookup, handleSuccessfulSearch, setCurrentSubcategory, setSubcategory
-
Field Details
-
PROPERTY_KEY_IMAGE_BG_COLOR
Preferences key for the background color- See Also:
-
PROPERTY_KEY_IMAGE_BORDER_SHOWN
Preferences key for showing image border- See Also:
-
PROPERTY_KEY_IMAGE_BORDER_SIZE
Preferences key for image border size- See Also:
-
PROPERTY_KEY_IMAGE_BORDER_COLOR
Preferences key for image border color- See Also:
-
PROPERTY_KEY_PIXEL_BORDER_SHOWN
Preferences key for showing pixel image border- See Also:
-
PROPERTY_KEY_PIXEL_BORDER_SIZE
Preferences key for pixel border size- See Also:
-
PROPERTY_KEY_PIXEL_BORDER_COLOR
Preferences key for pixel border color- See Also:
-
-
Constructor Details
-
ImageLayerController
public ImageLayerController()
-
-
Method Details
-
createPropertySet
Description copied from class:DefaultConfigControllerCreate aPropertySetobject instance that holds all parameters. Clients that want to maintain properties need to overwrite this method.- Specified by:
createPropertySetin classDefaultConfigController- Returns:
- An instance of
PropertySet, holding all configuration parameters. - See Also:
-
createPanel
Description copied from class:DefaultConfigControllerCreate 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:
createPanelin classDefaultConfigController- Parameters:
context- TheBindingContextfor the panel.- Returns:
- A JPanel instance for the given
BindingContext, nevernull.
-
configure
protected void configure(com.bc.ceres.swing.binding.BindingContext context) Description copied from class:DefaultConfigControllerConfigure the passed binding context. This is intended to be used to createenablementsin order to add dependencies between property states. The default implementation does nothing.- Overrides:
configurein classDefaultConfigController- Parameters:
context- TheBindingContextto configure.- See Also:
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()- Specified by:
getHelpCtxin classorg.netbeans.spi.options.OptionsPanelController
-