jwo.landserf.gui
Class LandSerfLookAndFeel.LSFontTheme

java.lang.Object
  extended by jwo.landserf.gui.LandSerfLookAndFeel.LSFontTheme
All Implemented Interfaces:
com.incors.plaf.alloy.AlloyFontTheme
Enclosing class:
LandSerfLookAndFeel

public static class LandSerfLookAndFeel.LSFontTheme
extends Object
implements com.incors.plaf.alloy.AlloyFontTheme

LandSerf colour and font theme.


Constructor Summary
LandSerfLookAndFeel.LSFontTheme()
          Creates the LandSerf theme.
 
Method Summary
 FontUIResource getControlTextFont()
          Reports the font usually used by labels.
 FontUIResource getMenuTextFont()
          Reports the font used in menus and menuItems.
 FontUIResource getSubTextFont()
          Reports the font used by some labels.
 FontUIResource getSystemTextFont()
          Reports the font used by nodes in JTrees and some other system widgets.
 FontUIResource getUserTextFont()
          Reports the font used within TextFields, EditorPanes, etc.
 FontUIResource getWindowTitleFont()
          Reports the font used in window titles of JInternalFrames.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LandSerfLookAndFeel.LSFontTheme

public LandSerfLookAndFeel.LSFontTheme()
Creates the LandSerf theme.

Method Detail

getControlTextFont

public FontUIResource getControlTextFont()
Reports the font usually used by labels.

Specified by:
getControlTextFont in interface com.incors.plaf.alloy.AlloyFontTheme
Returns:
Font used by labels and some control widgets.

getMenuTextFont

public FontUIResource getMenuTextFont()
Reports the font used in menus and menuItems.

Specified by:
getMenuTextFont in interface com.incors.plaf.alloy.AlloyFontTheme
Returns:
Menu font.

getSystemTextFont

public FontUIResource getSystemTextFont()
Reports the font used by nodes in JTrees and some other system widgets.

Specified by:
getSystemTextFont in interface com.incors.plaf.alloy.AlloyFontTheme
Returns:
JTree node font.

getSubTextFont

public FontUIResource getSubTextFont()
Reports the font used by some labels. This usually matches that used by the menus.

Specified by:
getSubTextFont in interface com.incors.plaf.alloy.AlloyFontTheme
Returns:
Font used by some labels.

getUserTextFont

public FontUIResource getUserTextFont()
Reports the font used within TextFields, EditorPanes, etc.

Specified by:
getUserTextFont in interface com.incors.plaf.alloy.AlloyFontTheme
Returns:
Text component font.

getWindowTitleFont

public FontUIResource getWindowTitleFont()
Reports the font used in window titles of JInternalFrames.

Specified by:
getWindowTitleFont in interface com.incors.plaf.alloy.AlloyFontTheme
Returns:
Window title font.


Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009