org.metasyntactic.awt
Class AWTUtilities

java.lang.Object
  |
  +--org.metasyntactic.awt.AWTUtilities

public class AWTUtilities
extends java.lang.Object

Convenience class providing static methods for manipulating AWT objects


Constructor Summary
AWTUtilities()
           
 
Method Summary
static void recursivelyDescendChildren(java.awt.Container root, Operator operator)
          Travels to ever component descendent of this container and handles it in the method that you specify.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTUtilities

public AWTUtilities()
Method Detail

recursivelyDescendChildren

public static void recursivelyDescendChildren(java.awt.Container root,
                                              Operator operator)
Travels to ever component descendent of this container and handles it in the method that you specify.

Parameters:
root - The parent of all the children you want to apply this method to. Note! the parent itself won't be affected.
operator - The operator that will be passed the componenets as they are reached