org.grinvin.list

Class DefaultFilterListModel

Implemented Interfaces:
FilterListModel, List, TypedListModel, FilterList, GraphFilterListener, HasURI

public class DefaultFilterListModel
extends ArrayListModel
implements FilterListModel, GraphFilterListener

Default implementation of InvariantListModel.

Method Summary

void
add(int index, GraphFilter element)
boolean
add(GraphFilter element)
boolean
addAll(GraphFilter> collection)
boolean
addAll(int index, GraphFilter> collection)
void
addFilterListModelListener(FilterListModelListener listener)
void
clear()
void
filterChanged(GraphFilter filter)
URI
getURI()
boolean
remove(Object obj)
GraphFilter
remove(int index)
void
removeFilterListModelListener(FilterListModelListener listener)
protected void
removeRange(int fromIndex, int toIndex)
GraphFilter
set(int index, GraphFilter element)
void
setURI(URI uri)

Method Details

add

public void add(int index,
                GraphFilter element)

add

public boolean add(GraphFilter element)

addAll

public boolean addAll(GraphFilter> collection)

addAll

public boolean addAll(int index,
                      GraphFilter> collection)

addFilterListModelListener

public void addFilterListModelListener(FilterListModelListener listener)
Specified by:
addFilterListModelListener in interface FilterListModel

clear

public void clear()

filterChanged

public void filterChanged(GraphFilter filter)
Specified by:
filterChanged in interface GraphFilterListener

getURI

public URI getURI()
Specified by:
getURI in interface HasURI

remove

public boolean remove(Object obj)

remove

public GraphFilter remove(int index)

removeFilterListModelListener

public void removeFilterListModelListener(FilterListModelListener listener)
Specified by:
removeFilterListModelListener in interface FilterListModel

removeRange

protected void removeRange(int fromIndex,
                           int toIndex)

set

public GraphFilter set(int index,
                       GraphFilter element)

setURI

public void setURI(URI uri)
Specified by:
setURI in interface HasURI