T - the model object typepublic abstract class LocalTextField<T>
extends org.apache.wicket.markup.html.form.TextField<T>
implements org.apache.wicket.markup.html.form.AbstractTextComponent.ITextFormatProvider, com.googlecode.wicket.jquery.core.IJQueryWidget
DatePicker and TimePicker| Modifier and Type | Field and Description |
|---|---|
protected com.googlecode.wicket.jquery.core.Options |
options |
FLAG_CONVERT_EMPTY_INPUT_STRING_TO_NULL, VALUE_SEPARATORENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING| Constructor and Description |
|---|
LocalTextField(String id,
org.apache.wicket.model.IModel<T> model,
Locale locale,
String pattern,
com.googlecode.wicket.jquery.core.Options options,
Class<T> type,
org.apache.wicket.util.convert.IConverter<T> converter)
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
<C> org.apache.wicket.util.convert.IConverter<C> |
getConverter(Class<C> type)
Returns the default converter if created without pattern; otherwise it returns a pattern-specific converter.
|
String |
getInput() |
Locale |
getLocale() |
protected abstract String |
getMethod()
Gets the widget's method
|
String |
getModelObjectAsString()
Gets a string representation given the time pattern in use.
|
String |
getTextFormat()
Returns the date pattern.
|
com.googlecode.wicket.jquery.core.JQueryBehavior |
newWidgetBehavior(String selector) |
void |
onBeforeRender(com.googlecode.wicket.jquery.core.JQueryBehavior behavior) |
void |
onConfigure(com.googlecode.wicket.jquery.core.JQueryBehavior behavior) |
protected void |
onInitialize() |
getInputTypes, onComponentTagconvertInput, getConvertEmptyInputStringToNull, isInputNullable, onBeforeRender, setConvertEmptyInputStringToNulladd, add, checkRequired, clearInput, convertValue, error, getConvertedInput, getDefaultLabel, getDefaultLabel, getForm, getInputAsArray, getInputName, getModel, getModelObject, getModelValue, getParameterValues, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isMultiPart, isRequired, isValid, newValidatable, newValidationError, onDetach, onDisabled, onInvalid, onRequired, onValid, processChildren, processInput, remove, reportRequiredError, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setRequired, setType, shouldTrimInput, trim, updateAutoLabels, updateCollectionModel, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrdergetWebApplication, getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic LocalTextField(String id, org.apache.wicket.model.IModel<T> model, Locale locale, String pattern, com.googlecode.wicket.jquery.core.Options options, Class<T> type, org.apache.wicket.util.convert.IConverter<T> converter)
id - the markup idmodel - the IModellocale - the Localepattern - a SimpleDateFormat patternoptions - the Optionstype - the class typeconverter - the IConverterprotected void onInitialize()
onInitialize in class org.apache.wicket.MarkupContainerpublic void onConfigure(com.googlecode.wicket.jquery.core.JQueryBehavior behavior)
onConfigure in interface com.googlecode.wicket.jquery.core.IJQueryWidgetpublic void onBeforeRender(com.googlecode.wicket.jquery.core.JQueryBehavior behavior)
onBeforeRender in interface com.googlecode.wicket.jquery.core.IJQueryWidgetpublic Locale getLocale()
getLocale in class org.apache.wicket.Componentpublic final String getTextFormat()
getTextFormat in interface org.apache.wicket.markup.html.form.AbstractTextComponent.ITextFormatProviderAbstractTextComponent.ITextFormatProvider.getTextFormat()public <C> org.apache.wicket.util.convert.IConverter<C> getConverter(Class<C> type)
getConverter in interface org.apache.wicket.IConverterLocatorgetConverter in class org.apache.wicket.Componenttype - The type for which the convertor should workTextFieldpublic String getModelObjectAsString()
protected abstract String getMethod()
public String getInput()
getInput in class org.apache.wicket.markup.html.form.FormComponent<T>public com.googlecode.wicket.jquery.core.JQueryBehavior newWidgetBehavior(String selector)
newWidgetBehavior in interface com.googlecode.wicket.jquery.core.IJQueryWidgetCopyright © 2021 7thWeb. All rights reserved.