CSS Styling

The cssClass() element can be used to render additional CSS classes in the HTML (a wrapping <div>) that represents the collection. Application-specific CSS can then be used to target and adjust the UI representation of that particular element.

For example:

import lombok.Getter;
import lombok.Setter;

public class ToDoItem {

    @CollectionLayout(
        cssClass="x-important"
    )
    @Getter @Setter
    private SortedSet<ToDoItem> dependencies = ...;

}