Interface View.Form
- Enclosing interface:
View
public static interface View.Form
The fields of
View.form(String, Consumer), in order.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
text
- Parameters:
name- the value's name for the actionlabel- what the field asks- Returns:
- the field, to set it up further
-
number
- Parameters:
name- the value's name for the actionlabel- what the field asks- Returns:
- a field of numbers, to set up further
-
select
- Parameters:
name- the value's name for the actionlabel- what the field asks- Returns:
- a list to choose from, filled by
View.Field.option(String, String)
-
toggle
- Parameters:
name- the value's name for the action, a booleanlabel- what the switch turns on- Returns:
- the switch, to set it up further
-
range
- Parameters:
name- the value's name for the actionlabel- what the slider setsmin- its lowest valuemax- its highest value- Returns:
- the slider, to set it up further
-
textarea
- Parameters:
name- the value's name for the actionlabel- what the field asks- Returns:
- a field of several lines, to set up further
-
player
- Parameters:
name- the value's name for the action, a player's name (ActionContext.player(String))label- what the field asks- Returns:
- a field that suggests the players online, to set up further
-
submit
-
submit
-
confirm
-