Package org.ow2.clif.util.gui
Class SwingHelper
- java.lang.Object
-
- org.ow2.clif.util.gui.SwingHelper
-
public abstract class SwingHelper extends java.lang.ObjectUtility methods for Java swing GUI components
-
-
Constructor Summary
Constructors Constructor Description SwingHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetEnabled(java.awt.Component comp, boolean enable)Enables or disables the given GUI component, as well as its sub-components recursively when it is a container.
-
-
-
Method Detail
-
setEnabled
public static void setEnabled(java.awt.Component comp, boolean enable)Enables or disables the given GUI component, as well as its sub-components recursively when it is a container.- Parameters:
comp- the target component to recursively enable or disableenable- true to enable the component(s), false to disable the component(s)
-
-