Static Public Member Functions | Static Public Attributes | Static Private Attributes
edu.tum.cs.ias.knowrob.vis.themes.GreyTheme Class Reference

List of all members.

Static Public Member Functions

static ControlP5 applyStyle (ControlP5 controlP5)
static Tab applyStyle (Tab tab)
static Textfield applyStyle (Textfield t)
static Button applyStyle (Button b)
static Group applyStyle (Group g)
static Knob applyStyle (Knob k)
static ListBox applyStyle (ListBox lb, int itemHeight)
static Textlabel applyStyle (Textlabel l)
static MultiListButton applyStyle (MultiListButton b)
static MultiList applyStyle (MultiList lb)
static final int color (int gray)
static final int color (int r, int g, int b)

Static Public Attributes

static ControlFont cfont = null
static int colorActive = color(200)
static int colorBackground = color(80)
static int colorForeground = color(180)
static int colorGroupBackground = color(50)

Static Private Attributes

static PFont dejavuFont = null

Detailed Description

Define styles for different GUI elements to keep them at a central location and allow easy re-definition.

Author:
tenorth

Definition at line 25 of file GreyTheme.java.


Member Function Documentation

static ControlP5 edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( ControlP5  controlP5) [inline, static]

Definition at line 45 of file GreyTheme.java.

static Tab edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( Tab  tab) [inline, static]

Definition at line 57 of file GreyTheme.java.

static Textfield edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( Textfield  t) [inline, static]

Definition at line 66 of file GreyTheme.java.

static Button edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( Button  b) [inline, static]

Definition at line 71 of file GreyTheme.java.

static Group edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( Group  g) [inline, static]

Definition at line 75 of file GreyTheme.java.

static Knob edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( Knob  k) [inline, static]

Definition at line 82 of file GreyTheme.java.

static ListBox edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( ListBox  lb,
int  itemHeight 
) [inline, static]

Definition at line 89 of file GreyTheme.java.

static Textlabel edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( Textlabel  l) [inline, static]

Definition at line 101 of file GreyTheme.java.

static MultiListButton edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( MultiListButton  b) [inline, static]

Apply the default styling to a MultiListButton

Parameters:
bThe button to be styled
Returns:
the same button instance with updated properties

Definition at line 113 of file GreyTheme.java.

static MultiList edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.applyStyle ( MultiList  lb) [inline, static]

Apply the default styling to a MultiList

Parameters:
bThe list to be styled
Returns:
the same list instance with updated properties

Definition at line 126 of file GreyTheme.java.

static final int edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.color ( int  gray) [inline, static]

Definition at line 137 of file GreyTheme.java.

static final int edu.tum.cs.ias.knowrob.vis.themes.GreyTheme.color ( int  r,
int  g,
int  b 
) [inline, static]

Definition at line 142 of file GreyTheme.java.


Member Data Documentation

Font for ControlP5

Definition at line 36 of file GreyTheme.java.

Definition at line 41 of file GreyTheme.java.

Definition at line 39 of file GreyTheme.java.

Definition at line 40 of file GreyTheme.java.

Definition at line 42 of file GreyTheme.java.

Font for drawing text

Definition at line 31 of file GreyTheme.java.


The documentation for this class was generated from the following file:


mod_vis
Author(s): Moritz Tenorth, Jakob Engel
autogenerated on Sat Dec 28 2013 17:09:50