org.metasyntactic.swing
Class SwingUtilities

java.lang.Object
  |
  +--org.metasyntactic.swing.SwingUtilities

public class SwingUtilities
extends java.lang.Object


Constructor Summary
SwingUtilities()
           
 
Method Summary
static void recursivelyDescendChildren(java.awt.Container root, Operator operator)
          Travels to ever 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

SwingUtilities

public SwingUtilities()
Method Detail

recursivelyDescendChildren

public static void recursivelyDescendChildren(java.awt.Container root,
                                              Operator operator)
Travels to ever descendent of this container and handles it in the method that you specify. This method is more robust then AWTUtilities.recursivelyDescendChildren() because it will invoke the operator on components such as JMenuItems, and JTableHeaders. BOth of which are items that can not be reached by the AWT

Parameters:
root - The parent of all the children you want to apply this method to. Note! the parent itself won't be affected.