Interface AdaptedChildBuilder<R extends Model,​O,​M extends Model,​E extends java.lang.Enum<E>>

    • Method Detail

      • label

        void label​(java.util.function.Function<M,​java.lang.String> getLabel,
                   E... labelChangeEvents)
        Registers a read-only label for the Model.
        Parameters:
        getLabel - Function to get the label from the Model.
        labelChangeEvents - Enum events fired by the Model for label changes.
      • children

        ChildrenGroupBuilder<R,​O> children​(java.lang.String childGroupName,
                                                 java.util.function.Function<M,​java.util.List<? extends Model>> getChildren,
                                                 E... childrenEvents)
        Registers children for the Model.
        Parameters:
        childGroupName - Name of child group.
        getChildren - Function to get the children from the Model.
        childrenEvents - Enum events fired by the Model for children changes.
        Returns:
        ChildrenGroupBuilder.