Gephi Toolkit Javadoc

org.gephi.filters.plugin
Class AbstractFilter

java.lang.Object
  extended by org.gephi.filters.plugin.AbstractFilter
All Implemented Interfaces:
Filter
Direct Known Subclasses:
AbstractAttributeFilter, DegreeRangeBuilder.DegreeRangeFilter, EdgeWeightBuilder.EdgeWeightFilter, InDegreeRangeBuilder.InDegreeRangeFilter, MutualDegreeRangeBuilder.MutualDegreeRangeFilter, OutDegreeRangeBuilder.OutDegreeRangeFilter

public abstract class AbstractFilter
extends java.lang.Object
implements Filter

Author:
mbastian

Field Summary
protected  java.lang.String name
           
protected  java.util.List<FilterProperty> properties
           
 
Constructor Summary
AbstractFilter(java.lang.String name)
           
 
Method Summary
 void addProperty(java.lang.Class clazz, java.lang.String name)
           
 java.lang.String getName()
          Returns the filter's display name.
 FilterProperty[] getProperties()
          Returns the filter properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final java.lang.String name

properties

protected final java.util.List<FilterProperty> properties
Constructor Detail

AbstractFilter

public AbstractFilter(java.lang.String name)
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

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

addProperty

public void addProperty(java.lang.Class clazz,
                        java.lang.String name)

Gephi Toolkit Javadoc