Main Page   Packages   Namespace List   Class Hierarchy   Compound List   Compound Members  

Filter Interface Reference

Inheritance diagram for Filter::

ElementFilter List of all members.

Public Methods

boolean canAdd (Object obj)
boolean canRemove (Object obj)
boolean matches (Object obj)

Detailed Description

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.

Author:
Jools Enticknap , Bradley S. Huffman
Version:
Revision:
1.3
,
Date:
2002/01/25 18:42:52


Member Function Documentation

boolean Filter::canAdd Object    obj
 

Check to see if the object can be added to the list.

Parameters:
obj  The object to verify.
Returns:
true if the object can be added.

Reimplemented in ElementFilter.

boolean Filter::canRemove Object    obj
 

Check to see if the object can be removed from the list.

Parameters:
obj  The object to verify.
Returns:
true if the object can be removed.

Reimplemented in ElementFilter.

boolean Filter::matches Object    obj
 

Check to see if the object matches a predefined set of rules.

Parameters:
obj  The object to verify.
Returns:
true if the object matches a predfined set of rules.

Reimplemented in ElementFilter.


The documentation for this interface was generated from the following file:
Generated on Sat Mar 30 18:53:03 2002 for JDOM by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001