Package org.gephi.filters.spi
Interface FilterLibraryMask
-
public interface FilterLibraryMaskClasses 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CategorygetCategory()Returns theCategorythis masks is associated.booleanisValid()Returnstrueif this masks' category is valid.
-
-
-
Method Detail
-
getCategory
Category getCategory()
Returns theCategorythis masks is associated.- Returns:
- the
Categorythis filter is describing
-
isValid
boolean isValid()
Returnstrueif this masks' category is valid.- Returns:
trueif the category is valid,falseotherwise
-
-