org.grinvin.conjecture.filter

Class CompoundGraphFilter

Implemented Interfaces:
FilterListModelListener, ListDataListener, GraphFilter

public class CompoundGraphFilter
extends AbstractGraphFilter
implements FilterListModelListener

Nested Class Summary

class
CompoundGraphFilter.Operator

Constructor Summary

CompoundGraphFilter(FilterListModel filters)
CompoundGraphFilter(FilterListModel filters, CompoundGraphFilter.Operator operator)
CompoundGraphFilter(FilterListModel filters, CompoundGraphFilter.Operator operator, boolean negate)

Method Summary

boolean
accepts_impl(GraphBundleView gb)
void
contentsChanged(ListDataEvent e)
void
fromElement(Element element)
String
getDescription_impl()
FilterList
getFilters()
void
intervalAdded(ListDataEvent e)
void
intervalRemoved(ListDataEvent e)
void
setFilterList(FilterListModel newFilters)
Element
toElement()

Methods inherited from class org.grinvin.conjecture.filter.AbstractGraphFilter

accepts, accepts_impl, addGraphFilterListener, fireFilterChanged, getDescription, getDescription_impl, isNegated, negate, removeGraphFilterListener

Constructor Details

CompoundGraphFilter

public CompoundGraphFilter(FilterListModel filters)

CompoundGraphFilter

public CompoundGraphFilter(FilterListModel filters,
                           CompoundGraphFilter.Operator operator)

CompoundGraphFilter

public CompoundGraphFilter(FilterListModel filters,
                           CompoundGraphFilter.Operator operator,
                           boolean negate)

Method Details

accepts_impl

public boolean accepts_impl(GraphBundleView gb)
Overrides:
accepts_impl in interface AbstractGraphFilter

contentsChanged

public void contentsChanged(ListDataEvent e)

fromElement

public void fromElement(Element element)
Specified by:
fromElement in interface GraphFilter

getDescription_impl

public String getDescription_impl()
Overrides:
getDescription_impl in interface AbstractGraphFilter

getFilters

public FilterList getFilters()

intervalAdded

public void intervalAdded(ListDataEvent e)

intervalRemoved

public void intervalRemoved(ListDataEvent e)

setFilterList

public void setFilterList(FilterListModel newFilters)

toElement

public Element toElement()
Specified by:
toElement in interface GraphFilter