public class LookAndFeelUtils extends Object
Constructor | Description |
---|---|
LookAndFeelUtils() |
Modifier and Type | Method | Description |
---|---|---|
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. |
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 fontCopyright © 2018. All rights reserved.