org.game.JVirus
Class SwingTheme
java.lang.Object
|
+--javax.swing.plaf.metal.MetalTheme
|
+--javax.swing.plaf.metal.DefaultMetalTheme
|
+--org.game.JVirus.SwingTheme
- public final class SwingTheme
- extends javax.swing.plaf.metal.DefaultMetalTheme
black and green Swing theme for JVirus
Field Summary |
static javax.swing.plaf.ColorUIResource |
black
|
static javax.swing.plaf.FontUIResource |
font
|
static java.lang.String |
FONT_DEFAULT
|
static int |
FONT_SIZE
|
static int |
FONT_TYP
|
static javax.swing.plaf.FontUIResource |
font2
|
static javax.swing.plaf.ColorUIResource |
primary1
|
static javax.swing.plaf.ColorUIResource |
primary2
|
static javax.swing.plaf.ColorUIResource |
primary3
|
static javax.swing.plaf.ColorUIResource |
secondary1
|
static javax.swing.plaf.ColorUIResource |
secondary2
|
static javax.swing.plaf.ColorUIResource |
secondary3
|
static javax.swing.plaf.ColorUIResource |
white
|
Methods inherited from class javax.swing.plaf.metal.MetalTheme |
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, getWindowTitleInactiveForeground |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FONT_DEFAULT
public static final java.lang.String FONT_DEFAULT
FONT_TYP
public static final int FONT_TYP
FONT_SIZE
public static final int FONT_SIZE
primary1
public static final javax.swing.plaf.ColorUIResource primary1
primary2
public static final javax.swing.plaf.ColorUIResource primary2
primary3
public static final javax.swing.plaf.ColorUIResource primary3
secondary1
public static final javax.swing.plaf.ColorUIResource secondary1
secondary2
public static final javax.swing.plaf.ColorUIResource secondary2
secondary3
public static final javax.swing.plaf.ColorUIResource secondary3
black
public static final javax.swing.plaf.ColorUIResource black
white
public static final javax.swing.plaf.ColorUIResource white
font
public static final javax.swing.plaf.FontUIResource font
font2
public static final javax.swing.plaf.FontUIResource font2
getName
public java.lang.String getName()
- the name of this theme: "JVirus Theme"
- Overrides:
getName
in class javax.swing.plaf.metal.DefaultMetalTheme
initSwing
public static void initSwing()
- static initialiser, called in the main class
- See Also:
main
getPrimary1
protected javax.swing.plaf.ColorUIResource getPrimary1()
- Overrides:
getPrimary1
in class javax.swing.plaf.metal.DefaultMetalTheme
getPrimary2
protected javax.swing.plaf.ColorUIResource getPrimary2()
- Overrides:
getPrimary2
in class javax.swing.plaf.metal.DefaultMetalTheme
getPrimary3
protected javax.swing.plaf.ColorUIResource getPrimary3()
- Overrides:
getPrimary3
in class javax.swing.plaf.metal.DefaultMetalTheme
getSecondary1
protected javax.swing.plaf.ColorUIResource getSecondary1()
- Overrides:
getSecondary1
in class javax.swing.plaf.metal.DefaultMetalTheme
getSecondary2
protected javax.swing.plaf.ColorUIResource getSecondary2()
- Overrides:
getSecondary2
in class javax.swing.plaf.metal.DefaultMetalTheme
getSecondary3
protected javax.swing.plaf.ColorUIResource getSecondary3()
- Overrides:
getSecondary3
in class javax.swing.plaf.metal.DefaultMetalTheme
getBlack
protected javax.swing.plaf.ColorUIResource getBlack()
- Overrides:
getBlack
in class javax.swing.plaf.metal.MetalTheme
getWhite
protected javax.swing.plaf.ColorUIResource getWhite()
- Overrides:
getWhite
in class javax.swing.plaf.metal.MetalTheme
getControlTextFont
public javax.swing.plaf.FontUIResource getControlTextFont()
- Overrides:
getControlTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getMenuTextFont
public javax.swing.plaf.FontUIResource getMenuTextFont()
- Overrides:
getMenuTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getSubTextFont
public javax.swing.plaf.FontUIResource getSubTextFont()
- Overrides:
getSubTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getSystemTextFont
public javax.swing.plaf.FontUIResource getSystemTextFont()
- Overrides:
getSystemTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getUserTextFont
public javax.swing.plaf.FontUIResource getUserTextFont()
- Overrides:
getUserTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getWindowTitleFont
public javax.swing.plaf.FontUIResource getWindowTitleFont()
- Overrides:
getWindowTitleFont
in class javax.swing.plaf.metal.DefaultMetalTheme