java.lang.Object
io.openems.edge.core.appmanager.formly.builder.FormlyBuilder<RangeBuilder>
io.openems.edge.core.appmanager.formly.builder.RangeBuilder
All Implemented Interfaces:
OnlyIf<RangeBuilder>, Self<RangeBuilder>

public final class RangeBuilder extends FormlyBuilder<RangeBuilder>
  • Constructor Details

    • RangeBuilder

      public RangeBuilder(Nameable property)
  • Method Details

    • setMin

      public RangeBuilder setMin(int min)
      Sets the min value of the input.
      Parameters:
      min - the min number that can be set
      Returns:
      this
    • setMax

      public RangeBuilder setMax(int max)
      Sets the max value of the input.
      Parameters:
      max - the max number that can be set
      Returns:
      this
    • build

      public com.google.gson.JsonObject build()
      Overrides:
      build in class FormlyBuilder<RangeBuilder>
    • getType

      protected String getType()
      Specified by:
      getType in class FormlyBuilder<RangeBuilder>