|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.ui.themes.BaseTheme
public class BaseTheme
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
.
Field Summary | |
---|---|
static String |
BUTTON_LINK
Creates a button that looks like a regular hypertext link but still acts like a normal button. |
static String |
CLIP
Clips the component so it will be constrained to its given size and not overflow. |
static String |
PANEL_LIGHT
Deprecated. Base theme does not implement this style, but it is defined here since it has been a part of the framework before multiple themes were available. Use the constant provided by the theme you're using instead, e.g. Reindeer.PANEL_LIGHT or Runo.PANEL_LIGHT . |
static String |
THEME_NAME
|
static 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 |
---|
public static final String THEME_NAME
public static final String BUTTON_LINK
@Deprecated public static final String PANEL_LIGHT
Reindeer.PANEL_LIGHT
or Runo.PANEL_LIGHT
.
public static final String TREE_CONNECTORS
public static final String CLIP
Constructor Detail |
---|
public BaseTheme()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |