| |
|
| java.lang.Object org.cougaar.util.ThemeFactory
ThemeFactory | public class ThemeFactory (Code) | | ThemeFactory - Convenience class for establishing common look and feel
for the UI. Also defines a common set of colors for use in the UI.
Can switch between font sizes by changing myCurrentMetalTheme and
recompiling. Top level demo UI - applet or main - should call
establishMetalTheme()
See Also: javax.swing.plaf.metal.MetalTheme |
COUGAAR_GREEN_KEY | final public static String COUGAAR_GREEN_KEY(Code) | | |
COUGAAR_RED_KEY | final public static String COUGAAR_RED_KEY(Code) | | |
COUGAAR_YELLOW_KEY | final public static String COUGAAR_YELLOW_KEY(Code) | | |
myCurrentMetalTheme | final static MetalTheme myCurrentMetalTheme(Code) | | Use for demo
|
getCougaarGreen | public static Color getCougaarGreen()(Code) | | getCougaarGreen - returns the canonical COUGAAR green
Color - COUGAAR green. |
getCougaarRed | public static Color getCougaarRed()(Code) | | getCougaarRed - returns the canonical COUGAAR red
Color - COUGAAR red. |
getCougaarYellow | public static Color getCougaarYellow()(Code) | | getCougaarYellow - returns the canonical COUGAAR yellow
Color - COUGAAR yellow |
getMetalTheme | public static MetalTheme getMetalTheme()(Code) | | getMetalTheme - returns current MetalTheme (determines default
colors and fonts.
MetalTheme - current MetalTheme |
|
|
|