public class HaloTheme
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCORDION_BORDERLESS
Remove the outer border from the accordion.
|
static java.lang.String |
BUTTON_BORDERLESS
Borderless button.
|
static java.lang.String |
BUTTON_BORDERLESS_COLORED
Borderless button with a colored caption text.
|
static java.lang.String |
BUTTON_DANGER
A prominent button that can be used when the action is considered unsafe for the user (i.e.
|
static java.lang.String |
BUTTON_FRIENDLY
A prominent button that can be used instead of the
BUTTON_PRIMARY for primary actions when
the action is considered safe for the user (i.e. |
static java.lang.String |
BUTTON_ICON_ALIGN_RIGHT
Align the icon to the right side of the button caption.
|
static java.lang.String |
BUTTON_ICON_ALIGN_TOP
Stack the icon on top of the button caption.
|
static java.lang.String |
BUTTON_ICON_ONLY
Only show the icon in the button, and size the button to a square shape.
|
static java.lang.String |
BUTTON_PRIMARY
Primary action button (e.g.
|
static java.lang.String |
BUTTON_QUIET
"Quiet" button, which looks like
BUTTON_BORDERLESS until you
hover over it with the mouse. |
static java.lang.String |
CSSLAYOUT_COMPONENT_GROUP
Add this style name to a CssLayout to create a grouped set of components, i.e.
|
static java.lang.String |
DATEFIELD_BORDERLESS
Removes the border and background from the date field.
|
static java.lang.String |
FILEUPLOADFIELD_DROPZONE_CONTAINER
Add this style name to a
VBoxLayout or
a HBoxLayout to mark this layout as dropzone. |
static java.lang.String |
FILEUPLOADFIELD_DROPZONE_DESCRIPTION
Add this style name to a
Label to mark this component as dropzone
description. |
static java.lang.String |
GROUPBOX_LIGHT
Remove bottom and side borders of the GroupBox (only the top line will remain).
|
static java.lang.String |
GROUPBOX_PANEL_BORDERLESS
Remove borders and the background color of the GroupBox.
|
static java.lang.String |
HIDE_CONTAINER_OVERFLOW
Style for layouts to hide overflow of nested content.
|
static java.lang.String |
LABEL_BOLD
Bolder font weight.
|
static java.lang.String |
LABEL_COLORED
Colored text.
|
static java.lang.String |
LABEL_FAILURE
Failure badge style.
|
static java.lang.String |
LABEL_H1
Header style for main application headings.
|
static java.lang.String |
LABEL_H2
Header style for different sections in the application.
|
static java.lang.String |
LABEL_H3
Header style for different sub-sections in the application.
|
static java.lang.String |
LABEL_H4
Header style for different sub-sections in the application.
|
static java.lang.String |
LABEL_LIGHT
Lighter font weight.
|
static java.lang.String |
LABEL_NO_MARGIN
|
static java.lang.String |
LABEL_SPINNER
Spinner style.
|
static java.lang.String |
LABEL_SUCCESS
Success badge style.
|
static java.lang.String |
LAYOUT_CARD
Make a layout look like a card.
|
static java.lang.String |
LAYOUT_HEADER
Make any layout inside of another layout with
LAYOUT_CARD or LAYOUT_WELL stylename looks like
caption of parent layout. |
static java.lang.String |
LAYOUT_SIDE_MENU_PANEL
Side menu panel style.
|
static java.lang.String |
LAYOUT_SIDE_MENU_TITLE
Side menu header style.
|
static java.lang.String |
LAYOUT_WELL
Inset layout style.
|
static java.lang.String |
LOOKUPFIELD_ALIGN_CENTER
Align the text inside the LookupField to center.
|
static java.lang.String |
LOOKUPFIELD_ALIGN_RIGHT
Align the text inside the LookupField to the right.
|
static java.lang.String |
LOOKUPFIELD_BORDERLESS
Removes the border and background from the LookupField.
|
static java.lang.String |
PROGRESSBAR_POINT
Make the progress bar indicator appear as a dot which progresses over the progress bar track (instead of
a growing bar).
|
static java.lang.String |
SHRINK_EMPTY_CONTAINER
Style for layouts to hide empty / zero height content.
|
static java.lang.String |
SIDEMENU_LAYOUT
Style for horizontal layout that contains
SIDEMENU_PANEL and AppWorkArea
in responsive mainwindow with SideMenu . |
static java.lang.String |
SIDEMENU_LAYOUT_RESPONSIVE
Style for layout tag in mainwindow with responsive
SideMenu . |
static java.lang.String |
SIDEMENU_MOBILE_BUTTONS
Style for mobile buttons in top panel in responsive mainwindow with
SideMenu . |
static java.lang.String |
SIDEMENU_PANEL
Style for side panel in responsive mainwindow with
SideMenu . |
static java.lang.String |
SIDEMENU_PANEL_OPEN
Style for opened side panel in responsive mainwindow with
SideMenu . |
static java.lang.String |
SIDEMENU_TITLE
Style for top header in responsive mainwindow with
SideMenu . |
static java.lang.String |
SIDEMENU_TOGGLE_BUTTON
Style for side panel toggle button in responsive mainwindow with
SideMenu . |
static java.lang.String |
SIDEMENU_WRAP
Style for opened side panel content in responsive mainwindow with
SideMenu . |
static java.lang.String |
SIZE_HUGE
Huge component size.
|
static java.lang.String |
SIZE_LARGE
Large component size.
|
static java.lang.String |
SIZE_SMALL
Small component size.
|
static java.lang.String |
SIZE_TINY
Tiny component size.
|
static java.lang.String |
SPLITPANEL_LARGE
Make the split handle wider.
|
static java.lang.String |
TABLE_BORDERLESS
Remove the outer border of the table.
|
static java.lang.String |
TABLE_COMPACT
Reduce the white space inside the table cells.
|
static java.lang.String |
TABLE_NO_HEADER
Hide the table column headers (effectively the same as:
|
static java.lang.String |
TABLE_NO_HORIZONTAL_LINES
Remove the horizontal divider lines between the table rows.
|
static java.lang.String |
TABLE_NO_STRIPES
Remove the alternating row colors.
|
static java.lang.String |
TABLE_NO_VERTICAL_LINES
Remove the vertical divider lines between the table columns.
|
static java.lang.String |
TABLE_SMALL
Small font size and reduced the white space inside the table cells.
|
static java.lang.String |
TABSHEET_CENTERED_TABS
Center the tabs inside the tab bar.
|
static java.lang.String |
TABSHEET_COMPACT_TABBAR
Reduce the whitespace around the tabs in the tab bar.
|
static java.lang.String |
TABSHEET_EQUAL_WIDTH_TABS
Give equal amount of space to all tabs in the tab bar (i.e.
|
static java.lang.String |
TABSHEET_FRAMED
Adds a border around the whole component as well as around individual tabs in the tab bar.
|
static java.lang.String |
TABSHEET_ICONS_ON_TOP
Display tab icons on top of the tab captions (by default the icons are place on the left side of the caption).
|
static java.lang.String |
TABSHEET_ONLY_SELECTED_TAB_IS_CLOSABLE
Only the selected tab has the close button visible.
|
static java.lang.String |
TABSHEET_PADDED_TABBAR
Add a small amount of padding around the tabs in the tab bar, so that they don't touch the outer edges of the
component.
|
static java.lang.String |
TEXTAREA_ALIGN_CENTER
Align the text inside the area to center.
|
static java.lang.String |
TEXTAREA_ALIGN_RIGHT
Align the text inside the area to the right.
|
static java.lang.String |
TEXTAREA_BORDERLESS
Removes the border and background from the text area.
|
static java.lang.String |
TEXTFIELD_ALIGN_CENTER
Align the text inside the field to center.
|
static java.lang.String |
TEXTFIELD_ALIGN_RIGHT
Align the text inside the field to the right.
|
static java.lang.String |
TEXTFIELD_BORDERLESS
Removes the border and background from the text field.
|
static java.lang.String |
TEXTFIELD_INLINE_ICON
Move the default caption icon inside the text field.
|
Constructor and Description |
---|
HaloTheme() |
public static final java.lang.String LABEL_H1
public static final java.lang.String LABEL_H2
public static final java.lang.String LABEL_H3
public static final java.lang.String LABEL_H4
public static final java.lang.String LABEL_NO_MARGIN
LABEL_H1
, LABEL_H2
, LABEL_H3
and
LABEL_H4
styles to remove the default margins from the header.public static final java.lang.String LABEL_LIGHT
public static final java.lang.String LABEL_BOLD
public static final java.lang.String LABEL_COLORED
public static final java.lang.String LABEL_SUCCESS
public static final java.lang.String LABEL_FAILURE
public static final java.lang.String LABEL_SPINNER
Label spinner = new Label(); spinner.addStyleName(HaloTheme.LABEL_SPINNER);
public static final java.lang.String BUTTON_PRIMARY
enter
key in a form). Use sparingly, only one default button per view should be visible. Can be combined with any
other Button style.public static final java.lang.String BUTTON_FRIENDLY
BUTTON_PRIMARY
for primary actions when
the action is considered safe for the user (i.e. does not cause any data loss or any other
irreversible action). Can be combined with any other Button style.public static final java.lang.String BUTTON_DANGER
public static final java.lang.String BUTTON_QUIET
BUTTON_BORDERLESS
until you
hover over it with the mouse. Can be combined with any other Button
style.public static final java.lang.String BUTTON_ICON_ALIGN_RIGHT
public static final java.lang.String BUTTON_ICON_ALIGN_TOP
public static final java.lang.String BUTTON_ICON_ONLY
public static final java.lang.String BUTTON_BORDERLESS
public static final java.lang.String BUTTON_BORDERLESS_COLORED
public static final java.lang.String TEXTFIELD_BORDERLESS
public static final java.lang.String TEXTFIELD_ALIGN_RIGHT
public static final java.lang.String TEXTFIELD_ALIGN_CENTER
public static final java.lang.String TEXTFIELD_INLINE_ICON
public static final java.lang.String TEXTAREA_BORDERLESS
public static final java.lang.String TEXTAREA_ALIGN_RIGHT
public static final java.lang.String TEXTAREA_ALIGN_CENTER
public static final java.lang.String DATEFIELD_BORDERLESS
public static final java.lang.String LOOKUPFIELD_BORDERLESS
PickerField
and
LookupPickerField
public static final java.lang.String LOOKUPFIELD_ALIGN_RIGHT
PickerField
and
LookupPickerField
public static final java.lang.String LOOKUPFIELD_ALIGN_CENTER
PickerField
and
LookupPickerField
public static final java.lang.String TABLE_NO_STRIPES
public static final java.lang.String TABLE_NO_VERTICAL_LINES
public static final java.lang.String TABLE_NO_HORIZONTAL_LINES
public static final java.lang.String TABLE_NO_HEADER
Table table = componentsFactory.createComponent(Table.class); table.setColumnHeaderVisible(false);Can be combined with any other Table/TreeTable style.
public static final java.lang.String TABLE_BORDERLESS
public static final java.lang.String TABLE_COMPACT
public static final java.lang.String TABLE_SMALL
public static final java.lang.String PROGRESSBAR_POINT
public static final java.lang.String SPLITPANEL_LARGE
public static final java.lang.String TABSHEET_FRAMED
public static final java.lang.String TABSHEET_CENTERED_TABS
public static final java.lang.String TABSHEET_PADDED_TABBAR
public static final java.lang.String TABSHEET_EQUAL_WIDTH_TABS
public static final java.lang.String TABSHEET_COMPACT_TABBAR
public static final java.lang.String TABSHEET_ICONS_ON_TOP
public static final java.lang.String TABSHEET_ONLY_SELECTED_TAB_IS_CLOSABLE
public static final java.lang.String ACCORDION_BORDERLESS
public static final java.lang.String GROUPBOX_LIGHT
public static final java.lang.String GROUPBOX_PANEL_BORDERLESS
Notice that you should enable flag "showAsPanel".
public static final java.lang.String LAYOUT_HEADER
LAYOUT_CARD
or LAYOUT_WELL
stylename looks like
caption of parent layout.public static final java.lang.String LAYOUT_CARD
v-panel-caption
style name to any layout
inside the card layout to make it look like a layout header.public static final java.lang.String LAYOUT_WELL
v-panel-caption
style name to any layout inside
the card layout to make it look like a layout header.public static final java.lang.String LAYOUT_SIDE_MENU_PANEL
SideMenu
.public static final java.lang.String LAYOUT_SIDE_MENU_TITLE
SideMenu
.public static final java.lang.String CSSLAYOUT_COMPONENT_GROUP
CssLayout group = new CssLayout(); group.addStyleName(HaloTheme.CSSLAYOUT_COMPONENT_GROUP); TextField field = new TextField(); group.add(field); Button button = new Button("Action"); group.add(button);
public static final java.lang.String FILEUPLOADFIELD_DROPZONE_CONTAINER
VBoxLayout
or
a HBoxLayout
to mark this layout as dropzone.public static final java.lang.String FILEUPLOADFIELD_DROPZONE_DESCRIPTION
Label
to mark this component as dropzone
description.public static final java.lang.String SIDEMENU_LAYOUT_RESPONSIVE
SideMenu
.public static final java.lang.String SIDEMENU_LAYOUT
SIDEMENU_PANEL
and AppWorkArea
in responsive mainwindow with SideMenu
.public static final java.lang.String SIDEMENU_PANEL
SideMenu
.public static final java.lang.String SIDEMENU_PANEL_OPEN
SideMenu
.public static final java.lang.String SIDEMENU_WRAP
SideMenu
.public static final java.lang.String SIDEMENU_TOGGLE_BUTTON
SideMenu
.public static final java.lang.String SIDEMENU_MOBILE_BUTTONS
SideMenu
.public static final java.lang.String SIDEMENU_TITLE
SideMenu
.public static final java.lang.String SHRINK_EMPTY_CONTAINER
public static final java.lang.String HIDE_CONTAINER_OVERFLOW
public static final java.lang.String SIZE_TINY
public static final java.lang.String SIZE_SMALL
public static final java.lang.String SIZE_LARGE
Not supported by the DateField component.
public static final java.lang.String SIZE_HUGE
Not supported by the DateField component.