com.vaadin.ui.themes
Class BaseTheme

java.lang.Object
  extended by com.vaadin.ui.themes.BaseTheme
Direct Known Subclasses:
ChameleonTheme, LiferayTheme, Reindeer, Runo

public class BaseTheme
extends java.lang.Object

The Base theme is the foundation for all Vaadin themes. Although it is not necessary to use it as the starting point for all other themes, it is heavily encouraged, since it abstracts and hides away many necessary style properties that the Vaadin terminal expects and needs.

When creating your own theme, either extend this class and specify the styles implemented in your theme here, or extend some other theme that has a class file specified (e.g. Reindeer or Runo).

All theme class files should follow the convention of specifying the theme name as a string constant THEME_NAME.

Since:
6.3.0

Field Summary
static java.lang.String BUTTON_LINK
          Creates a button that looks like a regular hypertext link but still acts like a normal button.
static java.lang.String CLIP
          Clips the component so it will be constrained to its given size and not overflow.
static java.lang.String THEME_NAME
           
static java.lang.String TREE_CONNECTORS
          Adds the connector lines between a parent node and its child nodes to indicate the tree hierarchy better.
 
Constructor Summary
BaseTheme()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THEME_NAME

public static final java.lang.String THEME_NAME
See Also:
Constant Field Values

BUTTON_LINK

public static final java.lang.String BUTTON_LINK
Creates a button that looks like a regular hypertext link but still acts like a normal button.

See Also:
Constant Field Values

TREE_CONNECTORS

public static final java.lang.String TREE_CONNECTORS
Adds the connector lines between a parent node and its child nodes to indicate the tree hierarchy better.

See Also:
Constant Field Values

CLIP

public static final java.lang.String CLIP
Clips the component so it will be constrained to its given size and not overflow.

See Also:
Constant Field Values
Constructor Detail

BaseTheme

public BaseTheme()


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.