|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.plaf.LookAndFeelUtils
public class LookAndFeelUtils
Collection of helpers. Could move to LookAndFeelAddon?
Constructor Summary | |
---|---|
LookAndFeelUtils()
|
Method Summary | |
---|---|
static Color |
getAsNotUIResource(Color color)
Returns a Color based on the param which is not of type UIResource. |
static Font |
getAsNotUIResource(Font font)
Returns a Font based on the param which is not of type UIResource. |
static Object |
getUIOfType(ComponentUI ui,
Class<?> klass)
Returns the ui that is of type klass , or null if
one can not be found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookAndFeelUtils()
Method Detail |
---|
public static Object getUIOfType(ComponentUI ui, Class<?> klass)
klass
, or null if
one can not be found.
public static Font getAsNotUIResource(Font font)
font
- the base font
public static Color getAsNotUIResource(Color color)
color
- the base color
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |