com.vaadin.ui.themes.
Class Reindeer
java.lang.Object
com.vaadin.ui.themes.BaseTheme
com.vaadin.ui.themes.Reindeer
- extends BaseTheme
public class Reindeer
Field Summary | |
---|---|
static String |
BUTTON_DEFAULT
Default action style for buttons (the button that should get activated when the user presses 'enter' in a form). |
static String |
BUTTON_PRIMARY
Deprecated. Use BUTTON_DEFAULT instead |
static String |
BUTTON_SMALL
Small sized button, use for context specific actions for example |
static String |
LABEL_H1
Large font for main application headings |
static String |
LABEL_H2
Large font for different sections in the application |
static String |
LABEL_LIGHT
Deprecated. Use LABEL_SMALL instead. |
static String |
LABEL_SMALL
Small and a little lighter font |
static String |
LAYOUT_BLACK
Changes the background of a layout to almost black, and at the same time transforms contained components to their black style correspondents when available. |
static String |
LAYOUT_BLUE
Changes the background of a layout to a shade of blue. |
static String |
LAYOUT_WHITE
Changes the background of a layout to white. |
static String |
PANEL_LIGHT
Removes borders and background color from the panel |
static String |
SPLITPANEL_SMALL
Reduces the split handle to a minimal size (1 pixel) |
static String |
TABLE_BORDERLESS
Removes borders from the table |
static String |
TABLE_FULL_HEIGHT_FIELDS
Makes fields inside Table use their normal height instead of the reduced height defined for e.g. |
static String |
TABLE_STRONG
Makes the table headers dark and more prominent. |
static String |
TABSHEET_BAR
Deprecated. Use TABSHEET_SMALL instead. |
static String |
TABSHEET_BORDERLESS
Removes borders from the default tab sheet style. |
static String |
TABSHEET_HOVER_CLOSABLE
Makes the tab close buttons visible only when the user is hovering over the tab. |
static String |
TABSHEET_MINIMAL
Removes borders and background color from the tab sheet. |
static String |
TABSHEET_SELECTED_CLOSABLE
Makes the tab close buttons visible only when the tab is selected. |
static String |
TABSHEET_SMALL
Removes borders and background color from the tab sheet, and shows the tabs as a small bar. |
static String |
TEXTFIELD_SMALL
Small sized text field with small font |
static String |
THEME_NAME
|
static String |
WINDOW_BLACK
Makes the whole window black, and changes contained components in the same way as LAYOUT_BLACK does. |
static String |
WINDOW_LIGHT
Makes the whole window white and increases the font size of the title. |
Fields inherited from class com.vaadin.ui.themes.BaseTheme |
---|
BUTTON_LINK, TREE_CONNECTORS |
Constructor Summary | |
---|---|
Reindeer()
|
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 String THEME_NAME
See Also:
LABEL_H1
public static final String LABEL_H1
- See Also:
- Constant Field Values
Large font for main application headings
LABEL_H2
public static final String LABEL_H2
- See Also:
- Constant Field Values
Large font for different sections in the application
LABEL_SMALL
public static final String LABEL_SMALL
- See Also:
- Constant Field Values
Small and a little lighter font
LABEL_LIGHT
@Deprecated
public static final String LABEL_LIGHT
- See Also:
- Constant Field Values
Deprecated. Use LABEL_SMALL
instead.
BUTTON_DEFAULT
public static final String BUTTON_DEFAULT
- See Also:
- Constant Field Values
Default action style for buttons (the button that should get activated when the user presses 'enter' in a form). Use sparingly, only one default button per view should be visible.
BUTTON_PRIMARY
@Deprecated
public static final String BUTTON_PRIMARY
- See Also:
- Constant Field Values
Deprecated. Use BUTTON_DEFAULT
instead
BUTTON_SMALL
public static final String BUTTON_SMALL
- See Also:
- Constant Field Values
Small sized button, use for context specific actions for example
TEXTFIELD_SMALL
public static final String TEXTFIELD_SMALL
- See Also:
- Constant Field Values
Small sized text field with small font
PANEL_LIGHT
public static final String PANEL_LIGHT
- See Also:
- Constant Field Values
Removes borders and background color from the panel
SPLITPANEL_SMALL
public static final String SPLITPANEL_SMALL
- See Also:
- Constant Field Values
Reduces the split handle to a minimal size (1 pixel)
TABSHEET_BORDERLESS
public static final String TABSHEET_BORDERLESS
- See Also:
- Constant Field Values
Removes borders from the default tab sheet style.
TABSHEET_SMALL
public static final String TABSHEET_SMALL
- See Also:
- Constant Field Values
Removes borders and background color from the tab sheet, and shows the tabs as a small bar.
TABSHEET_BAR
@Deprecated
public static final String TABSHEET_BAR
- See Also:
- Constant Field Values
Deprecated. Use TABSHEET_SMALL
instead.
TABSHEET_MINIMAL
public static final String TABSHEET_MINIMAL
- See Also:
- Constant Field Values
Removes borders and background color from the tab sheet. The tabs are presented with minimal lines indicating the selected tab.
TABSHEET_HOVER_CLOSABLE
public static final String TABSHEET_HOVER_CLOSABLE
- See Also:
- Constant Field Values
Makes the tab close buttons visible only when the user is hovering over the tab.
TABSHEET_SELECTED_CLOSABLE
public static final String TABSHEET_SELECTED_CLOSABLE
- See Also:
- Constant Field Values
Makes the tab close buttons visible only when the tab is selected.
TABLE_BORDERLESS
public static final String TABLE_BORDERLESS
- See Also:
- Constant Field Values
Removes borders from the table
TABLE_STRONG
public static final String TABLE_STRONG
- See Also:
- Constant Field Values
Makes the table headers dark and more prominent.
LAYOUT_WHITE
public static final String LAYOUT_WHITE
- See Also:
- Constant Field Values
Changes the background of a layout to white. Applies to
VerticalLayout
, HorizontalLayout
, GridLayout
,
FormLayout
, CssLayout
, VerticalSplitPanel
and
HorizontalSplitPanel
.
Does not revert any contained components back to normal if some
parent layout has style LAYOUT_BLACK
applied.
LAYOUT_BLUE
public static final String LAYOUT_BLUE
- See Also:
- Constant Field Values
Changes the background of a layout to a shade of blue. Applies to
VerticalLayout
, HorizontalLayout
, GridLayout
,
FormLayout
, CssLayout
, VerticalSplitPanel
and
HorizontalSplitPanel
.
Does not revert any contained components back to normal if some
parent layout has style LAYOUT_BLACK
applied.
LAYOUT_BLACK
public static final String LAYOUT_BLACK
- See Also:
- Constant Field Values
Changes the background of a layout to almost black, and at the same time transforms contained components to their black style correspondents when available. At least texts, buttons, text fields, selects, date fields, tables and a few other component styles should change.
Applies to VerticalLayout
, HorizontalLayout
,
GridLayout
, FormLayout
and CssLayout
.
WINDOW_LIGHT
public static final String WINDOW_LIGHT
- See Also:
- Constant Field Values
Makes the whole window white and increases the font size of the title.
WINDOW_BLACK
public static final String WINDOW_BLACK
- See Also:
- Constant Field Values
Makes the whole window black, and changes contained components in the
same way as LAYOUT_BLACK
does.
TABLE_FULL_HEIGHT_FIELDS
public static final String TABLE_FULL_HEIGHT_FIELDS
- See Also:
- Constant Field Values
Makes fields inside Table use their normal height instead of the reduced height defined for e.g. TextField. This can be used to improve vertical alignment if higher components, e.g. ComboBox or PopupDateField are used in the Table.
Constructor Detail |
---|
Reindeer
public Reindeer()