Package org.gephi.filters.spi
Interface CategoryBuilder
-
public interface CategoryBuilder
Category builder is a convenient way to define multiple builders from a single source and grouped in a single category.Implement
CategoryBuilder
for instance for creating a set of filter builders working on attributes, with oneFilterBuilder
per attribute column.Note that filter builders returned by category builders don't have to be registered on they own, once here is enough.
- Author:
- Mathieu Bastian
- See Also:
FilterBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FilterBuilder[]
getBuilders(Workspace workspace)
Returns the filter builders this category builder is building.Category
getCategory()
Returns the category builders are to be grouped in.
-
-
-
Method Detail
-
getBuilders
FilterBuilder[] getBuilders(Workspace workspace)
Returns the filter builders this category builder is building.- Parameters:
workspace
- workspace- Returns:
- the builders this category builder is building
-
getCategory
Category getCategory()
Returns the category builders are to be grouped in. It can't be a default category.- Returns:
- the category builders belong to
-
-