com.izforge.izpack.gui
Class IzPackMetalTheme

java.lang.Object
  extended byjavax.swing.plaf.metal.MetalTheme
      extended byjavax.swing.plaf.metal.DefaultMetalTheme
          extended bycom.izforge.izpack.gui.IzPackMetalTheme
Direct Known Subclasses:
IzPackKMetalTheme

public class IzPackMetalTheme
extends javax.swing.plaf.metal.DefaultMetalTheme

The IzPack metal theme.

Author:
Julien Ponge

Nested Class Summary
 
Nested classes inherited from class javax.swing.plaf.metal.DefaultMetalTheme
 
Field Summary
private  javax.swing.plaf.ColorUIResource color
          The fonts color.
private  javax.swing.plaf.FontUIResource controlFont
           
private  javax.swing.plaf.FontUIResource menuFont
           
private  javax.swing.plaf.FontUIResource windowTitleFont
           
 
Fields inherited from class javax.swing.plaf.metal.DefaultMetalTheme
 
Fields inherited from class javax.swing.plaf.metal.MetalTheme
 
Constructor Summary
IzPackMetalTheme()
          The constructor.
 
Method Summary
private  java.awt.Font createFont(java.lang.String name, int style, int size)
           
 javax.swing.plaf.ColorUIResource getControlTextColor()
          Returns the color.
 javax.swing.plaf.FontUIResource getControlTextFont()
          The Font of Labels in many cases
 javax.swing.plaf.ColorUIResource getMenuTextColor()
          Returns the color.
 javax.swing.plaf.FontUIResource getMenuTextFont()
          The Font of Menus and MenuItems
 javax.swing.plaf.ColorUIResource getSystemTextColor()
          Returns the color.
 javax.swing.plaf.FontUIResource getSystemTextFont()
          The Font of Nodes in JTrees
 javax.swing.plaf.ColorUIResource getUserTextColor()
          Returns the color.
 javax.swing.plaf.FontUIResource getUserTextFont()
          The Font in TextFields, EditorPanes, etc.
 javax.swing.plaf.FontUIResource getWindowTitleFont()
          The Font of the Title of JInternalFrames
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getName, getPrimary1, getPrimary2, getPrimary3, getSecondary1, getSecondary2, getSecondary3, getSubTextFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getTextHighlightColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

private javax.swing.plaf.ColorUIResource color
The fonts color.


controlFont

private javax.swing.plaf.FontUIResource controlFont

menuFont

private javax.swing.plaf.FontUIResource menuFont

windowTitleFont

private javax.swing.plaf.FontUIResource windowTitleFont
Constructor Detail

IzPackMetalTheme

public IzPackMetalTheme()
The constructor.

Method Detail

createFont

private java.awt.Font createFont(java.lang.String name,
                                 int style,
                                 int size)

getControlTextColor

public javax.swing.plaf.ColorUIResource getControlTextColor()
Returns the color.

Returns:
The color.

getMenuTextColor

public javax.swing.plaf.ColorUIResource getMenuTextColor()
Returns the color.

Returns:
The color.

getSystemTextColor

public javax.swing.plaf.ColorUIResource getSystemTextColor()
Returns the color.

Returns:
The color.

getUserTextColor

public javax.swing.plaf.ColorUIResource getUserTextColor()
Returns the color.

Returns:
The color.

getControlTextFont

public javax.swing.plaf.FontUIResource getControlTextFont()
The Font of Labels in many cases


getMenuTextFont

public javax.swing.plaf.FontUIResource getMenuTextFont()
The Font of Menus and MenuItems


getSystemTextFont

public javax.swing.plaf.FontUIResource getSystemTextFont()
The Font of Nodes in JTrees


getUserTextFont

public javax.swing.plaf.FontUIResource getUserTextFont()
The Font in TextFields, EditorPanes, etc.


getWindowTitleFont

public javax.swing.plaf.FontUIResource getWindowTitleFont()
The Font of the Title of JInternalFrames