Gephi Toolkit Javadoc

org.gephi.filters.spi
Class Category

java.lang.Object
  extended by org.gephi.filters.spi.Category

public final class Category
extends java.lang.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:

Author:
Mathieu Bastian
See Also:
FilterLibrary

Constructor Summary
Category(java.lang.String name)
           
Category(java.lang.String name, javax.swing.Icon icon)
           
Category(java.lang.String name, javax.swing.Icon icon, Category parent)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 javax.swing.Icon getIcon()
          Returns the icon or null if the category has no icon.
 java.lang.String getName()
          Returns the category's name.
 Category getParent()
          Returns this category parent category or null if this category has no parent.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category(java.lang.String name)

Category

public Category(java.lang.String name,
                javax.swing.Icon icon)

Category

public Category(java.lang.String name,
                javax.swing.Icon icon,
                Category parent)
Method Detail

getName

public java.lang.String getName()
Returns the category's name.

Returns:
the name of this category

getIcon

public javax.swing.Icon getIcon()
Returns the icon or null if the category has no icon.

Returns:
the icon or null

getParent

public Category getParent()
Returns this category parent category or null if this category has no parent.

Returns:
this category's parent or null

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Gephi Toolkit Javadoc