com.tensegrity.gui.swing
Class SwingLookAndFeelManager

java.lang.Object
  extended bycom.tensegrity.gui.swing.SwingLookAndFeelManager
All Implemented Interfaces:
java.util.EventListener, java.beans.PropertyChangeListener

public class SwingLookAndFeelManager
extends java.lang.Object
implements java.beans.PropertyChangeListener

Manager that updates the offscreen components when the look and feel changes.

Version:
$Id: SwingLookAndFeelManager.java,v 1.6 2005/09/23 13:39:35 BurkhardWick Exp $
Author:
BurkhardWick

Method Summary
static void addComponent(java.awt.Component comp)
          Adds a component to this manager, the component will be updated when the look and feel changes
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
static void removeComponent(java.awt.Component comp)
          Removes a component from this manager, the component will no longer be updated when the look and feel changes
static void updateUI(java.awt.Component comp)
          Updtes the ui of the given component and all its children
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addComponent

public static final void addComponent(java.awt.Component comp)
Adds a component to this manager, the component will be updated when the look and feel changes

Parameters:
comp - The component to add

removeComponent

public static final void removeComponent(java.awt.Component comp)
Removes a component from this manager, the component will no longer be updated when the look and feel changes

Parameters:
comp - The component to remove

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

updateUI

public static final void updateUI(java.awt.Component comp)
Updtes the ui of the given component and all its children

Parameters:
comp - the component to update


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.