Class ManualDisplayFilterDefinition


  • public final class ManualDisplayFilterDefinition
    extends DisplayFilterDefinition
    Filter features from the display based on the specified active display filter.

    This is useful when making visual comparisons of the data, or filtering out specific pieces of data.

    Since:
    100.13.0
    See Also:
    ScaleDisplayFilterDefinition
    • Constructor Detail

      • ManualDisplayFilterDefinition

        public ManualDisplayFilterDefinition​(DisplayFilter activeFilter,
                                             java.lang.Iterable<DisplayFilter> availableFilters)
        Creates a new ManualDisplayFilterDefinition with the specified active and available filters.
        Parameters:
        activeFilter - a display filter to apply. To enable display filter on a layer, specify a filter that is part of availableFilters. If the provided DisplayFilter isn't part of the available filters, getActiveFilter() } will remain null. activeFilter may be null.
        availableFilters - the collection of display filters that can be applied
        Throws:
        java.lang.IllegalArgumentException - if availableFilters is null
        Since:
        100.13.0