public class DatePickerElement extends BlockElement
| Modifier and Type | Class and Description |
|---|---|
static class |
DatePickerElement.DatePickerElementBuilder |
| Constructor and Description |
|---|
DatePickerElement() |
DatePickerElement(String actionId,
PlainTextObject placeholder,
String initialDate,
ConfirmationDialogObject confirm) |
| Modifier and Type | Method and Description |
|---|---|
static DatePickerElement.DatePickerElementBuilder |
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 date is selected.
|
String |
getInitialDate()
The initial date that is selected when the element is loaded.
|
PlainTextObject |
getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the datepicker.
|
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 date is selected.
|
void |
setInitialDate(String initialDate)
The initial date that is selected when the element is loaded.
|
void |
setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the datepicker.
|
String |
toString() |
public static final String TYPE
public DatePickerElement()
public DatePickerElement(String actionId, PlainTextObject placeholder, String initialDate, ConfirmationDialogObject confirm)
public static DatePickerElement.DatePickerElementBuilder builder()
public String getType()
public String getActionId()
public PlainTextObject getPlaceholder()
public String getInitialDate()
public ConfirmationDialogObject getConfirm()
public void setActionId(String actionId)
public void setPlaceholder(PlainTextObject placeholder)
public void setInitialDate(String initialDate)
public void setConfirm(ConfirmationDialogObject confirm)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.