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.TOPOLOGY
FilterLibrary.ATTRIBUTES
FilterLibrary.EDGE
FilterLibrary.HIERARCHY
- Author:
- Mathieu Bastian
- See Also:
FilterLibrary
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Icon
getIcon()
Returns the icon ornull
if the category has no icon.String
getName()
Returns the category's name.Category
getParent()
Returns this category parent category ornull
if this category has no parent.int
hashCode()
-
-
-
Method Detail
-
getName
public String getName()
Returns the category's name.- Returns:
- the name of this category
-
getIcon
public Icon getIcon()
Returns the icon ornull
if the category has no icon.- Returns:
- the icon or
null
-
getParent
public Category getParent()
Returns this category parent category ornull
if this category has no parent.- Returns:
- this category's parent or
null
-
-