org.gephi.filters.plugin.dynamic
Class DynamicRangeBuilder.DynamicRangeFilter
java.lang.Object
org.gephi.filters.plugin.dynamic.DynamicRangeBuilder.DynamicRangeFilter
- All Implemented Interfaces:
- java.util.EventListener, DynamicModelListener, EdgeFilter, Filter, NodeFilter
- Enclosing class:
- DynamicRangeBuilder
public static class DynamicRangeBuilder.DynamicRangeFilter
- extends java.lang.Object
- implements NodeFilter, EdgeFilter, DynamicModelListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicRangeBuilder.DynamicRangeFilter
public DynamicRangeBuilder.DynamicRangeFilter(TimelineController timelineController,
DynamicController dynamicController,
AttributeColumn nodeColumn,
AttributeColumn edgeColumn)
init
public boolean init(Graph graph)
- Specified by:
init
in interface EdgeFilter
- Specified by:
init
in interface NodeFilter
evaluate
public boolean evaluate(Graph graph,
Node node)
- Specified by:
evaluate
in interface NodeFilter
evaluate
public boolean evaluate(Graph graph,
Edge edge)
- Specified by:
evaluate
in interface EdgeFilter
finish
public void finish()
- Specified by:
finish
in interface EdgeFilter
- Specified by:
finish
in interface NodeFilter
refreshValues
public void refreshValues(HierarchicalGraph graph)
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
dynamicModelChanged
public void dynamicModelChanged(DynamicModelEvent event)
- Specified by:
dynamicModelChanged
in interface DynamicModelListener
getRangeProperty
public FilterProperty getRangeProperty()
getMinimum
public java.lang.Double getMinimum()
getMaximum
public java.lang.Double getMaximum()
isKeepNull
public boolean isKeepNull()
setKeepNull
public void setKeepNull(boolean keepNull)
getRange
public Range getRange()
setRange
public void setRange(Range range)
destroy
public void destroy()