Class ImageLayerController

java.lang.Object
org.netbeans.spi.options.OptionsPanelController
org.esa.snap.rcp.preferences.DefaultConfigController
org.esa.snap.rcp.preferences.layer.ImageLayerController

public final class ImageLayerController extends DefaultConfigController
* Panel handling image layer preferences. Sub-panel of the "Layer"-panel.
  • Field Details

    • PROPERTY_KEY_IMAGE_BG_COLOR

      public static final String PROPERTY_KEY_IMAGE_BG_COLOR
      Preferences key for the background color
      See Also:
    • PROPERTY_KEY_IMAGE_BORDER_SHOWN

      public static final String PROPERTY_KEY_IMAGE_BORDER_SHOWN
      Preferences key for showing image border
      See Also:
    • PROPERTY_KEY_IMAGE_BORDER_SIZE

      public static final String PROPERTY_KEY_IMAGE_BORDER_SIZE
      Preferences key for image border size
      See Also:
    • PROPERTY_KEY_IMAGE_BORDER_COLOR

      public static final String PROPERTY_KEY_IMAGE_BORDER_COLOR
      Preferences key for image border color
      See Also:
    • PROPERTY_KEY_PIXEL_BORDER_SHOWN

      public static final String PROPERTY_KEY_PIXEL_BORDER_SHOWN
      Preferences key for showing pixel image border
      See Also:
    • PROPERTY_KEY_PIXEL_BORDER_SIZE

      public static final String PROPERTY_KEY_PIXEL_BORDER_SIZE
      Preferences key for pixel border size
      See Also:
    • PROPERTY_KEY_PIXEL_BORDER_COLOR

      public static final String PROPERTY_KEY_PIXEL_BORDER_COLOR
      Preferences key for pixel border color
      See Also:
  • Constructor Details

    • ImageLayerController

      public ImageLayerController()
  • Method Details

    • createPropertySet

      protected PropertySet createPropertySet()
      Description copied from class: DefaultConfigController
      Create a PropertySet object instance that holds all parameters. Clients that want to maintain properties need to overwrite this method.
      Specified by:
      createPropertySet in class DefaultConfigController
      Returns:
      An instance of PropertySet, holding all configuration parameters.
      See Also:
    • 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 given BindingContext. Clients that want to create their own panel representation on the given properties need to overwrite this method.
      Overrides:
      createPanel in class DefaultConfigController
      Parameters:
      context - The BindingContext for the panel.
      Returns:
      A JPanel instance for the given BindingContext, never null.
    • configure

      protected void configure(com.bc.ceres.swing.binding.BindingContext context)
      Description copied from class: DefaultConfigController
      Configure the passed binding context. This is intended to be used to create enablements in order to add dependencies between property states. The default implementation does nothing.
      Overrides:
      configure in class DefaultConfigController
      Parameters:
      context - The BindingContext to configure.
      See Also:
      • Enablement
      • BindingContext.bindEnabledState(String, boolean, com.bc.ceres.swing.binding.Enablement.Condition)
      • BindingContext.bindEnabledState(String, boolean, String, Object)
    • getHelpCtx

      public org.openide.util.HelpCtx getHelpCtx()
      Specified by:
      getHelpCtx in class org.netbeans.spi.options.OptionsPanelController