public class DateTimeFormElement extends InputGroupFormElement
InputGroupFormElement
that represents a date/time picker.
By default this is an input group with a calendar icon after the control element,
and a TextboxFormElement
as control.InputGroupFormElement.Addon
FormControlElement.Proxy
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_DATA_DATEPICKER |
static String |
CSS_DATE |
static String |
CSS_JS_CONTROL |
Constructor and Description |
---|
DateTimeFormElement() |
Modifier and Type | Method and Description |
---|---|
List<com.foreach.across.modules.web.ui.ViewElement> |
getChildren() |
DateTimeFormElementConfiguration |
getConfiguration() |
String |
getControlName() |
java.time.LocalDate |
getLocalDate() |
java.time.LocalDateTime |
getLocalDateTime() |
java.time.LocalTime |
getLocalTime() |
Date |
getValue()
Deprecated.
|
void |
setConfiguration(DateTimeFormElementConfiguration configuration) |
void |
setControlName(String controlName) |
void |
setLocalDate(java.time.LocalDate value) |
void |
setLocalDateTime(java.time.LocalDateTime value) |
void |
setLocalTime(java.time.LocalTime value) |
void |
setValue(Date value)
Deprecated.
|
getAddonAfter, getAddonAfter, getAddonBefore, getAddonBefore, getControl, getControl, getPlaceholder, hasChildren, isDisabled, isReadonly, isRequired, setAddonAfter, setAddonBefore, setControl, setDisabled, setPlaceholder, setReadonly, setRequired
addAttributes, addCssClass, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, removeAttribute, removeCssClass, returnIfType, setAttribute, setAttributes, setHtmlId, setTagName
addChild, addChildren, addFirstChild, apply, applyUnsafe, clearChildren, elementStream, find, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getCustomTemplate, getElementType, getName, removeAllFromTree, removeChild, removeFromTree, removeFromTree, setCustomTemplate, setElementType, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributes, addCssClass, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, removeAttribute, removeCssClass, setAttribute, setAttributes, setHtmlId
public static final String ATTRIBUTE_DATA_DATEPICKER
public static final String CSS_JS_CONTROL
public static final String CSS_DATE
public DateTimeFormElementConfiguration getConfiguration()
public void setConfiguration(@NonNull DateTimeFormElementConfiguration configuration)
public String getControlName()
getControlName
in interface FormInputElement
getControlName
in class InputGroupFormElement
public void setControlName(String controlName)
setControlName
in interface FormInputElement
setControlName
in class InputGroupFormElement
@Deprecated public Date getValue()
@Deprecated public void setValue(Date value)
public void setLocalDate(java.time.LocalDate value)
public java.time.LocalDate getLocalDate()
public void setLocalTime(java.time.LocalTime value)
public java.time.LocalTime getLocalTime()
public void setLocalDateTime(java.time.LocalDateTime value)
public java.time.LocalDateTime getLocalDateTime()
public List<com.foreach.across.modules.web.ui.ViewElement> getChildren()
getChildren
in class InputGroupFormElement
Copyright © 2019. All rights reserved.