Gephi Toolkit Javadoc

org.gephi.filters.plugin.partition
Class PartitionBuilder.PartitionFilter

java.lang.Object
  extended by org.gephi.filters.plugin.partition.PartitionBuilder.PartitionFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
InterEdgesBuilder.InterEdgesFilter, IntraEdgesBuilder.IntraEdgesFilter, PartitionBuilder.EdgePartitionFilter, PartitionBuilder.NodePartitionFilter
Enclosing class:
PartitionBuilder

public abstract static class PartitionBuilder.PartitionFilter
extends java.lang.Object
implements Filter


Field Summary
protected  FilterProperty[] filterProperties
           
protected  Partition partition
           
protected  java.util.List<Part> parts
           
 
Constructor Summary
PartitionBuilder.PartitionFilter(Partition partition)
           
 
Method Summary
 void addPart(Part part)
           
 boolean evaluate(Graph graph, Edge edge)
           
 boolean evaluate(Graph graph, Node node)
           
 void finish()
           
 AttributeColumn getColumn()
           
 Partition getCurrentPartition()
           
 java.lang.String getName()
          Returns the filter's display name.
 Partition getPartition()
           
 java.util.List<Part> getParts()
           
 FilterProperty[] getProperties()
          Returns the filter properties.
 boolean init(Graph graph)
           
 void removePart(Part part)
           
 void selectAll()
           
 void setColumn(AttributeColumn column)
           
 void setPartition(Partition partition)
           
 void setParts(java.util.List<Part> parts)
           
 void unselectAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

partition

protected Partition partition

filterProperties

protected FilterProperty[] filterProperties

parts

protected java.util.List<Part> parts
Constructor Detail

PartitionBuilder.PartitionFilter

public PartitionBuilder.PartitionFilter(Partition partition)
Method Detail

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

init

public boolean init(Graph graph)

evaluate

public boolean evaluate(Graph graph,
                        Node node)

evaluate

public boolean evaluate(Graph graph,
                        Edge edge)

finish

public void finish()

addPart

public void addPart(Part part)

removePart

public void removePart(Part part)

unselectAll

public void unselectAll()

selectAll

public void selectAll()

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

getCurrentPartition

public Partition getCurrentPartition()

getPartition

public Partition getPartition()

getParts

public java.util.List<Part> getParts()

getColumn

public AttributeColumn getColumn()

setColumn

public void setColumn(AttributeColumn column)

setParts

public void setParts(java.util.List<Part> parts)

setPartition

public void setPartition(Partition partition)

Gephi Toolkit Javadoc