Package org.gephi.filters.spi
Class Category
- java.lang.Object
-
- org.gephi.filters.spi.Category
-
public final class Category extends Object
A filter category is like a folder, it describes the type of the filter and bring together to users filters that have the same categories.Default categories are defined in the filter library:
FilterLibrary.TOPOLOGYFilterLibrary.ATTRIBUTESFilterLibrary.EDGEFilterLibrary.HIERARCHY
- Author:
- Mathieu Bastian
- See Also:
FilterLibrary
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)IcongetIcon()Returns the icon ornullif the category has no icon.StringgetName()Returns the category's name.CategorygetParent()Returns this category parent category ornullif this category has no parent.inthashCode()
-
-
-
Method Detail
-
getName
public String getName()
Returns the category's name.- Returns:
- the name of this category
-
getIcon
public Icon getIcon()
Returns the icon ornullif the category has no icon.- Returns:
- the icon or
null
-
getParent
public Category getParent()
Returns this category parent category ornullif this category has no parent.- Returns:
- this category's parent or
null
-
-