public class ExternalSelectElement extends BlockElement
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalSelectElement.ExternalSelectElementBuilder |
| Constructor and Description |
|---|
ExternalSelectElement() |
ExternalSelectElement(PlainTextObject placeholder,
String actionId,
OptionObject initialOption,
Integer minQueryLength,
ConfirmationDialogObject confirm) |
| Modifier and Type | Method and Description |
|---|---|
static ExternalSelectElement.ExternalSelectElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getActionId()
An identifier for the action triggered when a menu option is selected.
|
ConfirmationDialogObject |
getConfirm()
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
OptionObject |
getInitialOption()
A single option that exactly matches one of the options within the options or
option_groups loaded from the external data source.
|
Integer |
getMinQueryLength()
When the typeahead field is used, a request will be sent on every character change.
|
PlainTextObject |
getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
String |
getType() |
int |
hashCode() |
void |
setActionId(String actionId)
An identifier for the action triggered when a menu option is selected.
|
void |
setConfirm(ConfirmationDialogObject confirm)
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
void |
setInitialOption(OptionObject initialOption)
A single option that exactly matches one of the options within the options or
option_groups loaded from the external data source.
|
void |
setMinQueryLength(Integer minQueryLength)
When the typeahead field is used, a request will be sent on every character change.
|
void |
setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
String |
toString() |
public static final String TYPE
public ExternalSelectElement()
public ExternalSelectElement(PlainTextObject placeholder, String actionId, OptionObject initialOption, Integer minQueryLength, ConfirmationDialogObject confirm)
public static ExternalSelectElement.ExternalSelectElementBuilder builder()
public String getType()
public PlainTextObject getPlaceholder()
public String getActionId()
public OptionObject getInitialOption()
public Integer getMinQueryLength()
public ConfirmationDialogObject getConfirm()
public void setPlaceholder(PlainTextObject placeholder)
public void setActionId(String actionId)
public void setInitialOption(OptionObject initialOption)
public void setMinQueryLength(Integer minQueryLength)
public void setConfirm(ConfirmationDialogObject confirm)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.