org.skunk.dav.client.gui
Class LookAndFeel

java.lang.Object
  |
  +--javax.swing.plaf.metal.MetalTheme
        |
        +--javax.swing.plaf.metal.DefaultMetalTheme
              |
              +--org.skunk.dav.client.gui.LookAndFeel

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

very largely based on org.armedbear.j.DefaultLookAndFeel, copyright 2000 Peter Graves, which, like this software, is released under the GPL. The admirably sleek and eye-friendly l&f of his "j" editor is well worth emulating.


Constructor Summary
LookAndFeel()
           
 
Method Summary
 void addCustomEntriesToTable(javax.swing.UIDefaults table)
           
 javax.swing.plaf.FontUIResource getControlTextFont()
           
 javax.swing.plaf.FontUIResource getMenuTextFont()
           
protected  javax.swing.plaf.ColorUIResource getPrimary1()
           
 javax.swing.plaf.FontUIResource getSubTextFont()
           
 javax.swing.plaf.FontUIResource getSystemTextFont()
           
 javax.swing.plaf.FontUIResource getUserTextFont()
           
 javax.swing.plaf.FontUIResource getWindowTitleFont()
           
static void setLookAndFeel()
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getName, getPrimary2, getPrimary3, getSecondary1, getSecondary2, getSecondary3
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
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

LookAndFeel

public LookAndFeel()
Method Detail

setLookAndFeel

public static void setLookAndFeel()

addCustomEntriesToTable

public void addCustomEntriesToTable(javax.swing.UIDefaults table)
Overrides:
addCustomEntriesToTable in class javax.swing.plaf.metal.MetalTheme

getPrimary1

protected javax.swing.plaf.ColorUIResource getPrimary1()
Overrides:
getPrimary1 in class javax.swing.plaf.metal.DefaultMetalTheme

getControlTextFont

public javax.swing.plaf.FontUIResource getControlTextFont()
Overrides:
getControlTextFont 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

getMenuTextFont

public javax.swing.plaf.FontUIResource getMenuTextFont()
Overrides:
getMenuTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getWindowTitleFont

public javax.swing.plaf.FontUIResource getWindowTitleFont()
Overrides:
getWindowTitleFont in class javax.swing.plaf.metal.DefaultMetalTheme

getSubTextFont

public javax.swing.plaf.FontUIResource getSubTextFont()
Overrides:
getSubTextFont in class javax.swing.plaf.metal.DefaultMetalTheme