|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.metal.MetalTheme
com.ibm.di.admin.ProductTheme
public class ProductTheme
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProductTheme()
Method Detail |
---|
public Color getPrimary(int index)
index
- The new primary valuepublic void setPrimary(int index, Color c)
public Font getFont(int index)
public void setFont(int index, Font font)
public void setSecondary(int index, Color c)
index
- The new secondary valuec
- The new secondary valuepublic Color getSecondary(int index)
public String getName()
getName
in class MetalTheme
public FontUIResource getControlTextFont()
getControlTextFont
in class MetalTheme
public void setControlTextFont(Font font)
public FontUIResource getSystemTextFont()
getSystemTextFont
in class MetalTheme
public FontUIResource getUserTextFont()
getUserTextFont
in class MetalTheme
public FontUIResource getMenuTextFont()
getMenuTextFont
in class MetalTheme
public FontUIResource getWindowTitleFont()
getWindowTitleFont
in class MetalTheme
public FontUIResource getSubTextFont()
getSubTextFont
in class MetalTheme
protected ColorUIResource getPrimary1()
getPrimary1
in class MetalTheme
protected ColorUIResource getPrimary2()
getPrimary2
in class MetalTheme
protected ColorUIResource getPrimary3()
getPrimary3
in class MetalTheme
protected ColorUIResource getSecondary1()
getSecondary1
in class MetalTheme
protected ColorUIResource getSecondary2()
getSecondary2
in class MetalTheme
protected ColorUIResource getSecondary3()
getSecondary3
in class MetalTheme
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |