|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.clearlook.ClearLookUtils
Consists only of static methods that are useful when working with ClearLook.
Method Summary | |
static Border |
getStoredBorder(JComponent component)
Looks up and answers the border that ClearLook has stored before. |
static boolean |
hasCheckedBorder(JComponent component)
Checks and answers if ClearLook has stored a border in the given component. |
static void |
storeBorder(JComponent component,
Border border)
Stores the given border in the client properties of the component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean hasCheckedBorder(JComponent component)
component
- the component that may hold the border
public static Border getStoredBorder(JComponent component)
component
- the component that holds the border
public static void storeBorder(JComponent component, Border border)
null
a marker object is stored,
so we can determine whether we have attempted to store a border.
component
- the component that holds the borderborder
- the border to be storedhasCheckedBorder(JComponent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |