de.postfuse.ui.filter
Class GListFilter

java.lang.Object
  extended by prefuse.data.expression.AbstractExpression
      extended by de.postfuse.ui.filter.GFilter
          extended by de.postfuse.ui.filter.GListFilter
All Implemented Interfaces:
Filter, Iterable<Filter>, Collection<Filter>, EventListener, List<Filter>, prefuse.data.event.ExpressionListener, prefuse.data.expression.Expression, prefuse.data.expression.Predicate
Direct Known Subclasses:
AndFilter, OrFilter

public abstract class GListFilter
extends GFilter
implements List<Filter>


Constructor Summary
GListFilter()
           
 
Method Summary
 boolean add(Filter o)
           
 void add(int index, Filter element)
           
 boolean addAll(Collection<? extends Filter> c)
           
 boolean addAll(int index, Collection<? extends Filter> c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 Filter get(int index)
           
abstract  boolean getBoolean(prefuse.data.Tuple t)
           
abstract  String getGeneratedName()
           
 int indexOf(Object o)
           
 boolean isEmpty()
           
 Iterator<Filter> iterator()
           
 int lastIndexOf(Object o)
           
 ListIterator<Filter> listIterator()
           
 ListIterator<Filter> listIterator(int index)
           
 Filter remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 Filter set(int index, Filter element)
           
 int size()
           
 List<Filter> subList(int fromIndex, int toIndex)
           
 Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 
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 java.util.List
equals, hashCode
 
Methods inherited from interface prefuse.data.expression.Expression
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit
 

Constructor Detail

GListFilter

public GListFilter()
Method Detail

getBoolean

public abstract 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 should be shown

getGeneratedName

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

add

public boolean add(Filter o)
Specified by:
add in interface Collection<Filter>
Specified by:
add in interface List<Filter>

add

public void add(int index,
                Filter element)
Specified by:
add in interface List<Filter>

addAll

public boolean addAll(Collection<? extends Filter> c)
Specified by:
addAll in interface Collection<Filter>
Specified by:
addAll in interface List<Filter>

addAll

public boolean addAll(int index,
                      Collection<? extends Filter> c)
Specified by:
addAll in interface List<Filter>

clear

public void clear()
Specified by:
clear in interface Collection<Filter>
Specified by:
clear in interface List<Filter>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<Filter>
Specified by:
contains in interface List<Filter>

containsAll

public boolean containsAll(Collection<?> c)
Specified by:
containsAll in interface Collection<Filter>
Specified by:
containsAll in interface List<Filter>

get

public Filter get(int index)
Specified by:
get in interface List<Filter>

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List<Filter>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<Filter>
Specified by:
isEmpty in interface List<Filter>

iterator

public Iterator<Filter> iterator()
Specified by:
iterator in interface Iterable<Filter>
Specified by:
iterator in interface Collection<Filter>
Specified by:
iterator in interface List<Filter>

lastIndexOf

public int lastIndexOf(Object o)
Specified by:
lastIndexOf in interface List<Filter>

listIterator

public ListIterator<Filter> listIterator()
Specified by:
listIterator in interface List<Filter>

listIterator

public ListIterator<Filter> listIterator(int index)
Specified by:
listIterator in interface List<Filter>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<Filter>
Specified by:
remove in interface List<Filter>

remove

public Filter remove(int index)
Specified by:
remove in interface List<Filter>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<Filter>
Specified by:
removeAll in interface List<Filter>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<Filter>
Specified by:
retainAll in interface List<Filter>

set

public Filter set(int index,
                  Filter element)
Specified by:
set in interface List<Filter>

size

public int size()
Specified by:
size in interface Collection<Filter>
Specified by:
size in interface List<Filter>

subList

public List<Filter> subList(int fromIndex,
                            int toIndex)
Specified by:
subList in interface List<Filter>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<Filter>
Specified by:
toArray in interface List<Filter>

toArray

public <T> T[] toArray(T[] a)
Specified by:
toArray in interface Collection<Filter>
Specified by:
toArray in interface List<Filter>