org.openide.cookies
Interface FilterCookie

All Superinterfaces:
Node.Cookie
All Known Implementing Classes:
SourceChildren, ClassChildren

public interface FilterCookie
extends Node.Cookie

Cookie for node groups which can somehow be filtered. This would be applied to a subclass of Children.


Method Summary
 Object getFilter()
          Get the current filter.
 Class getFilterClass()
          Get the declared filter (super-)class.
 void setFilter(Object filter)
          Set the current filter.
 

Method Detail

getFilterClass

public Class getFilterClass()
Get the declared filter (super-)class.
Returns:
the class, or may be null if no filter is currently in use

getFilter

public Object getFilter()
Get the current filter.
Returns:
the filter, or null if none is currently in use

setFilter

public void setFilter(Object filter)
Set the current filter.
Parameters:
filter - the filter, or null if none should be used


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.