com.cbse.jeasy
Class JEXMLMetalTheme

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by javax.swing.plaf.metal.DefaultMetalTheme
          extended by com.cbse.jeasy.JEXMLMetalTheme

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

A class that extends DefaultMetalTheme. It is created by JETheme See JETheme for more details.

Version:
%I%, %G%
Author:
H.Pfohl

Constructor Summary
JEXMLMetalTheme(java.lang.String s)
          Reads the properties from a XML string.
 
Method Summary
 javax.swing.plaf.ColorUIResource getAcceleratorForeground()
           
 javax.swing.plaf.ColorUIResource getAcceleratorSelectedForeground()
           
 javax.swing.plaf.ColorUIResource getBlack()
           
 javax.swing.plaf.ColorUIResource getControl()
           
 javax.swing.plaf.ColorUIResource getControlDarkShadow()
           
 javax.swing.plaf.ColorUIResource getControlDisabled()
           
 javax.swing.plaf.ColorUIResource getControlHighlight()
           
 javax.swing.plaf.ColorUIResource getControlInfo()
           
 javax.swing.plaf.ColorUIResource getControlShadow()
           
 javax.swing.plaf.ColorUIResource getControlTextColor()
           
 javax.swing.plaf.FontUIResource getControlTextFont()
           
 javax.swing.plaf.ColorUIResource getDesktopColor()
           
 javax.swing.plaf.ColorUIResource getFocusColor()
           
 javax.swing.plaf.ColorUIResource getHighlightedTextColor()
           
 javax.swing.plaf.ColorUIResource getInactiveControlTextColor()
           
 javax.swing.plaf.ColorUIResource getInactiveSystemTextColor()
           
 javax.swing.plaf.ColorUIResource getMenuBackground()
           
 javax.swing.plaf.ColorUIResource getMenuDisabledForeground()
           
 javax.swing.plaf.ColorUIResource getMenuForeground()
           
 javax.swing.plaf.ColorUIResource getMenuSelectedBackground()
           
 javax.swing.plaf.ColorUIResource getMenuSelectedForeground()
           
 javax.swing.plaf.FontUIResource getMenuTextFont()
           
 java.lang.String getName()
           
 javax.swing.plaf.ColorUIResource getPrimary1()
           
 javax.swing.plaf.ColorUIResource getPrimary2()
           
 javax.swing.plaf.ColorUIResource getPrimary3()
           
 javax.swing.plaf.ColorUIResource getPrimaryControl()
           
 javax.swing.plaf.ColorUIResource getPrimaryControlDarkShadow()
           
 javax.swing.plaf.ColorUIResource getPrimaryControlHighlight()
           
 javax.swing.plaf.ColorUIResource getPrimaryControlInfo()
           
 javax.swing.plaf.ColorUIResource getPrimaryControlShadow()
           
 javax.swing.plaf.ColorUIResource getSecondary1()
           
 javax.swing.plaf.ColorUIResource getSecondary2()
           
 javax.swing.plaf.ColorUIResource getSecondary3()
           
 javax.swing.plaf.ColorUIResource getSeparatorBackground()
           
 javax.swing.plaf.ColorUIResource getSeparatorForeground()
           
 javax.swing.plaf.FontUIResource getSubTextFont()
           
 javax.swing.plaf.ColorUIResource getSystemTextColor()
           
 javax.swing.plaf.FontUIResource getSystemTextFont()
           
 javax.swing.plaf.ColorUIResource getTextHighlightColor()
           
 javax.swing.plaf.ColorUIResource getUserTextColor()
           
 javax.swing.plaf.FontUIResource getUserTextFont()
           
 javax.swing.plaf.ColorUIResource getWhite()
           
 javax.swing.plaf.ColorUIResource getWindowBackground()
           
 javax.swing.plaf.ColorUIResource getWindowTitleBackground()
           
 javax.swing.plaf.FontUIResource getWindowTitleFont()
           
 javax.swing.plaf.ColorUIResource getWindowTitleForeground()
           
 javax.swing.plaf.ColorUIResource getWindowTitleInactiveBackground()
           
 javax.swing.plaf.ColorUIResource getWindowTitleInactiveForeground()
           
 void update(java.lang.String s)
          Reads the properties from a XML string and sets the colors and fonts.
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JEXMLMetalTheme

public JEXMLMetalTheme(java.lang.String s)
Reads the properties from a XML string.

Parameters:
s - contains properties and values
See Also:
JE#PropertyString
Method Detail

update

public void update(java.lang.String s)
Reads the properties from a XML string and sets the colors and fonts.

Parameters:
s - contains properties and values
See Also:
JE#PropertyString

getName

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

getAcceleratorForeground

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

getAcceleratorSelectedForeground

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

getBlack

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

getControlDarkShadow

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

getControlDisabled

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

getControlHighlight

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

getControlInfo

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

getControl

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

getControlShadow

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

getControlTextColor

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

getControlTextFont

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

getDesktopColor

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

getFocusColor

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

getHighlightedTextColor

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

getInactiveControlTextColor

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

getInactiveSystemTextColor

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

getMenuBackground

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

getMenuDisabledForeground

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

getMenuForeground

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

getMenuSelectedBackground

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

getMenuSelectedForeground

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

getMenuTextFont

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

getPrimary1

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

getPrimary2

public javax.swing.plaf.ColorUIResource getPrimary2()
Overrides:
getPrimary2 in class javax.swing.plaf.metal.DefaultMetalTheme

getPrimary3

public javax.swing.plaf.ColorUIResource getPrimary3()
Overrides:
getPrimary3 in class javax.swing.plaf.metal.DefaultMetalTheme

getPrimaryControlDarkShadow

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

getPrimaryControlHighlight

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

getPrimaryControlInfo

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

getPrimaryControl

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

getPrimaryControlShadow

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

getSecondary1

public javax.swing.plaf.ColorUIResource getSecondary1()
Overrides:
getSecondary1 in class javax.swing.plaf.metal.DefaultMetalTheme

getSecondary2

public javax.swing.plaf.ColorUIResource getSecondary2()
Overrides:
getSecondary2 in class javax.swing.plaf.metal.DefaultMetalTheme

getSecondary3

public javax.swing.plaf.ColorUIResource getSecondary3()
Overrides:
getSecondary3 in class javax.swing.plaf.metal.DefaultMetalTheme

getSeparatorBackground

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

getSeparatorForeground

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

getSubTextFont

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

getSystemTextColor

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

getSystemTextFont

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

getTextHighlightColor

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

getUserTextColor

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

getUserTextFont

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

getWhite

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

getWindowBackground

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

getWindowTitleBackground

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

getWindowTitleForeground

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

getWindowTitleFont

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

getWindowTitleInactiveBackground

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

getWindowTitleInactiveForeground

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