public class PlainTextInputElement extends BlockElement
| Modifier and Type | Class and Description |
|---|---|
static class |
PlainTextInputElement.PlainTextInputElementBuilder |
| Constructor and Description |
|---|
PlainTextInputElement() |
PlainTextInputElement(String actionId,
PlainTextObject placeholder,
String initialValue,
boolean multiline,
Integer minLength,
Integer maxLength) |
| Modifier and Type | Method and Description |
|---|---|
static PlainTextInputElement.PlainTextInputElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getActionId()
An identifier for the input value when the parent modal is submitted.
|
String |
getInitialValue()
The initial value in the plain-text input when it is loaded.
|
Integer |
getMaxLength()
The maximum length of input that the user can provide.
|
Integer |
getMinLength()
The minimum length of input that the user must provide.
|
PlainTextObject |
getPlaceholder()
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
String |
getType() |
int |
hashCode() |
boolean |
isMultiline()
Indicates whether the input will be a single line (false) or a larger textarea (true).
|
void |
setActionId(String actionId)
An identifier for the input value when the parent modal is submitted.
|
void |
setInitialValue(String initialValue)
The initial value in the plain-text input when it is loaded.
|
void |
setMaxLength(Integer maxLength)
The maximum length of input that the user can provide.
|
void |
setMinLength(Integer minLength)
The minimum length of input that the user must provide.
|
void |
setMultiline(boolean multiline)
Indicates whether the input will be a single line (false) or a larger textarea (true).
|
void |
setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
String |
toString() |
public static final String TYPE
public PlainTextInputElement()
public PlainTextInputElement(String actionId, PlainTextObject placeholder, String initialValue, boolean multiline, Integer minLength, Integer maxLength)
public static PlainTextInputElement.PlainTextInputElementBuilder builder()
public String getType()
public String getActionId()
public PlainTextObject getPlaceholder()
public String getInitialValue()
public boolean isMultiline()
public Integer getMinLength()
public Integer getMaxLength()
public void setActionId(String actionId)
public void setPlaceholder(PlainTextObject placeholder)
public void setInitialValue(String initialValue)
public void setMultiline(boolean multiline)
public void setMinLength(Integer minLength)
public void setMaxLength(Integer maxLength)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.