public static final class CustomFormImpl.Builder extends FormImpl.Builder<CustomForm.Builder,CustomForm> implements CustomForm.Builder
biResponseHandler, locale, responseHandler, title, translationHandler| Constructor and Description |
|---|
Builder() |
responseHandler, responseHandler, self, title, translate, translator, translatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresponseHandler, responseHandler, title, translator, translatorpublic CustomFormImpl.Builder icon(FormImage.Type type, String data)
icon in interface CustomForm.Builderpublic CustomFormImpl.Builder iconPath(String path)
iconPath in interface CustomForm.Builderpublic CustomFormImpl.Builder iconUrl(String url)
iconUrl in interface CustomForm.Builderpublic CustomFormImpl.Builder component(Component component)
component in interface CustomForm.Builderpublic CustomFormImpl.Builder dropdown(DropdownComponent.Builder dropdownBuilder)
dropdown in interface CustomForm.Builderpublic CustomFormImpl.Builder dropdown(String text, int defaultOption, String... options)
dropdown in interface CustomForm.Builderpublic CustomFormImpl.Builder dropdown(String text, String... options)
dropdown in interface CustomForm.Builderpublic CustomFormImpl.Builder input(String text, String placeholder, String defaultText)
input in interface CustomForm.Builderpublic CustomFormImpl.Builder input(String text, String placeholder)
input in interface CustomForm.Builderpublic CustomFormImpl.Builder input(String text)
input in interface CustomForm.Builderpublic CustomFormImpl.Builder label(String text)
label in interface CustomForm.Builderpublic CustomFormImpl.Builder slider(String text, float min, float max, int step, float defaultValue)
slider in interface CustomForm.Builderpublic CustomFormImpl.Builder slider(String text, float min, float max, int step)
slider in interface CustomForm.Builderpublic CustomFormImpl.Builder slider(String text, float min, float max, float defaultValue)
slider in interface CustomForm.Builderpublic CustomFormImpl.Builder slider(String text, float min, float max)
slider in interface CustomForm.Builderpublic CustomFormImpl.Builder stepSlider(StepSliderComponent.Builder stepSliderBuilder)
stepSlider in interface CustomForm.Builderpublic CustomFormImpl.Builder stepSlider(String text, int defaultStep, String... steps)
stepSlider in interface CustomForm.Builderpublic CustomFormImpl.Builder stepSlider(String text, String... steps)
stepSlider in interface CustomForm.Builderpublic CustomFormImpl.Builder toggle(String text, boolean defaultValue)
toggle in interface CustomForm.Builderpublic CustomFormImpl.Builder toggle(String text)
toggle in interface CustomForm.Builderpublic CustomFormImpl build()
build in interface FormBuilder<CustomForm.Builder,CustomForm>build in class FormImpl.Builder<CustomForm.Builder,CustomForm>Copyright © 2020 GeyserMC. All rights reserved.