org.flexdock.plaf
Class PlafManager
java.lang.Object
org.flexdock.plaf.PlafManager
public class PlafManager
- extends Object
- Author:
- Christopher Butler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlafManager
public PlafManager()
getSystemThemeName
public static String getSystemThemeName()
installSystemTheme
public static void installSystemTheme()
setPreferredTheme
public static void setPreferredTheme(Properties p)
setPreferredTheme
public static void setPreferredTheme(String themeName)
setPreferredTheme
public static void setPreferredTheme(String themeName,
boolean reload)
installPreferredTheme
public static void installPreferredTheme()
addCustomTheme
public static Theme addCustomTheme(String themeName,
Properties p)
setCustomTheme
public static Theme setCustomTheme(String themeName,
Properties p)
loadCustomTheme
public static Theme loadCustomTheme(String themeName,
Properties p,
boolean exclusive)
removeCustomTheme
public static Theme removeCustomTheme(String themeName)
getUI
public static ComponentUI getUI(JComponent target)
- Returns the appropriate
ComponentUI implementation for
target. In case the component is a member of the installed look
and feel, this method first queries UIManager.getUI(target)
before attempting to resolve it locally.
- Parameters:
target - the JComponent to return the ComponentUI for
- Returns:
- the
ComponentUI object for target
- Throws:
NullPointerException - if target is null- See Also:
UIManager.getUI(javax.swing.JComponent)