gov.nasa.worldwind.applications.gio.catalogui
Class DefaultResultList
java.lang.Object
gov.nasa.worldwind.applications.gio.catalogui.DefaultResultList
- All Implemented Interfaces:
- ResultList, Iterable<ResultModel>
public class DefaultResultList
- extends Object
- implements ResultList
|
Method Summary |
void |
add(ResultModel result)
|
void |
addAll(Collection<? extends ResultModel> c)
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
void |
addResultListListener(ResultListListener l)
|
void |
clear()
|
boolean |
contains(ResultModel result)
|
protected void |
fireModelEvent(ResultListEvent e)
|
void |
firePropertyChange()
|
void |
firePropertyChange(PropertyChangeEvent evt)
|
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
|
protected void |
fireResultsDeleted(int startIndex,
int endIndex)
|
protected void |
fireResultsInserted(int startIndex,
int endIndex)
|
protected void |
fireResultsUpdated(int startIndex,
int endIndex,
int type)
|
protected void |
fireResultUpdated(int index,
PropertyChangeEvent evt,
int type)
|
ResultModel |
get(int index)
|
PropertyChangeListener[] |
getPropertyChangeListeners()
|
ResultListListener[] |
getResultListListeners()
|
int |
indexOf(ResultModel result)
|
void |
insert(int index,
ResultModel result)
|
boolean |
isEmpty()
|
Iterator<ResultModel> |
iterator()
|
ResultModel |
remove(int index)
|
boolean |
remove(ResultModel result)
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
removeResultListListener(ResultListListener l)
|
ResultModel |
set(int index,
ResultModel result)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResultList
public DefaultResultList()
add
public void add(ResultModel result)
- Specified by:
add in interface ResultList
addAll
public void addAll(Collection<? extends ResultModel> c)
- Specified by:
addAll in interface ResultList
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface ResultList
addResultListListener
public void addResultListListener(ResultListListener l)
- Specified by:
addResultListListener in interface ResultList
clear
public void clear()
- Specified by:
clear in interface ResultList
contains
public boolean contains(ResultModel result)
- Specified by:
contains in interface ResultList
fireModelEvent
protected void fireModelEvent(ResultListEvent e)
firePropertyChange
public void firePropertyChange()
firePropertyChange
public void firePropertyChange(PropertyChangeEvent evt)
firePropertyChange
public void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
fireResultsDeleted
protected void fireResultsDeleted(int startIndex,
int endIndex)
fireResultsInserted
protected void fireResultsInserted(int startIndex,
int endIndex)
fireResultsUpdated
protected void fireResultsUpdated(int startIndex,
int endIndex,
int type)
fireResultUpdated
protected void fireResultUpdated(int index,
PropertyChangeEvent evt,
int type)
get
public ResultModel get(int index)
- Specified by:
get in interface ResultList
getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners()
- Specified by:
getPropertyChangeListeners in interface ResultList
getResultListListeners
public ResultListListener[] getResultListListeners()
- Specified by:
getResultListListeners in interface ResultList
indexOf
public int indexOf(ResultModel result)
- Specified by:
indexOf in interface ResultList
insert
public void insert(int index,
ResultModel result)
- Specified by:
insert in interface ResultList
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface ResultList
iterator
public Iterator<ResultModel> iterator()
- Specified by:
iterator in interface ResultList- Specified by:
iterator in interface Iterable<ResultModel>
remove
public ResultModel remove(int index)
- Specified by:
remove in interface ResultList
remove
public boolean remove(ResultModel result)
- Specified by:
remove in interface ResultList
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface ResultList
removeResultListListener
public void removeResultListListener(ResultListListener l)
- Specified by:
removeResultListListener in interface ResultList
set
public ResultModel set(int index,
ResultModel result)
- Specified by:
set in interface ResultList
size
public int size()
- Specified by:
size in interface ResultList