Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Class ExclusionSearch

java.lang.Object
  extended by
org.eclipse.draw2d.ExclusionSearch
All Implemented Interfaces:
TreeSearch

public class ExclusionSearch
extends java.lang.Object
implements TreeSearch

A TreeSearch that excludes figures contained in a Collection.

Since:
2.1

Constructor Summary
ExclusionSearch (java.util.Collection collection)
          Constructs an Exclusion search using the given collection.
 
Method Summary
 boolean accept ( IFigure figure)
          Returns true if the given figure is accepted by the search.
 boolean prune ( IFigure f)
          Returns true if the figure is a member of the Collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExclusionSearch

public ExclusionSearch(java.util.Collection collection)
Constructs an Exclusion search using the given collection.

Parameters:
collection - the exclusion set
Method Detail

accept

public boolean accept(
IFigure figure)
Description copied from interface: TreeSearch
Returns true if the given figure is accepted by the search.

Specified by:
accept in interface TreeSearch
Parameters:
figure - the current figure in the traversal
Returns:
true if the figure is accepted
See Also:
TreeSearch.accept(IFigure)

prune

public boolean prune(
IFigure f)
Returns true if the figure is a member of the Collection.

Specified by:
prune in interface TreeSearch
Parameters:
f - the current figure in the traversal
Returns:
true if the subgraph should be pruned
See Also:
TreeSearch.prune(IFigure)

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire