com.ibm.di.admin
Class ProductTheme

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by com.ibm.di.admin.ProductTheme

public class ProductTheme
extends MetalTheme

This Class is used to describe and swap the colors used by Config Editor.


Constructor Summary
ProductTheme()
          Constructor for the ProductTheme object
 
Method Summary
 FontUIResource getControlTextFont()
          Gets the controlTextFont attribute of the ProductTheme object
 Font getFont(int index)
          Set/Get font items
 FontUIResource getMenuTextFont()
          Gets the menuTextFont attribute of the ProductTheme object
 String getName()
          Gets the name attribute of the ProductTheme object
 Color getPrimary(int index)
          Sets the primary attribute of the ProductTheme object.
protected  ColorUIResource getPrimary1()
          Gets the primary1 attribute of the ProductTheme object
protected  ColorUIResource getPrimary2()
          Gets the primary2 attribute of the ProductTheme object
protected  ColorUIResource getPrimary3()
          Gets the primary3 attribute of the ProductTheme object
 Color getSecondary(int index)
           
protected  ColorUIResource getSecondary1()
          Gets the secondary1 attribute of the ProductTheme object
protected  ColorUIResource getSecondary2()
          Gets the secondary2 attribute of the ProductTheme object
protected  ColorUIResource getSecondary3()
          Gets the secondary3 attribute of the ProductTheme object
 FontUIResource getSubTextFont()
          Gets the subTextFont attribute of the ProductTheme object
 FontUIResource getSystemTextFont()
          Gets the systemTextFont attribute of the ProductTheme object
 FontUIResource getUserTextFont()
          Gets the userTextFont attribute of the ProductTheme object
 FontUIResource getWindowTitleFont()
          Gets the windowTitleFont attribute of the ProductTheme object
 void setControlTextFont(Font font)
           
 void setFont(int index, Font font)
           
 void setPrimary(int index, Color c)
           
 void setSecondary(int index, Color c)
          Sets the secondary attribute of the ProductTheme object
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, 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, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductTheme

public ProductTheme()
Constructor for the ProductTheme object

Method Detail

getPrimary

public Color getPrimary(int index)
Sets the primary attribute of the ProductTheme object.

Parameters:
index - The new primary value

setPrimary

public void setPrimary(int index,
                       Color c)

getFont

public Font getFont(int index)
Set/Get font items


setFont

public void setFont(int index,
                    Font font)

setSecondary

public void setSecondary(int index,
                         Color c)
Sets the secondary attribute of the ProductTheme object

Parameters:
index - The new secondary value
c - The new secondary value

getSecondary

public Color getSecondary(int index)

getName

public String getName()
Gets the name attribute of the ProductTheme object

Specified by:
getName in class MetalTheme
Returns:
The name value

getControlTextFont

public FontUIResource getControlTextFont()
Gets the controlTextFont attribute of the ProductTheme object

Specified by:
getControlTextFont in class MetalTheme
Returns:
The controlTextFont value

setControlTextFont

public void setControlTextFont(Font font)

getSystemTextFont

public FontUIResource getSystemTextFont()
Gets the systemTextFont attribute of the ProductTheme object

Specified by:
getSystemTextFont in class MetalTheme
Returns:
The systemTextFont value

getUserTextFont

public FontUIResource getUserTextFont()
Gets the userTextFont attribute of the ProductTheme object

Specified by:
getUserTextFont in class MetalTheme
Returns:
The userTextFont value

getMenuTextFont

public FontUIResource getMenuTextFont()
Gets the menuTextFont attribute of the ProductTheme object

Specified by:
getMenuTextFont in class MetalTheme
Returns:
The menuTextFont value

getWindowTitleFont

public FontUIResource getWindowTitleFont()
Gets the windowTitleFont attribute of the ProductTheme object

Specified by:
getWindowTitleFont in class MetalTheme
Returns:
The windowTitleFont value

getSubTextFont

public FontUIResource getSubTextFont()
Gets the subTextFont attribute of the ProductTheme object

Specified by:
getSubTextFont in class MetalTheme
Returns:
The subTextFont value

getPrimary1

protected ColorUIResource getPrimary1()
Gets the primary1 attribute of the ProductTheme object

Specified by:
getPrimary1 in class MetalTheme
Returns:
The primary1 value

getPrimary2

protected ColorUIResource getPrimary2()
Gets the primary2 attribute of the ProductTheme object

Specified by:
getPrimary2 in class MetalTheme
Returns:
The primary2 value

getPrimary3

protected ColorUIResource getPrimary3()
Gets the primary3 attribute of the ProductTheme object

Specified by:
getPrimary3 in class MetalTheme
Returns:
The primary3 value

getSecondary1

protected ColorUIResource getSecondary1()
Gets the secondary1 attribute of the ProductTheme object

Specified by:
getSecondary1 in class MetalTheme
Returns:
The secondary1 value

getSecondary2

protected ColorUIResource getSecondary2()
Gets the secondary2 attribute of the ProductTheme object

Specified by:
getSecondary2 in class MetalTheme
Returns:
The secondary2 value

getSecondary3

protected ColorUIResource getSecondary3()
Gets the secondary3 attribute of the ProductTheme object

Specified by:
getSecondary3 in class MetalTheme
Returns:
The secondary3 value