public class PgsTheme extends DefaultMetalTheme
| Constructor and Description |
|---|
PgsTheme(Color p1,
Color p2,
Color p3,
Color s1,
Color s2,
Color s3)
Convert a common MetalTheme to a PgsTheme (using colors only)
/// (seems to be not required!)/
public PgsTheme(MetalTheme t) {
this(
t.getName(),
t.getPrimaryControlDarkShadow(), t.getPrimaryControlShadow(), t.getPrimaryControl(),
t.getControlDarkShadow(), t.getControlShadow(), t.getControl(),
t.getControlInfo(), t.getControlHighlight()
);
}//
|
PgsTheme(Color p1,
Color p2,
Color p3,
Color s1,
Color s2,
Color s3,
Color bl,
Color wh) |
PgsTheme(String name) |
PgsTheme(String themeName,
Color p1,
Color p2,
Color p3,
Color s1,
Color s2,
Color s3) |
PgsTheme(String themeName,
Color p1,
Color p2,
Color p3,
Color s1,
Color s2,
Color s3,
Color bl,
Color wh) |
PgsTheme(String themeName,
Color p1,
Color p2,
Color p3,
Color s1,
Color s2,
Color s3,
Color bl,
Color wh,
Object[] d) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomEntriesToTable(UIDefaults table) |
ColorUIResource |
getBlack() |
FontUIResource |
getMenuTextFont() |
String |
getName() |
ColorUIResource |
getPrimary1() |
ColorUIResource |
getPrimary2() |
ColorUIResource |
getPrimary3() |
ColorUIResource |
getSecondary1() |
ColorUIResource |
getSecondary2() |
ColorUIResource |
getSecondary3() |
ColorUIResource |
getWhite() |
void |
setBlack(ColorUIResource black) |
void |
setDefaults(Object[] defaults) |
void |
setMenuFont(FontUIResource menuFont) |
void |
setName(String name) |
void |
setPrimary1(ColorUIResource primary1) |
void |
setPrimary2(ColorUIResource primary2) |
void |
setPrimary3(ColorUIResource primary3) |
void |
setSecondary1(ColorUIResource secondary1) |
void |
setSecondary2(ColorUIResource secondary2) |
void |
setSecondary3(ColorUIResource secondary3) |
void |
setWhite(ColorUIResource white) |
getControlTextFont, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFontgetAcceleratorForeground, getAcceleratorSelectedForeground, 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, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForegroundpublic PgsTheme(String name)
public PgsTheme(Color p1, Color p2, Color p3, Color s1, Color s2, Color s3)
public PgsTheme(String themeName, Color p1, Color p2, Color p3, Color s1, Color s2, Color s3)
public PgsTheme(Color p1, Color p2, Color p3, Color s1, Color s2, Color s3, Color bl, Color wh)
public PgsTheme(String themeName, Color p1, Color p2, Color p3, Color s1, Color s2, Color s3, Color bl, Color wh)
public void setBlack(ColorUIResource black)
public void setDefaults(Object[] defaults)
public void setMenuFont(FontUIResource menuFont)
public void setName(String name)
public void setPrimary1(ColorUIResource primary1)
public void setPrimary2(ColorUIResource primary2)
public void setPrimary3(ColorUIResource primary3)
public void setSecondary1(ColorUIResource secondary1)
public void setSecondary2(ColorUIResource secondary2)
public void setSecondary3(ColorUIResource secondary3)
public void setWhite(ColorUIResource white)
public ColorUIResource getPrimary1()
getPrimary1 in class DefaultMetalThemepublic ColorUIResource getPrimary2()
getPrimary2 in class DefaultMetalThemepublic ColorUIResource getPrimary3()
getPrimary3 in class DefaultMetalThemepublic ColorUIResource getSecondary1()
getSecondary1 in class DefaultMetalThemepublic ColorUIResource getSecondary2()
getSecondary2 in class DefaultMetalThemepublic ColorUIResource getSecondary3()
getSecondary3 in class DefaultMetalThemepublic ColorUIResource getBlack()
getBlack in class MetalThemepublic ColorUIResource getWhite()
getWhite in class MetalThemepublic String getName()
getName in class DefaultMetalThemepublic FontUIResource getMenuTextFont()
getMenuTextFont in class DefaultMetalThemepublic void addCustomEntriesToTable(UIDefaults table)
addCustomEntriesToTable in class MetalThemeCopyright © 2015. All rights reserved.