org.jogre.common.util
Class JogreLookAndFeel

java.lang.Object
  extended byorg.jogre.common.util.AbstractProperties
      extended byorg.jogre.common.util.JogreLookAndFeel

public class JogreLookAndFeel
extends AbstractProperties

This class is used to create a Jogre look-and-feel.

Version:
Alpha 0.2.1
Author:
Bob Marks

Field Summary
static String BLUE_LOOK_AND_FEEL
          Blue look and feel.
static String DEFAULT_LOOK_AND_FEEL
          Default look and feel.
 
Fields inherited from class org.jogre.common.util.AbstractProperties
rb
 
Method Summary
 String get(String key)
          Over write the get method.
static JogreLookAndFeel getInstance()
          Accessor to singleton instance of the ServerResources class
 void setLookAndFeel(String lookAndFeel)
          Set the look and feel.
 
Methods inherited from class org.jogre.common.util.AbstractProperties
get, getBoolean, getBoolean, getInt, getInt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LOOK_AND_FEEL

public static final String DEFAULT_LOOK_AND_FEEL
Default look and feel.

See Also:
Constant Field Values

BLUE_LOOK_AND_FEEL

public static final String BLUE_LOOK_AND_FEEL
Blue look and feel.

See Also:
Constant Field Values
Method Detail

getInstance

public static JogreLookAndFeel getInstance()
Accessor to singleton instance of the ServerResources class

Returns:
instance of this properties class.

setLookAndFeel

public void setLookAndFeel(String lookAndFeel)
Set the look and feel.

Parameters:
lookAndFeel -

get

public String get(String key)
Over write the get method.

Overrides:
get in class AbstractProperties
Parameters:
key - Key which should start with the current look and feel and be seperated with a dot. e.g jogre.bgcolor
Returns:
Value from specified key.