org.universAAL.ui.handler.gui.swing.classic
Class ColorLAF

Package class diagram package ColorLAF
java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by javax.swing.plaf.metal.DefaultMetalTheme
          extended by org.universAAL.ui.handler.gui.swing.classic.ColorLAF

public class ColorLAF
extends DefaultMetalTheme

Color and Font Theme for MetalTheme.

Author:
pabril

Field Summary
protected static ColorUIResource BLACK
           
protected static ColorUIResource BLACK_BRIGHT
           
protected static ColorUIResource BLACK_DARK
           
protected static ColorUIResource BLACK_MEDIUM
           
protected static ImageIcon button_focused
           
protected static ImageIcon button_normal
           
protected static ImageIcon button_pressed
           
static int FONT_SIZE_BASE
           
 FontUIResource fontBold
           
 FontUIResource fontItalic
           
 FontUIResource fontPlain
           
protected static ColorUIResource OLD_GREEN_BRIGHT
           
protected static ColorUIResource OLD_GREEN_DARK
           
protected static ColorUIResource OLD_GREEN_MEDIUM
           
protected static ColorUIResource WHITE
           
protected static ColorUIResource WHITE_BRIGHT
           
protected static ColorUIResource WHITE_DARK
           
protected static ColorUIResource WHITE_MEDIUM
           
 
Constructor Summary
ColorLAF()
           
 
Method Summary
protected  ColorUIResource getBlack()
           
 ColorUIResource getControlHighlight()
           
 ColorUIResource getControlTextColor()
           
 FontUIResource getControlTextFont()
           
 ColorUIResource getFocusColor()
           
 ColorUIResource getHighlightedTextColor()
           
 ColorUIResource getInactiveControlTextColor()
           
 ColorUIResource getInactiveSystemTextColor()
           
 String getName()
          Returns the name of the theme.
protected  ColorUIResource getPrimary1()
           
protected  ColorUIResource getPrimary2()
           
protected  ColorUIResource getPrimary3()
           
protected  ColorUIResource getSecondary1()
           
protected  ColorUIResource getSecondary2()
           
protected  ColorUIResource getSecondary3()
           
 ColorUIResource getSystemTextColor()
           
 FontUIResource getSystemTextFont()
           
 ColorUIResource getTextHighlightColor()
           
 ColorUIResource getUserTextColor()
           
 FontUIResource getUserTextFont()
           
protected  ColorUIResource getWhite()
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getMenuTextFont, getSubTextFont, getWindowTitleFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlInfo, getControlShadow, getDesktopColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OLD_GREEN_BRIGHT

protected static final ColorUIResource OLD_GREEN_BRIGHT

OLD_GREEN_MEDIUM

protected static final ColorUIResource OLD_GREEN_MEDIUM

OLD_GREEN_DARK

protected static final ColorUIResource OLD_GREEN_DARK

WHITE_BRIGHT

protected static final ColorUIResource WHITE_BRIGHT

WHITE_MEDIUM

protected static final ColorUIResource WHITE_MEDIUM

WHITE_DARK

protected static final ColorUIResource WHITE_DARK

BLACK_BRIGHT

protected static final ColorUIResource BLACK_BRIGHT

BLACK_MEDIUM

protected static final ColorUIResource BLACK_MEDIUM

BLACK_DARK

protected static final ColorUIResource BLACK_DARK

BLACK

protected static final ColorUIResource BLACK

WHITE

protected static final ColorUIResource WHITE

FONT_SIZE_BASE

public static final int FONT_SIZE_BASE
See Also:
Constant Field Values

fontBold

public FontUIResource fontBold

fontPlain

public FontUIResource fontPlain

fontItalic

public FontUIResource fontItalic

button_normal

protected static final ImageIcon button_normal

button_focused

protected static final ImageIcon button_focused

button_pressed

protected static final ImageIcon button_pressed
Constructor Detail

ColorLAF

public ColorLAF()
Method Detail

getName

public String getName()
Returns the name of the theme.

Overrides:
getName in class DefaultMetalTheme
Returns:
"uaal Default"

getPrimary1

protected ColorUIResource getPrimary1()
Overrides:
getPrimary1 in class DefaultMetalTheme

getPrimary2

protected ColorUIResource getPrimary2()
Overrides:
getPrimary2 in class DefaultMetalTheme

getPrimary3

protected ColorUIResource getPrimary3()
Overrides:
getPrimary3 in class DefaultMetalTheme

getSecondary1

protected ColorUIResource getSecondary1()
Overrides:
getSecondary1 in class DefaultMetalTheme

getSecondary2

protected ColorUIResource getSecondary2()
Overrides:
getSecondary2 in class DefaultMetalTheme

getSecondary3

protected ColorUIResource getSecondary3()
Overrides:
getSecondary3 in class DefaultMetalTheme

getBlack

protected ColorUIResource getBlack()
Overrides:
getBlack in class MetalTheme

getWhite

protected ColorUIResource getWhite()
Overrides:
getWhite in class MetalTheme

getControlTextFont

public FontUIResource getControlTextFont()
Overrides:
getControlTextFont in class DefaultMetalTheme

getControlTextColor

public ColorUIResource getControlTextColor()
Overrides:
getControlTextColor in class MetalTheme

getInactiveControlTextColor

public ColorUIResource getInactiveControlTextColor()
Overrides:
getInactiveControlTextColor in class MetalTheme

getSystemTextFont

public FontUIResource getSystemTextFont()
Overrides:
getSystemTextFont in class DefaultMetalTheme

getSystemTextColor

public ColorUIResource getSystemTextColor()
Overrides:
getSystemTextColor in class MetalTheme

getInactiveSystemTextColor

public ColorUIResource getInactiveSystemTextColor()
Overrides:
getInactiveSystemTextColor in class MetalTheme

getUserTextFont

public FontUIResource getUserTextFont()
Overrides:
getUserTextFont in class DefaultMetalTheme

getUserTextColor

public ColorUIResource getUserTextColor()
Overrides:
getUserTextColor in class MetalTheme

getTextHighlightColor

public ColorUIResource getTextHighlightColor()
Overrides:
getTextHighlightColor in class MetalTheme

getHighlightedTextColor

public ColorUIResource getHighlightedTextColor()
Overrides:
getHighlightedTextColor in class MetalTheme

getFocusColor

public ColorUIResource getFocusColor()
Overrides:
getFocusColor in class MetalTheme

getControlHighlight

public ColorUIResource getControlHighlight()
Overrides:
getControlHighlight in class MetalTheme


Copyright © 2014 universAAL Consortium. All Rights Reserved.