de.postfuse.ui.filter
Class GFilter

java.lang.Object
  extended by prefuse.data.expression.AbstractExpression
      extended by de.postfuse.ui.filter.GFilter
All Implemented Interfaces:
Filter, EventListener, prefuse.data.event.ExpressionListener, prefuse.data.expression.Expression, prefuse.data.expression.Predicate
Direct Known Subclasses:
ConstFilter, EqFilter, GListFilter, HasArrowTypeFilter, HasFillColorFilter, HasShapeFilter, HasStrokeColorFilter, IsEdgeFilter, IsFoldedFilter, IsGraphMember, IsGraphMemberRecursive, IsLoopFilter, IsNodeFilter, IsSubgraphFilter, NotFilter, XorFilter

public abstract class GFilter
extends prefuse.data.expression.AbstractExpression
implements Filter

A template for a filter, implements everything which should be the same in all filters.

Author:
Peter

Constructor Summary
GFilter()
           
 
Method Summary
 Object get(prefuse.data.Tuple t)
           
abstract  boolean getBoolean(prefuse.data.Tuple t)
           
abstract  String getGeneratedName()
           
 String getName()
           
 Class getType(prefuse.data.Schema s)
           
 void setName(String name)
           
 
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

GFilter

public GFilter()
Method Detail

get

public Object get(prefuse.data.Tuple t)
Specified by:
get in interface Filter
Specified by:
get in interface prefuse.data.expression.Expression
Overrides:
get in class prefuse.data.expression.AbstractExpression

getBoolean

public abstract boolean getBoolean(prefuse.data.Tuple t)
Specified by:
getBoolean in interface Filter
Specified by:
getBoolean in interface prefuse.data.expression.Expression
Overrides:
getBoolean in class prefuse.data.expression.AbstractExpression
Returns:
if the Element should be shown

getType

public Class getType(prefuse.data.Schema s)
Specified by:
getType in interface Filter
Specified by:
getType in interface prefuse.data.expression.Expression

setName

public void setName(String name)

getName

public String getName()
Specified by:
getName in interface Filter

getGeneratedName

public abstract String getGeneratedName()