edu.toronto.cs.util.gui
Class GUIUtil

java.lang.Object
  extended by edu.toronto.cs.util.gui.GUIUtil

public class GUIUtil
extends java.lang.Object

All sorts of useful little things.


Method Summary
static void alignAllX(java.awt.Component[] comp, float alignment)
          Gives all the specified components the same X-alignment.
static void alignAllY(java.awt.Component[] comp, float alignment)
          Gives all the specified components the same Y-alignment.
static void setEnabled(java.awt.Component comp, boolean status)
          Enables/Disables all components recursively.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

alignAllX

public static void alignAllX(java.awt.Component[] comp,
                             float alignment)
Gives all the specified components the same X-alignment.


alignAllY

public static void alignAllY(java.awt.Component[] comp,
                             float alignment)
Gives all the specified components the same Y-alignment.


setEnabled

public static void setEnabled(java.awt.Component comp,
                              boolean status)
Enables/Disables all components recursively.