com.myjavaworld.gui
Class DefaultTheme

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by javax.swing.plaf.metal.DefaultMetalTheme
          extended by com.myjavaworld.gui.DefaultTheme
Direct Known Subclasses:
DefaultLargeTheme, GreenMetalTheme, HighContrastTheme, SandstoneTheme

public class DefaultTheme
extends DefaultMetalTheme

Default theme for the user interface.

Version:
2.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com

Constructor Summary
DefaultTheme()
           
 
Method Summary
 FontUIResource getControlTextFont()
           
 FontUIResource getMenuTextFont()
           
 String getName()
           
 FontUIResource getSubTextFont()
           
 FontUIResource getSystemTextFont()
           
 FontUIResource getUserTextFont()
           
 FontUIResource getWindowTitleFont()
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getPrimary1, getPrimary2, getPrimary3, getSecondary1, getSecondary2, getSecondary3
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, 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, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTheme

public DefaultTheme()
Method Detail

getName

public String getName()
Overrides:
getName in class DefaultMetalTheme

getControlTextFont

public FontUIResource getControlTextFont()
Overrides:
getControlTextFont in class DefaultMetalTheme

getSystemTextFont

public FontUIResource getSystemTextFont()
Overrides:
getSystemTextFont in class DefaultMetalTheme

getUserTextFont

public FontUIResource getUserTextFont()
Overrides:
getUserTextFont in class DefaultMetalTheme

getMenuTextFont

public FontUIResource getMenuTextFont()
Overrides:
getMenuTextFont in class DefaultMetalTheme

getWindowTitleFont

public FontUIResource getWindowTitleFont()
Overrides:
getWindowTitleFont in class DefaultMetalTheme

getSubTextFont

public FontUIResource getSubTextFont()
Overrides:
getSubTextFont in class DefaultMetalTheme


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.