Annotation Type BindStyleNames

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] value
      The style names that may be used in CSS as style classes.
    • Element Detail

      • value

        String[] value
        The style names that may be used in CSS as style classes. Multiple style names could be provided like @BindStyleNames({ STYLE_NAME_1, STYLE_NAME_2 })

        If the value is an empty array (which is the default) the style names should be retrieved dynamically. That means the style names are retrieved from the method get<PropertyName>StyleNames which may return a String or Collection of String.

        See Also:
        HasStyle.setClassName(String)
        Default:
        {}