Class ValoTheme


  • public class ValoTheme
    extends java.lang.Object
    Legacy version of ValoTheme to facilitate migration

    Additional style names which can be used with the Valo theme.

    Author:
    Vaadin Ltd
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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_HUGE
      Huge font size.
      static java.lang.String LABEL_LARGE
      Large font size.
      static java.lang.String LABEL_LIGHT
      Lighter font weight.
      static java.lang.String LABEL_NO_MARGIN
      A utility style that can be combined with the LABEL_H1, LABEL_H2, LABEL_H3 and LABEL_H4 styles to remove the default margins from the header.
      static java.lang.String LABEL_SMALL
      Small font size.
      static java.lang.String LABEL_SPINNER
      Spinner style.
      static java.lang.String LABEL_SUCCESS
      Success badge style.
      static java.lang.String LABEL_TINY
      Tiny font size.
      static java.lang.String PANEL_BORDERLESS
      Remove borders and the background color of the panel.
      static java.lang.String PANEL_SCROLL_INDICATOR
      Show a divider between the panel caption and content when the content area is scrolled.
      static java.lang.String PANEL_WELL
      Inset panel style.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValoTheme()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LABEL_H1

        public static final java.lang.String LABEL_H1
        Header style for main application headings. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_H2

        public static final java.lang.String LABEL_H2
        Header style for different sections in the application. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_H3

        public static final java.lang.String LABEL_H3
        Header style for different sub-sections in the application. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_H4

        public static final java.lang.String LABEL_H4
        Header style for different sub-sections in the application. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_TINY

        public static final java.lang.String LABEL_TINY
        Tiny font size. Suitable for additional/supplementary UI text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_SMALL

        public static final java.lang.String LABEL_SMALL
        Small font size. Suitable for additional/supplementary UI text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_LARGE

        public static final java.lang.String LABEL_LARGE
        Large font size. Suitable for important/prominent UI text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_HUGE

        public static final java.lang.String LABEL_HUGE
        Huge font size. Suitable for important/prominent UI text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_LIGHT

        public static final java.lang.String LABEL_LIGHT
        Lighter font weight. Suitable for additional/supplementary UI text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_BOLD

        public static final java.lang.String LABEL_BOLD
        Bolder font weight. Suitable for important/prominent UI text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_COLORED

        public static final java.lang.String LABEL_COLORED
        Colored text. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_SUCCESS

        public static final java.lang.String LABEL_SUCCESS
        Success badge style. Adds a border around the label and an icon next to the text. Suitable for UI notifications that need to in the direct context of some component. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_FAILURE

        public static final java.lang.String LABEL_FAILURE
        Failure badge style. Adds a border around the label and an icon next to the text. Suitable for UI notifications that need to in the direct context of some component. Can be combined with any other Label style.
        See Also:
        Constant Field Values
      • LABEL_SPINNER

        public static final java.lang.String LABEL_SPINNER
        Spinner style. Add this style name to an empty Label to create a spinner.

        Example

         Label spinner = new Label();
         spinner.addStyleName(ValoTheme.LABEL_SPINNER);
         
        See Also:
        Constant Field Values
      • PANEL_BORDERLESS

        public static final java.lang.String PANEL_BORDERLESS
        Remove borders and the background color of the panel. Can be combined with any other Panel style.
        See Also:
        Constant Field Values
      • PANEL_SCROLL_INDICATOR

        public static final java.lang.String PANEL_SCROLL_INDICATOR
        Show a divider between the panel caption and content when the content area is scrolled. Suitable with the PANEL_BORDERLESS style. Can be combined with any other Panel style.
        See Also:
        Constant Field Values
      • PANEL_WELL

        public static final java.lang.String PANEL_WELL
        Inset panel style. Can be combined with any other Panel style.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ValoTheme

        public ValoTheme()