|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
net.sourceforge.mlf.metouia.MetouiaDefaultTheme
This class represents the default Metouia theme. Extend this class in order to creates themes compatible to the Metouia Look and Feel.
Constructor Summary | |
MetouiaDefaultTheme()
|
Method Summary | |
void |
addCustomEntriesToTable(javax.swing.UIDefaults table)
Adds some custom values to the defaults table. |
javax.swing.plaf.FontUIResource |
getControlTextFont()
Gets the Font of Labels in many cases. |
java.awt.Color |
getGradientReflection()
Gets the upper gradient color for components like JButton, JMenuBar and JProgressBar. |
java.awt.Color |
getGradientShadow()
Gets the lower gradient color for components like JButton, JMenuBar and JProgressBar. |
java.awt.Color |
getGradientTranslucentReflection()
Gets the transluscent variation of the upper gradient color for components like JButton, JMenuBar and JProgressBar. |
java.awt.Color |
getGradientTranslucentShadow()
Gets the transluscent variation of the lower gradient color for components like JButton, JMenuBar and JProgressBar. |
javax.swing.plaf.ColorUIResource |
getMenuSelectedBackground()
Gets the background color of a selected menu item. |
javax.swing.plaf.FontUIResource |
getMenuTextFont()
Gets the Font of Menus and MenuItems. |
java.lang.String |
getName()
Gets the name of this theme. |
javax.swing.plaf.ColorUIResource |
getPressedBackground()
Gets the background color of a pressed button. |
protected javax.swing.plaf.ColorUIResource |
getPrimary1()
Gets the first primary color. |
protected javax.swing.plaf.ColorUIResource |
getPrimary2()
Gets the second primary color. |
protected javax.swing.plaf.ColorUIResource |
getPrimary3()
Gets the third primary color. |
protected javax.swing.plaf.ColorUIResource |
getSecondary1()
Gets the first secondary color. |
protected javax.swing.plaf.ColorUIResource |
getSecondary2()
Gets the second secondary color. |
protected javax.swing.plaf.ColorUIResource |
getSecondary3()
Gets the third secondary color. |
javax.swing.plaf.ColorUIResource |
getSeparatorForeground()
Gets the foreground color of a separator (in menues etc.). |
javax.swing.plaf.FontUIResource |
getSystemTextFont()
Gets the Font of Nodes in JTrees. |
javax.swing.plaf.FontUIResource |
getUserTextFont()
Gets the Font in TextFields, EditorPanes, etc. |
javax.swing.plaf.FontUIResource |
getWindowTitleFont()
Gets the Font of the Title of JInternalFrames. |
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme |
getSubTextFont |
Methods inherited from class javax.swing.plaf.metal.MetalTheme |
getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, 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 |
public MetouiaDefaultTheme()
Method Detail |
public java.awt.Color getGradientReflection()
public java.awt.Color getGradientShadow()
public java.awt.Color getGradientTranslucentReflection()
public java.awt.Color getGradientTranslucentShadow()
public javax.swing.plaf.FontUIResource getControlTextFont()
public javax.swing.plaf.FontUIResource getMenuTextFont()
public javax.swing.plaf.FontUIResource getSystemTextFont()
public javax.swing.plaf.FontUIResource getUserTextFont()
public javax.swing.plaf.FontUIResource getWindowTitleFont()
public void addCustomEntriesToTable(javax.swing.UIDefaults table)
table
- The UI defaults table.public javax.swing.plaf.ColorUIResource getMenuSelectedBackground()
public javax.swing.plaf.ColorUIResource getSeparatorForeground()
public java.lang.String getName()
protected javax.swing.plaf.ColorUIResource getPrimary1()
protected javax.swing.plaf.ColorUIResource getPrimary2()
protected javax.swing.plaf.ColorUIResource getPrimary3()
protected javax.swing.plaf.ColorUIResource getSecondary1()
protected javax.swing.plaf.ColorUIResource getSecondary2()
protected javax.swing.plaf.ColorUIResource getSecondary3()
public javax.swing.plaf.ColorUIResource getPressedBackground()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |