[ Previous section | Next section | This Package | Package List | Table of Contents ]

Interface ItemProcessor

public interface extend.awt.ItemProcessor {
   public abstract boolean processItem(ContainerItem, int);
}
The ItemProcessor interface is used by the ContainerItem class to allow callback processing of a ContainerItem during a traverse () method.

Methods

processItem

public boolean processItem (ContainerItem ci, int tag)
This method will be given a ContainerItem to act upon during a ContainerItem.traverse () process and the tag number given on the invocation of traverse (). The method returns an indication as to whether the traversal should continue.

Parameters:
ci - This is the current item in the traversal.
tag - This is the tag value given to the traverse () method.
Returns:
This method returns boolean. If 'true' is returned by this method, the ContainerItem tree/list traversal will continue to the next item. If 'false' is returned, the traversal will be stopped.

[ Previous section | Next section | This Package | Package List | Table of Contents ]