org.openide.loaders 7.10.1

org.openide.loaders
Interface DataFilter

All Superinterfaces:
Serializable
All Known Subinterfaces:
ChangeableDataFilter, DataFilter.FileBased

public interface DataFilter
extends Serializable

Allows certain data objects to be excluded from being displayed.

See Also:
RepositoryNodeFactory

Nested Class Summary
static interface DataFilter.FileBased
          Additional interface that can be implemented by the DataFilter implementors to do low level filtering based on the file objects.
 
Field Summary
static DataFilter ALL
          Default filter that accepts everything.
static long serialVersionUID
          Deprecated. Only public by accident.
 
Method Summary
 boolean acceptDataObject(DataObject obj)
          Should the data object be displayed or not?
 

Field Detail

ALL

static final DataFilter ALL
Default filter that accepts everything.


serialVersionUID

@Deprecated
static final long serialVersionUID
Deprecated. Only public by accident.
See Also:
Constant Field Values
Method Detail

acceptDataObject

boolean acceptDataObject(DataObject obj)
Should the data object be displayed or not?

Parameters:
obj - the data object
Returns:
true if the object should be displayed, false otherwise

org.openide.loaders 7.10.1

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