de.postfuse.ui.filter
Class IsSubgraphFilter

java.lang.Object
  extended by prefuse.data.expression.AbstractExpression
      extended by de.postfuse.ui.filter.GFilter
          extended by de.postfuse.ui.filter.IsSubgraphFilter
All Implemented Interfaces:
Filter, EventListener, prefuse.data.event.ExpressionListener, prefuse.data.expression.Expression, prefuse.data.expression.Predicate

public class IsSubgraphFilter
extends GFilter

determines if the given Tuple represents a subgraph this filter is used for visual item as well as data so there should not be any instanceof - Test

Author:
Peter

Constructor Summary
IsSubgraphFilter()
           
 
Method Summary
 boolean getBoolean(prefuse.data.Tuple t)
           
 String getGeneratedName()
           
 
Methods inherited from class de.postfuse.ui.filter.GFilter
get, getName, getType, setName
 
Methods inherited from class prefuse.data.expression.AbstractExpression
addExpressionListener, expressionChanged, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface prefuse.data.expression.Expression
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit
 

Constructor Detail

IsSubgraphFilter

public IsSubgraphFilter()
Method Detail

getBoolean

public boolean getBoolean(prefuse.data.Tuple t)
Specified by:
getBoolean in interface Filter
Specified by:
getBoolean in interface prefuse.data.expression.Expression
Specified by:
getBoolean in class GFilter
Returns:
if the element is a subgraph

getGeneratedName

public String getGeneratedName()
Specified by:
getGeneratedName in class GFilter