jgnash.ui.plaf.theme
Class CDETheme

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by javax.swing.plaf.metal.DefaultMetalTheme
          extended by jgnash.ui.plaf.theme.CDETheme

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

Metal theme that tries to look like the CDE/Motif look and feel

Version:
$Id$
Author:
Craig Cavanaugh

Field Summary
private  javax.swing.plaf.ColorUIResource controlShadow
           
private  javax.swing.plaf.ColorUIResource darkBlue
           
(package private)  javax.swing.plaf.FontUIResource menuText
           
private  javax.swing.plaf.ColorUIResource primary1
           
private  javax.swing.plaf.ColorUIResource primary2
           
private  javax.swing.plaf.ColorUIResource primary3
           
private  javax.swing.plaf.ColorUIResource redBorder
           
private  javax.swing.plaf.ColorUIResource secondary1
           
private  javax.swing.plaf.ColorUIResource secondary2
           
private  javax.swing.plaf.ColorUIResource secondary3
           
 
Constructor Summary
CDETheme()
           
 
Method Summary
 void addCustomEntriesToTable(javax.swing.UIDefaults table)
           
 javax.swing.plaf.ColorUIResource getControlShadow()
           
 javax.swing.plaf.FontUIResource getControlTextFont()
           
 javax.swing.plaf.FontUIResource getMenuTextFont()
           
 java.lang.String getName()
           
protected  javax.swing.plaf.ColorUIResource getPrimary1()
           
protected  javax.swing.plaf.ColorUIResource getPrimary2()
           
protected  javax.swing.plaf.ColorUIResource getPrimary3()
           
protected  javax.swing.plaf.ColorUIResource getSecondary1()
           
protected  javax.swing.plaf.ColorUIResource getSecondary2()
           
protected  javax.swing.plaf.ColorUIResource getSecondary3()
           
 javax.swing.plaf.ColorUIResource getWindowBackground()
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

primary1

private final javax.swing.plaf.ColorUIResource primary1

primary2

private final javax.swing.plaf.ColorUIResource primary2

primary3

private final javax.swing.plaf.ColorUIResource primary3

secondary1

private final javax.swing.plaf.ColorUIResource secondary1

secondary2

private final javax.swing.plaf.ColorUIResource secondary2

secondary3

private final javax.swing.plaf.ColorUIResource secondary3

darkBlue

private final javax.swing.plaf.ColorUIResource darkBlue

redBorder

private final javax.swing.plaf.ColorUIResource redBorder

controlShadow

private final javax.swing.plaf.ColorUIResource controlShadow

menuText

javax.swing.plaf.FontUIResource menuText
Constructor Detail

CDETheme

public CDETheme()
Method Detail

addCustomEntriesToTable

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

getName

public java.lang.String getName()
Overrides:
getName in class javax.swing.plaf.metal.DefaultMetalTheme

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

getWindowBackground

public javax.swing.plaf.ColorUIResource getWindowBackground()
Overrides:
getWindowBackground in class javax.swing.plaf.metal.MetalTheme

getControlShadow

public javax.swing.plaf.ColorUIResource getControlShadow()
Overrides:
getControlShadow in class javax.swing.plaf.metal.MetalTheme

getMenuTextFont

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

getControlTextFont

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