com.vaadin.ui.themes.
Class ChameleonTheme
- java.lang.Object
-
- com.vaadin.ui.themes.BaseTheme
-
- com.vaadin.ui.themes.ChameleonTheme
-
public class ChameleonTheme extends BaseTheme
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCORDION_OPAQUE
Makes the accordion background opaque (non-transparent)
static String
BUTTON_BIG
Big button, use to get more attention for the button action
static String
BUTTON_BORDERLESS
Removes all graphics from the button, leaving only the caption and the icon visible.
static String
BUTTON_DEFAULT
Default action style for buttons (the button that gets activated when user presses 'enter' in a form).
static String
BUTTON_DOWN
Makes the button look like it is pressed down.
static String
BUTTON_ICON_ON_RIGHT
Places the button icon on the right side of the caption.
static String
BUTTON_ICON_ON_TOP
Places the button icon on top of the caption.
static String
BUTTON_ICON_ONLY
Removes the button caption and only shows its icon
static String
BUTTON_SMALL
Small sized button, use for context specific actions for example
static String
BUTTON_TALL
Adds more padding on the top and on the bottom of the button.
static String
BUTTON_WIDE
Adds more padding on the sides of the button.
static String
COMBOBOX_SEARCH
Adds a magnifier icon on the left side of the fields text
static String
COMBOBOX_SELECT_BUTTON
Adds a magnifier icon on the left side of the fields text
static String
COMPOUND_CSSLAYOUT_TOOLBAR
Adds a toolbar-like background for the layout, and aligns Buttons and Segments horizontally.
static String
COMPOUND_HORIZONTAL_LAYOUT_SEGMENT
Creates a context for a segment button control.
static String
COMPOUND_HORIZONTAL_LAYOUT_SEGMENT_ALTERNATE
Use this mixin-style in combination with the
COMPOUND_HORIZONTAL_LAYOUT_SEGMENT
style to make buttons with the "down" style use the themes alternate color (e.g.static String
COMPOUND_LAYOUT_SIDEBAR_MENU
Creates an iTunes-like menu from a CssLayout or a VerticalLayout.
static String
DATEFIELD_BIG
Large sized date field with big font
static String
DATEFIELD_SMALL
Small sized date field with small font
static String
LABEL_BIG
Big font for important or emphasized texts
static String
LABEL_COLOR
Adds color to the text (usually the alternate color of the theme)
static String
LABEL_ERROR
Adds an error icon on the left side and a red background to the label
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_H3
Font for sub-section headers
static String
LABEL_H4
Font for paragraphs headers
static String
LABEL_LOADING
Adds a spinner icon on the left side of the label
static String
LABEL_SMALL
Small and a little lighter font
static String
LABEL_TINY
Very small and lighter font for things such as footnotes and component specific informations.
static String
LABEL_WARNING
Adds a warning icon on the left side and a yellow background to the label
static String
PANEL_BORDERLESS
Removes borders and background color from the panel
static String
PANEL_BUBBLE
Adds a more vibrant header for the panel, using the alternate color of the theme, and adds slight rounded corners (not supported in all browsers)
static String
PANEL_LIGHT
Removes borders and background color from the panel
static String
PROGRESS_INDICATOR_BIG
Increases the height of the progress bar.
static String
PROGRESS_INDICATOR_INDETERMINATE_BAR
Displays an indeterminate progress indicator as a bar with animated background stripes.
static String
PROGRESS_INDICATOR_SMALL
Reduces the height of the progress bar
static String
SELECT_BIG
Large sized select with big font
static String
SELECT_SMALL
Small sized select with small font
static String
SPLITPANEL_SMALL
Reduces the split handle to a minimal size (1 pixel)
static String
TABLE_BIG
Makes the column header and content font size bigger inside the table
static String
TABLE_BORDERLESS
Removes borders and background color from the table
static String
TABLE_SMALL
Makes the column header and content font size smaller inside the table
static String
TABLE_STRIPED
Adds a light alternate background color to even rows in the table.
static String
TABSHEET_BORDERLESS
Removes borders and background color from the tab sheet
static String
TEXTFIELD_BIG
Large sized text field with big font
static String
TEXTFIELD_SEARCH
Adds a magnifier icon on the left side of the fields text
static String
TEXTFIELD_SMALL
Small sized text field with small font
static String
THEME_NAME
static String
WINDOW_OPAQUE
Sub-window style that makes the window background opaque (i.e.
-
Fields inherited from class com.vaadin.ui.themes.BaseTheme
BUTTON_LINK, CLIP, TREE_CONNECTORS
-
-
Constructor Summary
Constructors Constructor Description ChameleonTheme()
-
-
-
Field Detail
-
THEME_NAME
public static final String THEME_NAME
See Also:
-
LABEL_H1
public static final String LABEL_H1
Large font for main application headings
See Also:
-
LABEL_H2
public static final String LABEL_H2
Large font for different sections in the application
See Also:
-
LABEL_H3
public static final String LABEL_H3
Font for sub-section headers
See Also:
-
LABEL_H4
public static final String LABEL_H4
Font for paragraphs headers
See Also:
-
LABEL_BIG
public static final String LABEL_BIG
Big font for important or emphasized texts
See Also:
-
LABEL_SMALL
public static final String LABEL_SMALL
Small and a little lighter font
See Also:
-
LABEL_TINY
public static final String LABEL_TINY
Very small and lighter font for things such as footnotes and component specific informations. Use carefully, since this style will usually reduce legibility.
See Also:
-
LABEL_COLOR
public static final String LABEL_COLOR
Adds color to the text (usually the alternate color of the theme)
See Also:
-
LABEL_WARNING
public static final String LABEL_WARNING
Adds a warning icon on the left side and a yellow background to the label
See Also:
-
LABEL_ERROR
public static final String LABEL_ERROR
Adds an error icon on the left side and a red background to the label
See Also:
-
LABEL_LOADING
public static final String LABEL_LOADING
Adds a spinner icon on the left side of the label
See Also:
-
BUTTON_DEFAULT
public static final String BUTTON_DEFAULT
Default action style for buttons (the button that gets activated when user presses 'enter' in a form). Use sparingly, only one default button per screen should be visible.
See Also:
-
BUTTON_SMALL
public static final String BUTTON_SMALL
Small sized button, use for context specific actions for example
See Also:
-
BUTTON_BIG
public static final String BUTTON_BIG
Big button, use to get more attention for the button action
See Also:
-
BUTTON_WIDE
public static final String BUTTON_WIDE
Adds more padding on the sides of the button. Makes it easier for the user to hit the button.
See Also:
-
BUTTON_TALL
public static final String BUTTON_TALL
Adds more padding on the top and on the bottom of the button. Makes it easier for the user to hit the button.
See Also:
-
BUTTON_BORDERLESS
public static final String BUTTON_BORDERLESS
Removes all graphics from the button, leaving only the caption and the icon visible. Useful for making icon-only buttons and toolbar buttons.
See Also:
-
BUTTON_ICON_ON_TOP
public static final String BUTTON_ICON_ON_TOP
Places the button icon on top of the caption. By default the icon is on the left side of the button caption.
See Also:
-
BUTTON_ICON_ON_RIGHT
public static final String BUTTON_ICON_ON_RIGHT
Places the button icon on the right side of the caption. By default the icon is on the left side of the button caption.
See Also:
-
BUTTON_ICON_ONLY
public static final String BUTTON_ICON_ONLY
Removes the button caption and only shows its icon
See Also:
-
BUTTON_DOWN
public static final String BUTTON_DOWN
Makes the button look like it is pressed down. Useful for creating a toggle button.
See Also:
-
TEXTFIELD_SMALL
public static final String TEXTFIELD_SMALL
Small sized text field with small font
See Also:
-
TEXTFIELD_BIG
public static final String TEXTFIELD_BIG
Large sized text field with big font
See Also:
-
TEXTFIELD_SEARCH
public static final String TEXTFIELD_SEARCH
Adds a magnifier icon on the left side of the fields text
See Also:
-
SELECT_SMALL
public static final String SELECT_SMALL
Small sized select with small font
See Also:
-
SELECT_BIG
public static final String SELECT_BIG
Large sized select with big font
See Also:
-
COMBOBOX_SEARCH
public static final String COMBOBOX_SEARCH
Adds a magnifier icon on the left side of the fields text
See Also:
-
COMBOBOX_SELECT_BUTTON
public static final String COMBOBOX_SELECT_BUTTON
Adds a magnifier icon on the left side of the fields text
See Also:
-
DATEFIELD_SMALL
public static final String DATEFIELD_SMALL
Small sized date field with small font
See Also:
-
DATEFIELD_BIG
public static final String DATEFIELD_BIG
Large sized date field with big font
See Also:
-
PANEL_BORDERLESS
public static final String PANEL_BORDERLESS
Removes borders and background color from the panel
See Also:
-
PANEL_BUBBLE
public static final String PANEL_BUBBLE
Adds a more vibrant header for the panel, using the alternate color of the theme, and adds slight rounded corners (not supported in all browsers)
See Also:
-
PANEL_LIGHT
public static final String PANEL_LIGHT
Removes borders and background color from the panel
See Also:
-
SPLITPANEL_SMALL
public static final String SPLITPANEL_SMALL
Reduces the split handle to a minimal size (1 pixel)
See Also:
-
TABSHEET_BORDERLESS
public static final String TABSHEET_BORDERLESS
Removes borders and background color from the tab sheet
See Also:
-
ACCORDION_OPAQUE
public static final String ACCORDION_OPAQUE
Makes the accordion background opaque (non-transparent)
See Also:
-
TABLE_BORDERLESS
public static final String TABLE_BORDERLESS
Removes borders and background color from the table
See Also:
-
TABLE_SMALL
public static final String TABLE_SMALL
Makes the column header and content font size smaller inside the table
See Also:
-
TABLE_BIG
public static final String TABLE_BIG
Makes the column header and content font size bigger inside the table
See Also:
-
TABLE_STRIPED
public static final String TABLE_STRIPED
Adds a light alternate background color to even rows in the table.
See Also:
-
PROGRESS_INDICATOR_SMALL
public static final String PROGRESS_INDICATOR_SMALL
Reduces the height of the progress bar
See Also:
-
PROGRESS_INDICATOR_BIG
public static final String PROGRESS_INDICATOR_BIG
Increases the height of the progress bar. If the indicator is in indeterminate mode, shows a bigger spinner than the regular indeterminate indicator.
See Also:
-
PROGRESS_INDICATOR_INDETERMINATE_BAR
public static final String PROGRESS_INDICATOR_INDETERMINATE_BAR
Displays an indeterminate progress indicator as a bar with animated background stripes. This style can be used in combination with the "small" and "big" styles.
See Also:
-
WINDOW_OPAQUE
public static final String WINDOW_OPAQUE
Sub-window style that makes the window background opaque (i.e. not semi-transparent).
See Also:
-
COMPOUND_HORIZONTAL_LAYOUT_SEGMENT
public static final String COMPOUND_HORIZONTAL_LAYOUT_SEGMENT
Creates a context for a segment button control. Place buttons inside the segment, and add "
first
" and "last
" style names for the first and last button in the segment. Then use theBUTTON_DOWN
style to indicate button states. E.g.
You can also use most of the different button styles for the contained buttons (e.g.HorizontalLayout ("segment") + Button ("first down") + Button ("down") + Button ... + Button ("last")
BUTTON_BIG
,BUTTON_ICON_ONLY
etc.).See Also:
-
COMPOUND_HORIZONTAL_LAYOUT_SEGMENT_ALTERNATE
public static final String COMPOUND_HORIZONTAL_LAYOUT_SEGMENT_ALTERNATE
Use this mixin-style in combination with the
COMPOUND_HORIZONTAL_LAYOUT_SEGMENT
style to make buttons with the "down" style use the themes alternate color (e.g. blue instead of gray). E.g.HorizontalLayout ("segment segment-alternate") + Button ("first down") + Button ("down") + Button ... + Button ("last")
See Also:
-
COMPOUND_LAYOUT_SIDEBAR_MENU
public static final String COMPOUND_LAYOUT_SIDEBAR_MENU
Creates an iTunes-like menu from a CssLayout or a VerticalLayout. Place plain Labels and NativeButtons inside the layout, and you're all set. E.g.
CssLayout ("sidebar-menu") + Label + NativeButton + NativeButton ... + Label + NativeButton
See Also:
-
COMPOUND_CSSLAYOUT_TOOLBAR
public static final String COMPOUND_CSSLAYOUT_TOOLBAR
Adds a toolbar-like background for the layout, and aligns Buttons and Segments horizontally. Feel free to use different buttons styles inside the toolbar, like
BUTTON_ICON_ON_TOP
andBUTTON_BORDERLESS
See Also:
-
-