Class ImageLayerController


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

      • PROPERTY_KEY_IMAGE_BG_COLOR

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

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

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

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

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

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

        public static final String PROPERTY_KEY_PIXEL_BORDER_COLOR
        Preferences key for pixel border color
        See Also:
        Constant Field Values
    • Constructor Detail

      • ImageLayerController

        public ImageLayerController()
    • Method Detail

      • 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