org.universAAL.ui.gui.swing.bluesteelLAF
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.gui.swing.bluesteelLAF.ColorLAF

public class ColorLAF
extends DefaultMetalTheme

Color and Font Theme for MetalTheme.

Author:
pabril

Field Summary
static int SEPARATOR_SPACE
           
 
Constructor Summary
ColorLAF()
           
 
Method Summary
protected  Color getAlert()
           
 Color getBackMM()
           
protected  ColorUIResource getBlack()
          
 Font getbold()
           
 Color getborderLineMM()
           
 FontUIResource getControlTextFont()
          
static Color getDialogGradiendBackground1()
           
static Color getDialogGradiendBackground2()
           
 Color getfont()
           
 Color getFontColor()
           
 String getFontFamily()
           
 int getFontSizeBase()
           
 int getGap()
           
 Font getHeaderFont()
           
 Font getLabelFont()
          get the fontColor for any label.
 int getLabelIconSize()
           
 Color getOrange()
           
static Color getOverSytem()
           
 Font getplain()
           
protected  ColorUIResource getPrimary1()
          
protected  ColorUIResource getPrimary2()
          
protected  ColorUIResource getPrimary3()
          
protected  ColorUIResource getSecondary1()
          
protected  ColorUIResource getSecondary2()
          
protected  ColorUIResource getSecondary3()
          
static Color getSystemBarBackground()
           
protected  ColorUIResource getWhite()
          
 void setFontColor(Color fontColor)
           
 void setFontFamily(String fontFamily)
           
 void setFontSizeBase(int fontSizeBase)
           
 void setGap(int gap)
           
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getMenuTextFont, getName, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, 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, 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

SEPARATOR_SPACE

public static int SEPARATOR_SPACE
Constructor Detail

ColorLAF

public ColorLAF()
Method Detail

getAlert

protected Color getAlert()

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

getOrange

public Color getOrange()

getBackMM

public Color getBackMM()

getborderLineMM

public Color getborderLineMM()

getfont

public Color getfont()

getbold

public Font getbold()

getplain

public Font getplain()

getHeaderFont

public Font getHeaderFont()

getLabelFont

public Font getLabelFont()
get the fontColor for any label.

Returns:
the Font to use in labels

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

getFontFamily

public String getFontFamily()

setFontFamily

public void setFontFamily(String fontFamily)

getFontSizeBase

public int getFontSizeBase()

setFontSizeBase

public void setFontSizeBase(int fontSizeBase)

getFontColor

public Color getFontColor()

setFontColor

public void setFontColor(Color fontColor)

getGap

public int getGap()
Returns:

setGap

public void setGap(int gap)
Parameters:
gap - the gap to set

getDialogGradiendBackground1

public static Color getDialogGradiendBackground1()

getDialogGradiendBackground2

public static Color getDialogGradiendBackground2()

getSystemBarBackground

public static Color getSystemBarBackground()

getOverSytem

public static Color getOverSytem()

getLabelIconSize

public int getLabelIconSize()


Copyright © 2014 universAAL Consortium. All Rights Reserved.