Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

novaworx.gui
Class DeepBlueTheme  view DeepBlueTheme download DeepBlueTheme.java

java.lang.Object
  extended byjavax.swing.plaf.metal.MetalTheme
      extended byjavax.swing.plaf.metal.DefaultMetalTheme
          extended bynovaworx.gui.DeepBlueTheme

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

Color scheme for the Swing Look & Feel.

The colors are as follows:
Primary 1    
Primary 2    
Primary 3    
Primary 4    
Secondary 1    
Secondary 2    
Secondary 3    


Field Summary
private  javax.swing.plaf.FontUIResource moControlFont
           
private  javax.swing.plaf.ColorUIResource moPrimaryColor1
           
private  javax.swing.plaf.ColorUIResource moPrimaryColor2
           
private  javax.swing.plaf.ColorUIResource moPrimaryColor3
           
private  javax.swing.plaf.ColorUIResource moPrimaryColor4
           
private  javax.swing.plaf.ColorUIResource moSecondaryColor1
           
private  javax.swing.plaf.ColorUIResource moSecondaryColor2
           
private  javax.swing.plaf.ColorUIResource moSecondaryColor3
           
 
Fields inherited from class javax.swing.plaf.metal.DefaultMetalTheme
 
Fields inherited from class javax.swing.plaf.metal.MetalTheme
 
Constructor Summary
DeepBlueTheme()
           
 
Method Summary
 javax.swing.plaf.ColorUIResource getAcceleratorSelectedForeground()
          Returns the accelerator selected foreground color.
 javax.swing.plaf.FontUIResource getControlTextFont()
          Returns the font used for text on controls.
 javax.swing.plaf.ColorUIResource getMenuSelectedForeground()
          Returns the foreground color for selected menu items.
 javax.swing.plaf.FontUIResource getMenuTextFont()
          Returns the font used for text in menus.
 java.lang.String getName()
          Returns the name of the theme.
protected  javax.swing.plaf.ColorUIResource getPrimary1()
          Returns the first primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getPrimary2()
          Returns the second primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getPrimary3()
          Returns the third primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getPrimary4()
           
protected  javax.swing.plaf.ColorUIResource getSecondary1()
          Returns the first secondary color for this theme.
protected  javax.swing.plaf.ColorUIResource getSecondary2()
          Returns the second secondary color for this theme.
protected  javax.swing.plaf.ColorUIResource getSecondary3()
          Returns the third secondary color for this theme.
 javax.swing.plaf.ColorUIResource getWindowTitleBackground()
          Returns the window title background color.
 javax.swing.plaf.FontUIResource getWindowTitleFont()
          Returns the font used for window titles.
 javax.swing.plaf.ColorUIResource getWindowTitleForeground()
          Returns the window title foreground color.
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getSubTextFont, getSystemTextFont, getUserTextFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moPrimaryColor1

private final javax.swing.plaf.ColorUIResource moPrimaryColor1

moPrimaryColor2

private final javax.swing.plaf.ColorUIResource moPrimaryColor2

moPrimaryColor3

private final javax.swing.plaf.ColorUIResource moPrimaryColor3

moPrimaryColor4

private final javax.swing.plaf.ColorUIResource moPrimaryColor4

moSecondaryColor1

private final javax.swing.plaf.ColorUIResource moSecondaryColor1

moSecondaryColor2

private final javax.swing.plaf.ColorUIResource moSecondaryColor2

moSecondaryColor3

private final javax.swing.plaf.ColorUIResource moSecondaryColor3

moControlFont

private javax.swing.plaf.FontUIResource moControlFont
Constructor Detail

DeepBlueTheme

public DeepBlueTheme()
Method Detail

getName

public java.lang.String getName()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the name of the theme.


getPrimary1

protected javax.swing.plaf.ColorUIResource getPrimary1()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the first primary color for this theme.


getPrimary2

protected javax.swing.plaf.ColorUIResource getPrimary2()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the second primary color for this theme.


getPrimary3

protected javax.swing.plaf.ColorUIResource getPrimary3()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the third primary color for this theme.


getPrimary4

protected javax.swing.plaf.ColorUIResource getPrimary4()

getSecondary1

protected javax.swing.plaf.ColorUIResource getSecondary1()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the first secondary color for this theme.


getSecondary2

protected javax.swing.plaf.ColorUIResource getSecondary2()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the second secondary color for this theme.


getSecondary3

protected javax.swing.plaf.ColorUIResource getSecondary3()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the third secondary color for this theme.


getAcceleratorSelectedForeground

public javax.swing.plaf.ColorUIResource getAcceleratorSelectedForeground()
Description copied from class: javax.swing.plaf.metal.MetalTheme
Returns the accelerator selected foreground color. The default implementation returns the color from MetalTheme.getBlack()>MetalTheme.getBlack() 55 .


getMenuSelectedForeground

public javax.swing.plaf.ColorUIResource getMenuSelectedForeground()
Description copied from class: javax.swing.plaf.metal.MetalTheme
Returns the foreground color for selected menu items. The default implementation returns the value from MetalTheme.getBlack()>MetalTheme.getBlack() 55 .


getWindowTitleBackground

public javax.swing.plaf.ColorUIResource getWindowTitleBackground()
Description copied from class: javax.swing.plaf.metal.MetalTheme
Returns the window title background color. The default implementation returns the color from MetalTheme.getPrimary3()>MetalTheme.getPrimary3() 55 .


getWindowTitleForeground

public javax.swing.plaf.ColorUIResource getWindowTitleForeground()
Description copied from class: javax.swing.plaf.metal.MetalTheme
Returns the window title foreground color. The default implementation returns the color from MetalTheme.getBlack()>MetalTheme.getBlack() 55 .


getControlTextFont

public javax.swing.plaf.FontUIResource getControlTextFont()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the font used for text on controls. In this case, the font is FontUIResource("Dialog", Font.BOLD, 12).


getMenuTextFont

public javax.swing.plaf.FontUIResource getMenuTextFont()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the font used for text in menus. In this case, the font is FontUIResource("Dialog", Font.BOLD, 12).


getWindowTitleFont

public javax.swing.plaf.FontUIResource getWindowTitleFont()
Description copied from class: javax.swing.plaf.metal.DefaultMetalTheme
Returns the font used for window titles. In this case, the font is FontUIResource("Dialog", Font.BOLD, 12).