|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes which wish to modify the behaviour of the FilterList can implement the list filter interface in order to reduce the visibility of certain items in the list, or to restrict the mutability of the list.
Method Summary | |
boolean |
canAdd(java.lang.Object obj)
Check to see if the object can be added to the list. |
boolean |
canRemove(java.lang.Object obj)
Check to see if the object can be removed from the list. |
boolean |
matches(java.lang.Object obj)
Check to see if the object matches a predefined set of rules. |
Method Detail |
public boolean canAdd(java.lang.Object obj)
Check to see if the object can be added to the list.
obj
- The object to verify.true
if the object can be added.public boolean canRemove(java.lang.Object obj)
Check to see if the object can be removed from the list.
obj
- The object to verify.true
if the object can be removed.public boolean matches(java.lang.Object obj)
Check to see if the object matches a predefined set of rules.
obj
- The object to verify.true
if the object matches a predfined
set of rules.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |