|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Theme
org.apache.pivot.wtk.skin.terra.TerraTheme
public final class TerraTheme
Terra theme.
Field Summary | |
---|---|
static String |
LOCATION_PROPERTY
|
Fields inherited from class org.apache.pivot.wtk.Theme |
---|
BOLD_KEY, componentSkinMap, ITALIC_KEY, NAME_KEY, PROVIDER_NAME, SIZE_KEY |
Constructor Summary | |
---|---|
TerraTheme()
|
Method Summary | |
---|---|
static Color |
brighten(Color color)
Returns a brighter version of the specified color. |
static Color |
darken(Color color)
Returns a darker version of the specified color. |
Color |
getColor(int index)
Gets the color found at the specified index in the theme's color palette. |
Font |
getFont()
Gets the theme's font. |
Image |
getMessageIcon(MessageType messageType)
Gets the image that this theme uses to represent messages of the specified type. |
Image |
getSmallMessageIcon(MessageType messageType)
Gets the "small" image that this theme uses to represent messages of the specified type. |
void |
setFont(Font font)
Sets the theme's font. |
Methods inherited from class org.apache.pivot.wtk.Theme |
---|
deriveFont, get, getSkinClass, getTheme, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LOCATION_PROPERTY
Constructor Detail |
---|
public TerraTheme()
Method Detail |
---|
public Font getFont()
getFont
in class Theme
public void setFont(Font font)
setFont
in class Theme
public Color getColor(int index)
index
- A color palette index, from 0 to 23.public Image getMessageIcon(MessageType messageType)
getMessageIcon
in class Theme
public Image getSmallMessageIcon(MessageType messageType)
getSmallMessageIcon
in class Theme
public static Color brighten(Color color)
public static Color darken(Color color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |