Methods Summary |
---|
public void | addCustomEntriesToTable(javax.swing.UIDefaults table)Adds values specific to this theme to the defaults table. This method
is invoked when the look and feel defaults are obtained from
{@code MetalLookAndFeel}.
This implementation does nothing; it is provided for subclasses
that wish to customize the defaults table.
|
public javax.swing.plaf.ColorUIResource | getAcceleratorForeground()Returns the accelerator foreground color. This
returns the value of {@code getPrimary1()}. return getPrimary1();
|
public javax.swing.plaf.ColorUIResource | getAcceleratorSelectedForeground()Returns the accelerator selected foreground color. This
returns the value of {@code getBlack()}. return getBlack();
|
protected javax.swing.plaf.ColorUIResource | getBlack()Returns the black color. This returns opaque black
({@code 0xFF000000}). return black;
|
public javax.swing.plaf.ColorUIResource | getControl()Returns the control color. This returns the value of
{@code getSecondary3()}. return getSecondary3();
|
public javax.swing.plaf.ColorUIResource | getControlDarkShadow()Returns the control dark shadow color. This returns
the value of {@code getSecondary1()}. return getSecondary1();
|
public javax.swing.plaf.ColorUIResource | getControlDisabled()Returns the control disabled color. This returns
the value of {@code getSecondary2()}. return getSecondary2();
|
public javax.swing.plaf.ColorUIResource | getControlHighlight()Returns the control highlight color. This returns
the value of {@code getWhite()}. return getWhite();
|
public javax.swing.plaf.ColorUIResource | getControlInfo()Returns the control info color. This returns
the value of {@code getBlack()}. return getBlack();
|
public javax.swing.plaf.ColorUIResource | getControlShadow()Returns the control shadow color. This returns
the value of {@code getSecondary2()}. return getSecondary2();
|
public javax.swing.plaf.ColorUIResource | getControlTextColor()Returns the control text color. This returns the value of
{@code getControlInfo()}. return getControlInfo();
|
public abstract javax.swing.plaf.FontUIResource | getControlTextFont()Returns the control text font.
|
public javax.swing.plaf.ColorUIResource | getDesktopColor()Returns the desktop color. This returns the value of
{@code getPrimary2()}. return getPrimary2();
|
public javax.swing.plaf.ColorUIResource | getFocusColor()Returns the focus color. This returns the value of
{@code getPrimary2()}. return getPrimary2();
|
public javax.swing.plaf.ColorUIResource | getHighlightedTextColor()Returns the highlighted text color. This returns the value of
{@code getControlTextColor()}. return getControlTextColor();
|
public javax.swing.plaf.ColorUIResource | getInactiveControlTextColor()Returns the inactive control text color. This returns the value of
{@code getControlDisabled()}. return getControlDisabled();
|
public javax.swing.plaf.ColorUIResource | getInactiveSystemTextColor()Returns the inactive system text color. This returns the value of
{@code getSecondary2()}. return getSecondary2();
|
public javax.swing.plaf.ColorUIResource | getMenuBackground()Returns the menu background color. This
returns the value of {@code getSecondary3()}. return getSecondary3();
|
public javax.swing.plaf.ColorUIResource | getMenuDisabledForeground()Returns the menu disabled foreground color. This
returns the value of {@code getSecondary2()}. return getSecondary2();
|
public javax.swing.plaf.ColorUIResource | getMenuForeground()Returns the menu foreground color. This
returns the value of {@code getBlack()}. return getBlack();
|
public javax.swing.plaf.ColorUIResource | getMenuSelectedBackground()Returns the menu selected background color. This
returns the value of {@code getPrimary2()}. return getPrimary2();
|
public javax.swing.plaf.ColorUIResource | getMenuSelectedForeground()Returns the menu selected foreground color. This
returns the value of {@code getBlack()}. return getBlack();
|
public abstract javax.swing.plaf.FontUIResource | getMenuTextFont()Returns the menu text font.
|
public abstract java.lang.String | getName()Returns the name of this theme.
|
protected abstract javax.swing.plaf.ColorUIResource | getPrimary1()Returns the primary 1 color.
|
protected abstract javax.swing.plaf.ColorUIResource | getPrimary2()Returns the primary 2 color.
|
protected abstract javax.swing.plaf.ColorUIResource | getPrimary3()Returns the primary 3 color.
|
public javax.swing.plaf.ColorUIResource | getPrimaryControl()Returns the primary control color. This returns
the value of {@code getPrimary3()}. return getPrimary3();
|
public javax.swing.plaf.ColorUIResource | getPrimaryControlDarkShadow()Returns the primary control dark shadow color. This
returns the value of {@code getPrimary1()}. return getPrimary1();
|
public javax.swing.plaf.ColorUIResource | getPrimaryControlHighlight()Returns the primary control highlight color. This
returns the value of {@code getWhite()}. return getWhite();
|
public javax.swing.plaf.ColorUIResource | getPrimaryControlInfo()Returns the primary control info color. This
returns the value of {@code getBlack()}. return getBlack();
|
public javax.swing.plaf.ColorUIResource | getPrimaryControlShadow()Returns the primary control shadow color. This returns
the value of {@code getPrimary2()}. return getPrimary2();
|
protected abstract javax.swing.plaf.ColorUIResource | getSecondary1()Returns the secondary 1 color.
|
protected abstract javax.swing.plaf.ColorUIResource | getSecondary2()Returns the secondary 2 color.
|
protected abstract javax.swing.plaf.ColorUIResource | getSecondary3()Returns the secondary 3 color.
|
public javax.swing.plaf.ColorUIResource | getSeparatorBackground()Returns the separator background color. This
returns the value of {@code getWhite()}. return getWhite();
|
public javax.swing.plaf.ColorUIResource | getSeparatorForeground()Returns the separator foreground color. This
returns the value of {@code getPrimary1()}. return getPrimary1();
|
public abstract javax.swing.plaf.FontUIResource | getSubTextFont()Returns the sub-text font.
|
public javax.swing.plaf.ColorUIResource | getSystemTextColor()Returns the system text color. This returns the value of
{@code getBlack()}. return getBlack();
|
public abstract javax.swing.plaf.FontUIResource | getSystemTextFont()Returns the system text font.
|
public javax.swing.plaf.ColorUIResource | getTextHighlightColor()Returns the text highlight color. This returns the value of
{@code getPrimary3()}. return getPrimary3();
|
public javax.swing.plaf.ColorUIResource | getUserTextColor()Returns the user text color. This returns the value of
{@code getBlack()}. return getBlack();
|
public abstract javax.swing.plaf.FontUIResource | getUserTextFont()Returns the user text font.
|
protected javax.swing.plaf.ColorUIResource | getWhite()Returns the white color. This returns opaque white
({@code 0xFFFFFFFF}).
// these are blue in Metal Default Theme
// these are gray in Metal Default Theme
return white;
|
public javax.swing.plaf.ColorUIResource | getWindowBackground()Returns the window background color. This returns the value of
{@code getWhite()}. return getWhite();
|
public javax.swing.plaf.ColorUIResource | getWindowTitleBackground()Returns the window title background color. This returns the value of
{@code getPrimary3()}. return getPrimary3();
|
public abstract javax.swing.plaf.FontUIResource | getWindowTitleFont()Returns the window title font.
|
public javax.swing.plaf.ColorUIResource | getWindowTitleForeground()Returns the window title foreground color. This returns the value of
{@code getBlack()}. return getBlack();
|
public javax.swing.plaf.ColorUIResource | getWindowTitleInactiveBackground()Returns the window title inactive background color. This
returns the value of {@code getSecondary3()}. return getSecondary3();
|
public javax.swing.plaf.ColorUIResource | getWindowTitleInactiveForeground()Returns the window title inactive foreground color. This
returns the value of {@code getBlack()}. return getBlack();
|
void | install()This is invoked when a MetalLookAndFeel is installed and about to
start using this theme. When we can add API this should be nuked
in favor of DefaultMetalTheme overriding addCustomEntriesToTable.
|
boolean | isSystemTheme()Returns true if this is a theme provided by the core platform.
return false;
|