org.gephi.filters.plugin.attribute
Class AttributeRangeBuilder.AttributeRangeFilter
java.lang.Object
org.gephi.filters.plugin.attribute.AttributeRangeBuilder.AttributeRangeFilter
- All Implemented Interfaces:
- RangeFilter, Filter
- Direct Known Subclasses:
- AttributeRangeBuilder.EdgeAttributeRangeFilter, AttributeRangeBuilder.NodeAttributeRangeFilter
- Enclosing class:
- AttributeRangeBuilder
public static class AttributeRangeBuilder.AttributeRangeFilter
- extends java.lang.Object
- implements RangeFilter, Filter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeRangeBuilder.AttributeRangeFilter
public AttributeRangeBuilder.AttributeRangeFilter(AttributeColumn column)
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()
getValues
public java.lang.Object[] getValues()
- Specified by:
getValues
in interface RangeFilter
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
getRangeProperty
public FilterProperty getRangeProperty()
- Specified by:
getRangeProperty
in interface RangeFilter
getMinimum
public java.lang.Object getMinimum()
- Specified by:
getMinimum
in interface RangeFilter
getMaximum
public java.lang.Object getMaximum()
- Specified by:
getMaximum
in interface RangeFilter
getRange
public Range getRange()
setRange
public void setRange(Range range)
getColumn
public AttributeColumn getColumn()
setColumn
public void setColumn(AttributeColumn column)