com.b3dgs.lionengine.utility
Class Theme

java.lang.Object
  extended by com.b3dgs.lionengine.utility.Theme

public class Theme
extends java.lang.Object


Field Summary
static int GTK
          GTK theme.
static int METAL
          Metal theme.
static int MOTIF
          Motif theme.
static int SUB_METAL_DEFAULT
          Only in case of METAL theme.
static int SUB_METAL_OCEAN
          Only in case of METAL theme.
static int SYSTEM
          Current OS theme.
 
Method Summary
static void set(int theme)
          Set the java frame theme.
static void set(int theme, int subTheme)
          Set the java frame theme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METAL

public static final int METAL
Metal theme.

See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
Current OS theme.

See Also:
Constant Field Values

MOTIF

public static final int MOTIF
Motif theme.

See Also:
Constant Field Values

GTK

public static final int GTK
GTK theme.

See Also:
Constant Field Values

SUB_METAL_DEFAULT

public static final int SUB_METAL_DEFAULT
Only in case of METAL theme.

See Also:
Constant Field Values

SUB_METAL_OCEAN

public static final int SUB_METAL_OCEAN
Only in case of METAL theme.

See Also:
Constant Field Values
Method Detail

set

public static void set(int theme)
Set the java frame theme.

Parameters:
theme - main theme (System, Motif, GTK).
See Also:
Theme

set

public static void set(int theme,
                       int subTheme)
Set the java frame theme.

Parameters:
theme - main theme (Metal, System, Motif, GTK).
subTheme - (for Metal, DefaultMetal, Ocean).
See Also:
Theme