|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.filters.spi.Category
public final class Category
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
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 |
---|
public Category(java.lang.String name)
public Category(java.lang.String name, javax.swing.Icon icon)
public Category(java.lang.String name, javax.swing.Icon icon, Category parent)
Method Detail |
---|
public java.lang.String getName()
public javax.swing.Icon getIcon()
null
if the category has no icon.
null
public Category getParent()
null
if this
category has no parent.
null
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |