|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.SwingXUtilities
public final class SwingXUtilities
A collection of utility methods for Swing(X) classes.
| Method Summary | |
|---|---|
static boolean |
isDescendingFrom(Component focusOwner,
Component parent)
Returns whether the component is part of the parent's container hierarchy. |
void |
setComponentTreeEnabled(Component c,
boolean enabled)
Enables or disables of the components in the tree starting with c. |
void |
setComponentTreeLocale(Component c,
Locale locale)
Sets the locale for an entire component hierarchy to the specified locale. |
static void |
updateAllComponentTreeUIs()
Updates the componentTreeUI of all toplevel windows of the current application. |
static void |
updateAllComponentTreeUIs(Window window)
Updates the componentTreeUI of the given window and all its owned windows, recursively. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setComponentTreeEnabled(Component c,
boolean enabled)
c.
c - the starting componentenabled - true if the component is to enabled; false otherwise
public void setComponentTreeLocale(Component c,
Locale locale)
c - the starting componentlocale - the locale to setpublic static void updateAllComponentTreeUIs()
public static void updateAllComponentTreeUIs(Window window)
window - the window to update
public static boolean isDescendingFrom(Component focusOwner,
Component parent)
focusOwner - parent -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||