Interface InputBuilder<M>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ChoiceBuilder<M> choices​(java.lang.String label)
      Builds choices in configuration.
      ClassBuilder<M> clazz​(java.lang.String label)
      Adds a Class property to be configured.
      <I> ListBuilder<M,​I> list​(java.lang.String label, java.lang.Class<I> itemType)
      Configures creating a list of items.
      MappingBuilder<M> map​(java.lang.String label, java.util.function.Function<M,​javafx.collections.ObservableList<java.lang.String>> getSources, java.util.function.Function<M,​javafx.collections.ObservableList<java.lang.String>> getTargets)
      Configures a mapping of name to name.
      <I> MultipleBuilder<M,​I> multiple​(java.lang.String label, java.lang.Class<I> itemType)
      Configures multiple items.
      OptionalBuilder<M> optional​(java.util.function.Predicate<M> isShow)
      Configures optional configuration.
      PropertiesBuilder<M> properties​(java.lang.String label)
      Configures PropertyList.
      ResourceBuilder<M> resource​(java.lang.String label)
      Adds a resource property to be configured.
      <I> SelectBuilder<M,​I> select​(java.lang.String label, java.util.function.Function<M,​javafx.collections.ObservableList<I>> getItems)
      Configures selecting from a list of items.
    • Method Detail

      • choices

        ChoiceBuilder<M> choices​(java.lang.String label)
        Builds choices in configuration.
        Parameters:
        label - Label for the choices.
        Returns:
        ChoiceBuilder.
      • list

        <I> ListBuilder<M,​I> list​(java.lang.String label,
                                        java.lang.Class<I> itemType)
        Configures creating a list of items.
        Type Parameters:
        I - Item type.
        Parameters:
        label - Label for the items.
        itemType - Item type.
        Returns:
        ListBuilder.
      • select

        <I> SelectBuilder<M,​I> select​(java.lang.String label,
                                            java.util.function.Function<M,​javafx.collections.ObservableList<I>> getItems)
        Configures selecting from a list of items.
        Type Parameters:
        I - Item type.
        Parameters:
        label - Label for the selection.
        getItems - Function to extract the items.
        Returns:
        SelectBuilder.
      • optional

        OptionalBuilder<M> optional​(java.util.function.Predicate<M> isShow)
        Configures optional configuration.
        Parameters:
        isShow - Predicate on whether to show the optional configuration.
        Returns:
        OptionalBuilder.
      • multiple

        <I> MultipleBuilder<M,​I> multiple​(java.lang.String label,
                                                java.lang.Class<I> itemType)
        Configures multiple items.
        Type Parameters:
        I - Item type.
        Parameters:
        label - Label for the items.
        itemType - Item type.
        Returns:
        MultipleBuilder.
      • map

        MappingBuilder<M> map​(java.lang.String label,
                              java.util.function.Function<M,​javafx.collections.ObservableList<java.lang.String>> getSources,
                              java.util.function.Function<M,​javafx.collections.ObservableList<java.lang.String>> getTargets)
        Configures a mapping of name to name.
        Parameters:
        label - Label for the mapping.
        getSources - Function to extract the sources.
        getTargets - Function to extract the targets.
        Returns:
        MappingBuilder.
      • clazz

        ClassBuilder<M> clazz​(java.lang.String label)
        Adds a Class property to be configured.
        Parameters:
        label - Label.
        Returns:
        ClassBuilder.
      • resource

        ResourceBuilder<M> resource​(java.lang.String label)
        Adds a resource property to be configured.
        Parameters:
        label - Label.
        Returns:
        ResourceBuilder.