Gephi Toolkit Javadoc

org.gephi.filters.plugin.hierarchy
Class LevelBuilder.LevelFilter

java.lang.Object
  extended by 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


Constructor Summary
LevelBuilder.LevelFilter()
           
 
Method Summary
 boolean evaluate(Graph graph, Node node)
           
 void finish()
           
 int getHeight()
           
 java.lang.Integer getLevel()
           
 java.lang.String getName()
          Returns the filter's display name.
 FilterProperty[] getProperties()
          Returns the filter properties.
 boolean init(Graph graph)
           
 void setLevel(java.lang.Integer level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LevelBuilder.LevelFilter

public LevelBuilder.LevelFilter()
Method Detail

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)

Gephi Toolkit Javadoc