|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FilteredList
A generic interface for finding matching data objects.
Implementations that read this list must synchronize on the lock obtained by getLock() for thread-safe execution.
One implementation is the BasicFilteredList.
| Method Summary | ||
|---|---|---|
Object |
getCriteria()
Gets the search criteria object. |
|
Object |
getLock()
All synchronized operations should use this lock. |
|
void |
reset()
Start a new search with the current criteria. |
|
void |
setCriteria(Object criteria,
FilterStatusListener listener)
Sets the search criteria and starts a search. |
|
void |
waitForComplete()
Wait until filtering is complete. |
|
| Methods inherited from interface net.rim.device.api.collection.ReadableList |
|---|
getAt, getAt, getIndex, size |
| Methods inherited from interface net.rim.device.api.collection.CollectionEventSource |
|---|
addCollectionListener, removeCollectionListener |
| Method Detail |
|---|
void setCriteria(Object criteria,
FilterStatusListener listener)
criteria - The search criteria object.listener - The filter status listener.Object getCriteria()
void reset()
void waitForComplete()
Object getLock()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.