Annotation Type BindStyleNames
-
@Retention(RUNTIME) @Target({TYPE,FIELD,METHOD}) @InheritedAspect @LinkkiAspect(BindStyleNamesAspectDefinitionCreator.class) public @interface BindStyleNames
This aspect sets a user defined style name usingHasStyle.setClassName(String). This will overwrite any other user defined style names but not those from Vaadin.- See Also:
HasStyle.setClassName(String)
-
-
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>StyleNameswhich may return aStringorCollectionofString.- See Also:
HasStyle.setClassName(String)
- Default:
- {}
-
-