public class JmixTimeField
extends com.vaadin.ui.AbstractField<java.time.LocalTime>
| Modifier and Type | Class and Description |
|---|---|
protected class |
JmixTimeField.AbstractTextFieldFocusAndBlurRpcImpl |
protected class |
JmixTimeField.AbstractTextFieldServerRpcImpl |
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.vaadin.data.HasValue.ValueChangeEvent<V>, com.vaadin.data.HasValue.ValueChangeListener<V>com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
placeholder |
protected java.lang.String |
timeFormat |
protected java.time.LocalTime |
value |
| Constructor and Description |
|---|
JmixTimeField() |
| Modifier and Type | Method and Description |
|---|---|
protected java.time.LocalTime |
applyResolutionToValue(java.time.LocalTime value) |
protected void |
doSetValue(java.time.LocalTime value) |
protected java.lang.String |
formatValue(java.time.LocalTime value) |
protected java.time.format.DateTimeFormatter |
getDateTimeFormatter() |
TimeResolution |
getResolution() |
protected java.lang.String |
getResolutionFormat(TimeResolution resolution) |
protected java.util.stream.Stream<TimeResolution> |
getResolutionsHigherOrEqualTo(TimeResolution resolution) |
protected JmixTimeFieldState |
getState() |
protected JmixTimeFieldState |
getState(boolean markAsDirty) |
java.lang.String |
getTimeFormat() |
java.time.LocalTime |
getValue() |
boolean |
isCaptionManagedByLayout() |
protected java.time.LocalTime |
parseValue(java.lang.String text) |
void |
setCaptionManagedByLayout(boolean captionManagedByLayout) |
void |
setResolution(TimeResolution resolution) |
void |
setTimeFormat(java.lang.String timeFormat) |
protected boolean |
setValue(java.time.LocalTime value,
boolean userOriginated) |
protected void |
updateResolution() |
protected void |
updateTimeFormat() |
addValueChangeListener, createValueChange, focus, getCustomAttributes, getTabIndex, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, readDesign, setReadOnly, setRequiredIndicatorVisible, setTabIndex, setValue, writeDesignaddContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setJTestId, setLocale, setParent, setPrimaryStyleName, setRequiredError, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefinedaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitclear, getDefaultValidator, getEmptyValue, getOptionalValue, isEmptyaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setJTestId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisibleaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected java.lang.String placeholder
protected java.lang.String timeFormat
protected java.time.LocalTime value
protected JmixTimeFieldState getState()
getState in class com.vaadin.ui.AbstractField<java.time.LocalTime>protected JmixTimeFieldState getState(boolean markAsDirty)
getState in class com.vaadin.ui.AbstractField<java.time.LocalTime>protected boolean setValue(java.time.LocalTime value,
boolean userOriginated)
setValue in class com.vaadin.ui.AbstractField<java.time.LocalTime>protected void doSetValue(java.time.LocalTime value)
doSetValue in class com.vaadin.ui.AbstractField<java.time.LocalTime>@Nullable
protected java.time.LocalTime applyResolutionToValue(@Nullable
java.time.LocalTime value)
@Nullable public java.time.LocalTime getValue()
public java.lang.String getTimeFormat()
public void setTimeFormat(java.lang.String timeFormat)
protected void updateTimeFormat()
public TimeResolution getResolution()
public void setResolution(TimeResolution resolution)
protected void updateResolution()
protected java.util.stream.Stream<TimeResolution> getResolutionsHigherOrEqualTo(TimeResolution resolution)
protected java.lang.String getResolutionFormat(TimeResolution resolution)
@Nullable protected java.time.LocalTime parseValue(java.lang.String text)
protected java.lang.String formatValue(@Nullable
java.time.LocalTime value)
protected java.time.format.DateTimeFormatter getDateTimeFormatter()
public boolean isCaptionManagedByLayout()
public void setCaptionManagedByLayout(boolean captionManagedByLayout)