net.sourceforge.mewt
Class Theme

java.lang.Object
  extended by net.sourceforge.mewt.Theme

public class Theme
extends java.lang.Object

The Class Theme.


Field Summary
static int COLOR_A_DARK
          The Constant COLOR_A_DARK.
static int COLOR_A_LIGHT
          The Constant COLOR_A_LIGHT.
static int COLOR_B_DARK
          The Constant COLOR_B_DARK.
static int COLOR_B_LIGHT
          The Constant COLOR_B_LIGHT.
static int COLOR_BACKGROUND
          The Constant COLOR_BACKGROUND.
static int COLOR_BORDER
          The Constant COLOR_BORDER.
static int COLOR_C_DARK
          The Constant COLOR_C_DARK.
static int COLOR_C_LIGHT
          The Constant COLOR_C_LIGHT.
static int COLOR_FOREGROUND
          The Constant COLOR_FOREGROUND.
static int COLOR_HIGHLIGHTED_BACKGROUND
          The Constant COLOR_HIGHLIGHTED_BACKGROUND.
static int COLOR_HIGHLIGHTED_BORDER
          The Constant COLOR_HIGHLIGHTED_BORDER.
static int COLOR_HIGHLIGHTED_FOREGROUND
          The Constant COLOR_HIGHLIGHTED_FOREGROUND.
static int COLOR_TITLE_BACKGROUND
          The Constant COLOR_TITLE_BACKGROUND.
static int COLOR_TITLE_FOREGROUND
          The Constant COLOR_TITLE_FOREGROUND.
 
Method Summary
 int getColor(int code)
          Gets the color.
 int getColorBlue(int code)
          Gets the color blue.
 int getColorDefault(int code)
          Gets the color default.
 int getColorUbuntu(int code)
          Gets the color ubuntu.
 javax.microedition.lcdui.Display getDisplay()
          Gets the display.
static Theme getTheme()
          Gets the theme.
 void setDisplay(javax.microedition.lcdui.Display display)
          Sets the display.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLOR_HIGHLIGHTED_FOREGROUND

public static final int COLOR_HIGHLIGHTED_FOREGROUND
The Constant COLOR_HIGHLIGHTED_FOREGROUND.

See Also:
Constant Field Values

COLOR_HIGHLIGHTED_BACKGROUND

public static final int COLOR_HIGHLIGHTED_BACKGROUND
The Constant COLOR_HIGHLIGHTED_BACKGROUND.

See Also:
Constant Field Values

COLOR_FOREGROUND

public static final int COLOR_FOREGROUND
The Constant COLOR_FOREGROUND.

See Also:
Constant Field Values

COLOR_BACKGROUND

public static final int COLOR_BACKGROUND
The Constant COLOR_BACKGROUND.

See Also:
Constant Field Values

COLOR_BORDER

public static final int COLOR_BORDER
The Constant COLOR_BORDER.

See Also:
Constant Field Values

COLOR_HIGHLIGHTED_BORDER

public static final int COLOR_HIGHLIGHTED_BORDER
The Constant COLOR_HIGHLIGHTED_BORDER.

See Also:
Constant Field Values

COLOR_TITLE_BACKGROUND

public static final int COLOR_TITLE_BACKGROUND
The Constant COLOR_TITLE_BACKGROUND.

See Also:
Constant Field Values

COLOR_TITLE_FOREGROUND

public static final int COLOR_TITLE_FOREGROUND
The Constant COLOR_TITLE_FOREGROUND.

See Also:
Constant Field Values

COLOR_A_LIGHT

public static final int COLOR_A_LIGHT
The Constant COLOR_A_LIGHT.

See Also:
Constant Field Values

COLOR_A_DARK

public static final int COLOR_A_DARK
The Constant COLOR_A_DARK.

See Also:
Constant Field Values

COLOR_B_LIGHT

public static final int COLOR_B_LIGHT
The Constant COLOR_B_LIGHT.

See Also:
Constant Field Values

COLOR_B_DARK

public static final int COLOR_B_DARK
The Constant COLOR_B_DARK.

See Also:
Constant Field Values

COLOR_C_LIGHT

public static final int COLOR_C_LIGHT
The Constant COLOR_C_LIGHT.

See Also:
Constant Field Values

COLOR_C_DARK

public static final int COLOR_C_DARK
The Constant COLOR_C_DARK.

See Also:
Constant Field Values
Method Detail

getTheme

public static Theme getTheme()
Gets the theme.

Returns:
the theme

getColor

public int getColor(int code)
Gets the color.

Parameters:
code - the code
Returns:
the color

getColorBlue

public int getColorBlue(int code)
Gets the color blue.

Parameters:
code - the code
Returns:
the color blue

getColorDefault

public int getColorDefault(int code)
Gets the color default.

Parameters:
code - the code
Returns:
the color default

getColorUbuntu

public int getColorUbuntu(int code)
Gets the color ubuntu.

Parameters:
code - the code
Returns:
the color ubuntu

getDisplay

public javax.microedition.lcdui.Display getDisplay()
Gets the display.

Returns:
the display

setDisplay

public void setDisplay(javax.microedition.lcdui.Display display)
Sets the display.

Parameters:
display - the new display