creamtec.webcream.gui
Class ComponentProcessor

java.lang.Object
  extended by creamtec.webcream.gui.ComponentProcessor
All Implemented Interfaces:
ContainerIterator.Listener

public class ComponentProcessor
extends java.lang.Object
implements ContainerIterator.Listener

Used to process a component while updating the GUI elements with the data from the brower


Constructor Summary
ComponentProcessor(HttpRequestData data, ActionData actionData, WindowUpdater windowUpdater)
          Initializes the processor
 
Method Summary
 void postProcessComponent(java.awt.Component comp)
          Callback method that is called after the component and its subtree of children has been processed
 boolean processComponent(java.awt.Component comp)
          Find the appropriate updater and forward the work
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentProcessor

public ComponentProcessor(HttpRequestData data,
                          ActionData actionData,
                          WindowUpdater windowUpdater)
Initializes the processor

Parameters:
data - HttpRequestData
actionData - ActionData
windowUpdater - WindowUpdater
Method Detail

processComponent

public boolean processComponent(java.awt.Component comp)
                         throws java.lang.Exception
Find the appropriate updater and forward the work

Specified by:
processComponent in interface ContainerIterator.Listener
Parameters:
comp - Component
Returns:
true to continue iteration
Throws:
java.lang.Exception

postProcessComponent

public void postProcessComponent(java.awt.Component comp)
Description copied from interface: ContainerIterator.Listener
Callback method that is called after the component and its subtree of children has been processed

Specified by:
postProcessComponent in interface ContainerIterator.Listener
Parameters:
comp - Component


Copyright © 2000-2006 CreamTec LLC. All Rights Reserved.