jMobileCore toolkit

com.jmobilecore.ui.core
Class Style

java.lang.Object
  extended by com.jmobilecore.ui.core.Style

public class Style
extends java.lang.Object

Sets the style for the application. This style is blue/white/black for color screens

Author:
Greg Gridin

Field Summary
static int ARROW_COLOR
          Default color for scrollbar arrows
static int BACKGROUND_COLOR
          Default background color
static javax.microedition.lcdui.Font BOLD_LARGE
          Bold style large size font
static javax.microedition.lcdui.Font BOLD_MEDIUM
          Bold style medium size font
static javax.microedition.lcdui.Font BOLD_SMALL
          Bold style small size font
static int BORDER_COLOR
          Color to use for component borders (example: textfield component)
static int CF_H_GAP
          Custom fields horizontal gap, in pixels, between block and separator
static int CURSOR_BACKGROUND_COLOR
          Default color for cursor background
static int CURSOR_TEXT_COLOR
          Default color for cursor
static int FOCUSED_BACKGROUND_COLOR
          Default color for focused backgrounds
static int FOCUSED_TEXT_COLOR
          Default color for focused texts
static int H_GAP
          Horizontal gap, in pixels, between components
static javax.microedition.lcdui.Font HEADER_FONT
          Default font to use for header text
static javax.microedition.lcdui.Font PLAIN_LARGE
          Plain style large size font
static javax.microedition.lcdui.Font PLAIN_MEDIUM
          Plain style medium size font
static javax.microedition.lcdui.Font PLAIN_SMALL
          Plain style small size font
static boolean SCROLLABLE_TEXTFIELD
          Type of text fields
static javax.microedition.lcdui.Font SOFTKEY_FONT
          Default font to use for soft key text
static int SOFTKEYBAR_BACKGROUND_COLOR
          Default color for SoftKeyBar background
static int SOFTKEYBAR_TEXT_COLOR
          Default color for SoftKeyBar text
static int TEXT_COLOR
          Default color for texts
static javax.microedition.lcdui.Font TEXT_FIELD_FONT
          Default font to use for text fields
static javax.microedition.lcdui.Font TEXT_FONT
          Default font to use for text
static int TITLE_BACKGROUND_COLOR
          Default color for screen title background
static int TITLE_TEXT_COLOR
          Default color for screen title text
static int V_GAP
          Vertical gap, in pixels, between components
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARROW_COLOR

public static final int ARROW_COLOR
Default color for scrollbar arrows

See Also:
Constant Field Values

BACKGROUND_COLOR

public static final int BACKGROUND_COLOR
Default background color

See Also:
Constant Field Values

BOLD_LARGE

public static final javax.microedition.lcdui.Font BOLD_LARGE
Bold style large size font


BOLD_MEDIUM

public static final javax.microedition.lcdui.Font BOLD_MEDIUM
Bold style medium size font


BOLD_SMALL

public static final javax.microedition.lcdui.Font BOLD_SMALL
Bold style small size font


BORDER_COLOR

public static final int BORDER_COLOR
Color to use for component borders (example: textfield component)

See Also:
Constant Field Values

CF_H_GAP

public static final int CF_H_GAP
Custom fields horizontal gap, in pixels, between block and separator

See Also:
Constant Field Values

CURSOR_BACKGROUND_COLOR

public static final int CURSOR_BACKGROUND_COLOR
Default color for cursor background

See Also:
Constant Field Values

CURSOR_TEXT_COLOR

public static final int CURSOR_TEXT_COLOR
Default color for cursor

See Also:
Constant Field Values

FOCUSED_BACKGROUND_COLOR

public static final int FOCUSED_BACKGROUND_COLOR
Default color for focused backgrounds

See Also:
Constant Field Values

FOCUSED_TEXT_COLOR

public static final int FOCUSED_TEXT_COLOR
Default color for focused texts

See Also:
Constant Field Values

H_GAP

public static final int H_GAP
Horizontal gap, in pixels, between components

See Also:
Constant Field Values

HEADER_FONT

public static final javax.microedition.lcdui.Font HEADER_FONT
Default font to use for header text


PLAIN_LARGE

public static final javax.microedition.lcdui.Font PLAIN_LARGE
Plain style large size font


PLAIN_MEDIUM

public static final javax.microedition.lcdui.Font PLAIN_MEDIUM
Plain style medium size font


PLAIN_SMALL

public static final javax.microedition.lcdui.Font PLAIN_SMALL
Plain style small size font


SCROLLABLE_TEXTFIELD

public static final boolean SCROLLABLE_TEXTFIELD
Type of text fields

See Also:
Constant Field Values

SOFTKEY_FONT

public static final javax.microedition.lcdui.Font SOFTKEY_FONT
Default font to use for soft key text


SOFTKEYBAR_BACKGROUND_COLOR

public static final int SOFTKEYBAR_BACKGROUND_COLOR
Default color for SoftKeyBar background

See Also:
Constant Field Values

SOFTKEYBAR_TEXT_COLOR

public static final int SOFTKEYBAR_TEXT_COLOR
Default color for SoftKeyBar text

See Also:
Constant Field Values

TEXT_COLOR

public static final int TEXT_COLOR
Default color for texts

See Also:
Constant Field Values

TEXT_FIELD_FONT

public static final javax.microedition.lcdui.Font TEXT_FIELD_FONT
Default font to use for text fields


TEXT_FONT

public static final javax.microedition.lcdui.Font TEXT_FONT
Default font to use for text


TITLE_BACKGROUND_COLOR

public static final int TITLE_BACKGROUND_COLOR
Default color for screen title background

See Also:
Constant Field Values

TITLE_TEXT_COLOR

public static final int TITLE_TEXT_COLOR
Default color for screen title text

See Also:
Constant Field Values

V_GAP

public static final int V_GAP
Vertical gap, in pixels, between components

See Also:
Constant Field Values

jMobileCore toolkit