Interface FilterLibraryMask


  • public interface FilterLibraryMask
    Classes that implements this interface can be registered to the filter library to programmatically enable or disable categories, i.e. filters container. That is useful for instance to disable filters working on undirected graphs if the current graph is directed.

    When registered, masks are asked whether the category is valid.

    Author:
    Mathieu Bastian
    See Also:
    FilterLibrary
    • Method Detail

      • getCategory

        Category getCategory()
        Returns the Category this masks is associated.
        Returns:
        the Category this filter is describing
      • isValid

        boolean isValid()
        Returns true if this masks' category is valid.
        Returns:
        true if the category is valid, false otherwise