| java.lang.Object org.netbeans.swing.plaf.Startup
Startup | final public class Startup (Code) | | Singleton, manages customizers for various LFs. Installs, uninstalls them on LF change.
LF customizers works with Swing UIManager, putting info about various UI elements
in it. Other modules then can query UIManager to get UI elements to get needed
visual design and behaviour.
author: Dafe Simonek, Tim Boudreau |
Method Summary | |
public static void | run(Class uiClass, int uiFontSize, URL themeURL) Initialize values in UIDefaults which need to be there for NetBeans' components; apply customizations such
as setting up a custom font size and loading a theme.
Parameters: uiClass - The UI class which should be used for the look and feel Parameters: uiFontSize - A custom fontsize, or 0. |
run | public static void run(Class uiClass, int uiFontSize, URL themeURL)(Code) | | Initialize values in UIDefaults which need to be there for NetBeans' components; apply customizations such
as setting up a custom font size and loading a theme.
Parameters: uiClass - The UI class which should be used for the look and feel Parameters: uiFontSize - A custom fontsize, or 0. This will be retrievable via UIManager.get("customFontSize") after this method has returnedif non 0. If non zero, all of the standard Swing font keys in UIDefaults will be customized toprovide a font with the requested size. Results are undefined for values less than 0 or greaterthan any hard limit the platform imposes on font size. Parameters: themeURL - An optional URL for a theme file, or null. Theme file format documentation can be foundhere. |
|
|