Class ImageDefinitionFilter


public class ImageDefinitionFilter extends SelectPropViewerFilter
ImageDefinition filter that enables to choose a bitmap or icon image. Bitmaps can be a single image or multiple. The CSS background image attribute may also be verified. The image can be a font icon image or of SVG type, optionally also requiring the image to be SVG.
Author:
Christopher Mindus
  • Constructor Details

    • ImageDefinitionFilter

      public ImageDefinitionFilter()
      The constructor for any type of image: single, styled, multiple or font icon, but not an SVG and the image will not be used as CSS background image.
    • ImageDefinitionFilter

      public ImageDefinitionFilter(boolean isSingle)
      Constructor for just single, multiple image bitmap definition or a font icon.
      Parameters:
      isSingle - A single image definition. A single image definition might also be a font icon when isSingle=true.
    • ImageDefinitionFilter

      public ImageDefinitionFilter(boolean isSingle, boolean bgImage)
      Constructor for single or multiple image bitmap definition, possibly used for as CSS background image.
      Parameters:
      isSingle - A single image definition. A single image definition might also be a font icon as long as bgImage=false.
      bgImage - Flag indicating the image should be used as CSS background image.
    • ImageDefinitionFilter

      public ImageDefinitionFilter(boolean isSingle, boolean bgImage, boolean allowSVG)
      Constructor for single or multiple image bitmap definition, possibly used for as CSS background image, also SVG format might be supported.
      Parameters:
      isSingle - A single image definition. A single image definition might also be a font icon as long as bgImage=false.
      bgImage - Flag indicating the image should be used as CSS background image.
      allowSVG - Flag indicating that images as SVG type is allowed.
    • ImageDefinitionFilter

      public ImageDefinitionFilter(boolean isSingle, boolean bgImage, boolean allowSVG, boolean onlySVG)
      Constructor for single or multiple image bitmap definition, possibly used for as CSS background image, also SVG format might be supported. When the onlySVG flag is true, it is assumed that isSingle=true, bgImage=false, allowSVG=true.
      Parameters:
      isSingle - A single image definition.
      bgImage - Flag indicating the image should be used as CSS background image.
      allowSVG - Flag indicating that images as SVG type is allowed.
      onlySVG - Flag indicating the image must be an SVG only. If this is true, allowSVG will be set to true and isSingle, bbImage will be set to false.
  • Method Details