Class NumberRangeInput

java.lang.Object
net.md_5.bungee.api.dialog.input.DialogInput
net.md_5.bungee.api.dialog.input.NumberRangeInput

public class NumberRangeInput extends DialogInput
  • Constructor Details

  • Method Details

    • width

      public int width()
      The width of the input (default 200)
    • label

      public BaseComponent label()
      The label of the slider
    • labelFormat

      public String labelFormat()
    • start

      public float start()
      The start position of the slider (leftmost position)
    • end

      public float end()
      The end position of the slider (rightmost position)
    • step

      public Float step()
      The steps in which the input will be increased or decreased, or null if no specific steps
    • initial

      public Float initial()
      The initial value of number input, or null to fall back to the middle
    • width

      public NumberRangeInput width(int width)
      The width of the input (default 200)
      Returns:
      this.
    • label

      public NumberRangeInput label(BaseComponent label)
      The label of the slider
      Returns:
      this.
    • labelFormat

      public NumberRangeInput labelFormat(String labelFormat)
      Returns:
      this.
    • start

      public NumberRangeInput start(float start)
      The start position of the slider (leftmost position)
      Returns:
      this.
    • end

      public NumberRangeInput end(float end)
      The end position of the slider (rightmost position)
      Returns:
      this.
    • step

      public NumberRangeInput step(Float step)
      The steps in which the input will be increased or decreased, or null if no specific steps
      Returns:
      this.
    • initial

      public NumberRangeInput initial(Float initial)
      The initial value of number input, or null to fall back to the middle
      Returns:
      this.
    • toString

      public String toString()
      Overrides:
      toString in class DialogInput
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class DialogInput
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class DialogInput
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class DialogInput