com.creamtec.ajaxswing.gui

## Class WindowUpdater

- java.lang.Object
- - com.creamtec.ajaxswing.gui.WindowUpdater

-     public class WindowUpdater
      extends java.lang.Object

  Used to update GUI windows with the data, received from HTTP request. If there is an action to be emulated, WindowUpdater handles it

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WindowUpdater()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ComponentUpdater` | `getComponentUpdater(java.lang.Class className)` Returns the component updater for the given class If a custom component updater is not registered for the given class, a default one is returned Checks recursevly for class tree
    `void` | `initCustomUpdatersAndEmulators(ClientAgent agent)` Loads custom updaters from the application properties file.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WindowUpdater

          public WindowUpdater()

  - ### Method Detail

    - #### getComponentUpdater

          public ComponentUpdater getComponentUpdater(java.lang.Class className)

      Returns the component updater for the given class If a custom component updater is not registered for the given class, a default one is returned Checks recursevly for class tree
      Parameters:
        `className` - component class
      Returns:
        ComponentUpdater

    - #### initCustomUpdatersAndEmulators

          public void initCustomUpdatersAndEmulators(ClientAgent agent)

      Loads custom updaters from the application properties file. Iterates the keys that start with "updater." and tries to load the class given as the key value. If loaded, the class is added to the component renderers map.

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