Class BindComboBoxItemStyleAspectDefinition

  • All Implemented Interfaces:
    LinkkiAspectDefinition

    public class BindComboBoxItemStyleAspectDefinition
    extends StaticModelToUiAspectDefinition<Function<Object,​String>>
    Aspect definition that calls a method named Function<?,String> get<PropertyName>ItemStyle() in the pmo. The function is called for every item in the combobox drop down list and the returned string is set as class name for this item.

    The aspect definition extends StaticModelToUiAspectDefinition because it either uses a static list of style classes or it calls the returned function for every item. It is not supported to get different functions for every update. This is important to not set a new renderer with every ui update.