Packagecom.yworks.yfiles.util
Interfacepublic interface Filter

Specifies the contract of a general purpose filter. A filter is a predicate-style functor that either accepts or rejects a given test object.



Public Methods
 MethodDefined By
  
accept(o:Object):Boolean
Tests whether the specified Object should be accepted (or rejected) by this filter implementation.
Filter
Method Detail
accept()method
public function accept(o:Object):Boolean

Tests whether the specified Object should be accepted (or rejected) by this filter implementation.

Parameters

o:Object — the Object to be tested.

Returns
Booleantrue iff this filter accepts the specified Object; false otherwise.