org.gephi.filters.plugin.hierarchy
Class LevelBuilder.LevelFilter
java.lang.Object
org.gephi.filters.plugin.hierarchy.LevelBuilder.LevelFilter
- All Implemented Interfaces:
- Filter, NodeFilter
- Enclosing class:
- LevelBuilder
public static class LevelBuilder.LevelFilter
- extends java.lang.Object
- implements NodeFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LevelBuilder.LevelFilter
public LevelBuilder.LevelFilter()
init
public boolean init(Graph graph)
- Specified by:
init
in interface NodeFilter
evaluate
public boolean evaluate(Graph graph,
Node node)
- Specified by:
evaluate
in interface NodeFilter
finish
public void finish()
- Specified by:
finish
in interface NodeFilter
getHeight
public int getHeight()
getName
public java.lang.String getName()
- Description copied from interface:
Filter
- Returns the filter's display name.
- Specified by:
getName
in interface Filter
- Returns:
- the filter's dispaly name
getProperties
public FilterProperty[] getProperties()
- Description copied from interface:
Filter
- Returns the filter properties. Property values can be get and set from
FilterProperty
objects.
- Specified by:
getProperties
in interface Filter
- Returns:
- the filter's properties
getLevel
public java.lang.Integer getLevel()
setLevel
public void setLevel(java.lang.Integer level)