|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.forms.util.Utilities
public final class Utilities
Consists only of static utility methods. This class may be merged with the FormLayoutUtils extra - or not. *
Nested Class Summary | |
---|---|
private static class |
Utilities.LookAndFeelChangeHandler
Listens to changes of the Look and Feel and invalidates the cache. |
Field Summary | |
---|---|
private static java.lang.Boolean |
cachedIsLafAqua
Holds the cached result of the Aqua l&f check. |
private static boolean |
lafChangeHandlerRegistered
Describes whether the LookAndFeelChangeHandler
has been registered with the UIManager or not. |
Constructor Summary | |
---|---|
private |
Utilities()
|
Method Summary | |
---|---|
private static boolean |
computeIsLafAqua()
Computes and answers whether the Aqua look&feel is active. |
private static void |
ensureLookAndFeelChangeHandlerRegistered()
|
static boolean |
isLafAqua()
Lazily checks and answers whether the Aqua look&feel is active. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.lang.Boolean cachedIsLafAqua
LookAndFeelChangeHandler
if the look&feel changes.
private static boolean lafChangeHandlerRegistered
LookAndFeelChangeHandler
has been registered with the UIManager
or not.
It is registered lazily when the first cached l&f state is computed.
Constructor Detail |
---|
private Utilities()
Method Detail |
---|
public static boolean isLafAqua()
private static void ensureLookAndFeelChangeHandlerRegistered()
private static boolean computeIsLafAqua()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |