de.postfuse.ui.filter
Class IsSubgraphFilter
java.lang.Object
prefuse.data.expression.AbstractExpression
de.postfuse.ui.filter.GFilter
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
Methods inherited from class prefuse.data.expression.AbstractExpression |
addExpressionListener, expressionChanged, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit |
Methods inherited from interface prefuse.data.expression.Expression |
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit |
IsSubgraphFilter
public IsSubgraphFilter()
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