public class CustomMetalTheme
extends javax.swing.plaf.metal.DefaultMetalTheme
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.logging.Logger |
log |
| Constructor and Description |
|---|
CustomMetalTheme(java.applet.Applet applet) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.swing.plaf.ColorUIResource |
getBlack() |
protected javax.swing.plaf.ColorUIResource |
getColorUIResource(java.lang.String name)
Gets the color resource based on the applet parameter.
|
javax.swing.plaf.FontUIResource |
getControlTextFont() |
protected javax.swing.plaf.FontUIResource |
getFontUIResource(java.lang.String name)
Gets the font resource based on the applet parameter.
|
javax.swing.plaf.FontUIResource |
getMenuTextFont() |
java.lang.String |
getName() |
protected javax.swing.plaf.ColorUIResource |
getPrimary1() |
protected javax.swing.plaf.ColorUIResource |
getPrimary2() |
protected javax.swing.plaf.ColorUIResource |
getPrimary3() |
protected javax.swing.plaf.ColorUIResource |
getSecondary1() |
protected javax.swing.plaf.ColorUIResource |
getSecondary2() |
protected javax.swing.plaf.ColorUIResource |
getSecondary3() |
javax.swing.plaf.FontUIResource |
getSubTextFont() |
javax.swing.plaf.FontUIResource |
getSystemTextFont() |
javax.swing.plaf.FontUIResource |
getUserTextFont() |
protected javax.swing.plaf.ColorUIResource |
getWhite() |
javax.swing.plaf.FontUIResource |
getWindowTitleFont() |
static void |
install(java.applet.Applet applet)
Sets the look and feel to Metal and installs this theme.
|
static void |
removeInsideBorder(javax.swing.JComponent comp)
Utility function to remove the inside border from a compound border.
|
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForegroundpublic java.lang.String getName()
getName in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getBlack()
getBlack in class javax.swing.plaf.metal.MetalThemeprotected javax.swing.plaf.ColorUIResource getWhite()
getWhite in class javax.swing.plaf.metal.MetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary1()
getPrimary1 in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary2()
getPrimary2 in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary3()
getPrimary3 in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary1()
getSecondary1 in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary2()
getSecondary2 in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary3()
getSecondary3 in class javax.swing.plaf.metal.DefaultMetalThemepublic javax.swing.plaf.FontUIResource getMenuTextFont()
getMenuTextFont in class javax.swing.plaf.metal.DefaultMetalThemepublic javax.swing.plaf.FontUIResource getControlTextFont()
getControlTextFont in class javax.swing.plaf.metal.DefaultMetalThemepublic javax.swing.plaf.FontUIResource getSubTextFont()
getSubTextFont in class javax.swing.plaf.metal.DefaultMetalThemepublic javax.swing.plaf.FontUIResource getSystemTextFont()
getSystemTextFont in class javax.swing.plaf.metal.DefaultMetalThemepublic javax.swing.plaf.FontUIResource getUserTextFont()
getUserTextFont in class javax.swing.plaf.metal.DefaultMetalThemepublic javax.swing.plaf.FontUIResource getWindowTitleFont()
getWindowTitleFont in class javax.swing.plaf.metal.DefaultMetalThemeprotected javax.swing.plaf.FontUIResource getFontUIResource(java.lang.String name)
name - protected javax.swing.plaf.ColorUIResource getColorUIResource(java.lang.String name)
name - public static void install(java.applet.Applet applet)
applet - public static void removeInsideBorder(javax.swing.JComponent comp)
comp -