public class TimeTextField<T>
extends org.apache.wicket.markup.html.form.TextField<T>
<input type="time">
field.
Model may be Time
or Java 8 LocalTime
.
(Jodatime is not supported as this library is Java 8 and thus Java 8 time should be used in preference.)
For those browsers which do not support <input type="time">
,
which display a normal <input type="text">
instead, for example Firefox at the time of writing, we show a placeholder text, and display an error in case the format is wrong.
Constructor and Description |
---|
TimeTextField(String id,
org.apache.wicket.model.IModel<T> model) |
Modifier and Type | Method and Description |
---|---|
<C> org.apache.wicket.util.convert.IConverter<C> |
getConverter(Class<C> type) |
getConvertEmptyInputStringToNull, isInputNullable, setConvertEmptyInputStringToNull
add, add, checkRequired, clearInput, error, getConvertedInput, getDefaultLabel, getDefaultLabel, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputChanged, invalid, isMultiPart, isRequired, isValid, newValidatable, processChildren, processInput, remove, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setRequired, setType, updateCollectionModel, updateModel, valid, validate, visitComponentsPostOrder, visitFormComponentsPostOrder
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onComponentTagBody, remove, remove, removeAll, renderAssociatedMarkup, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, afterRender, beforeRender, canCallListenerInterface, configure, continueToOriginalDestination, debug, detach, detachModels, determineVisibility, error, fatal, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getId, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isEnableAllowed, isEnabled, isEnabledInHierarchy, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onEvent, prepareForRender, redirectToInterceptPage, remove, remove, render, rendered, renderHead, renderHead, renderHead, replaceWith, sameInnermostModel, sameInnermostModel, send, setDefaultModelObject, setEnabled, setEscapeModelStrings, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public <C> org.apache.wicket.util.convert.IConverter<C> getConverter(Class<C> type)
getConverter
in interface org.apache.wicket.IConverterLocator
getConverter
in class org.apache.wicket.Component