processing.app
Class Theme

java.lang.Object
  extended by processing.app.Theme

public class Theme
extends java.lang.Object

Storage class for theme settings. This was separated from the Preferences class for 1.0 so that the coloring wouldn't conflict with previous releases and to make way for future ability to customize.


Constructor Summary
Theme()
           
 
Method Summary
static java.lang.String get(java.lang.String attribute)
           
static boolean getBoolean(java.lang.String attribute)
           
static java.awt.Color getColor(java.lang.String name)
           
static java.lang.String getDefault(java.lang.String attribute)
           
static java.awt.Font getFont(java.lang.String attr)
           
static int getInteger(java.lang.String attribute)
           
static SyntaxStyle getStyle(java.lang.String what)
           
static void set(java.lang.String attribute, java.lang.String value)
           
static void setBoolean(java.lang.String attribute, boolean value)
           
static void setColor(java.lang.String attr, java.awt.Color what)
           
static void setInteger(java.lang.String key, int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Theme

public Theme()
Method Detail

get

public static java.lang.String get(java.lang.String attribute)

getDefault

public static java.lang.String getDefault(java.lang.String attribute)

set

public static void set(java.lang.String attribute,
                       java.lang.String value)

getBoolean

public static boolean getBoolean(java.lang.String attribute)

setBoolean

public static void setBoolean(java.lang.String attribute,
                              boolean value)

getInteger

public static int getInteger(java.lang.String attribute)

setInteger

public static void setInteger(java.lang.String key,
                              int value)

getColor

public static java.awt.Color getColor(java.lang.String name)

setColor

public static void setColor(java.lang.String attr,
                            java.awt.Color what)

getFont

public static java.awt.Font getFont(java.lang.String attr)

getStyle

public static SyntaxStyle getStyle(java.lang.String what)