T - the generic typepublic class LocalisedDropDownChoice<T>
extends org.apache.wicket.markup.html.form.DropDownChoice<T>
| Modifier and Type | Field and Description |
|---|---|
boolean |
defaultChoice
The default choice.
|
FLAG_CONVERT_EMPTY_INPUT_STRING_TO_NULL, VALUE_SEPARATOR| Constructor and Description |
|---|
LocalisedDropDownChoice(String id)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
org.apache.wicket.model.IModel<T> model,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
org.apache.wicket.model.IModel<T> model,
org.apache.wicket.model.IModel<? extends List<? extends T>> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
org.apache.wicket.model.IModel<T> model,
List<? extends T> choices)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
org.apache.wicket.model.IModel<T> model,
List<? extends T> data,
org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
List<? extends T> choices)
Instantiates a new localed drop down choice.
|
LocalisedDropDownChoice(String id,
List<? extends T> data,
org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
Instantiates a new localed drop down choice.
|
| Modifier and Type | Method and Description |
|---|---|
protected CharSequence |
getDefaultChoice(String selected) |
boolean |
isDefaultChoice()
Checks if is default choice.
|
protected boolean |
localizeDisplayValues() |
void |
setDefaultChoice(boolean defaultChoice)
Sets the default choice.
|
getStatelessHint, onComponentTag, onSelectionChanged, onSelectionChanged, wantOnSelectionChangedNotificationsconvertChoiceIdToChoice, convertValue, getModelValue, getNullKey, getNullKeyDisplayValue, getNullValidDisplayValue, getNullValidKey, isNullValid, isSelected, setNullValidappendOptionHtml, detachModel, escapeOptionHtml, getChoiceRenderer, getChoices, isDisabled, onComponentTagBody, setChoiceRenderer, setChoices, setChoices, setOptionAttributes, setTypeadd, add, checkRequired, clearInput, convertInput, error, getConvertedInput, getDefaultLabel, getDefaultLabel, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isInputNullable, isMultiPart, isRequired, isValid, newValidatable, newValidationError, onDetach, onDisabled, onInvalid, onRequired, onValid, processChildren, processInput, remove, reportRequiredError, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setRequired, shouldTrimInput, trim, updateAutoLabels, updateCollectionModel, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrdergetWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onConfigure, onEvent, onInitialize, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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 LocalisedDropDownChoice(String id)
id - the idpublic LocalisedDropDownChoice(String id, org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
id - the idchoices - the choicespublic LocalisedDropDownChoice(String id, org.apache.wicket.model.IModel<? extends List<? extends T>> choices, org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
id - the idchoices - the choicesrenderer - the rendererpublic LocalisedDropDownChoice(String id, org.apache.wicket.model.IModel<T> model, org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
id - the idmodel - the modelchoices - the choicespublic LocalisedDropDownChoice(String id, org.apache.wicket.model.IModel<T> model, org.apache.wicket.model.IModel<? extends List<? extends T>> choices, org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
id - the idmodel - the modelchoices - the choicesrenderer - the rendererpublic LocalisedDropDownChoice(String id, org.apache.wicket.model.IModel<T> model, List<? extends T> choices)
id - the idmodel - the modelchoices - the choicespublic LocalisedDropDownChoice(String id, org.apache.wicket.model.IModel<T> model, List<? extends T> data, org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
id - the idmodel - the modeldata - the datarenderer - the rendererpublic LocalisedDropDownChoice(String id, List<? extends T> choices)
id - the idchoices - the choicesprotected CharSequence getDefaultChoice(String selected)
getDefaultChoice in class org.apache.wicket.markup.html.form.AbstractSingleSelectChoice<T>public boolean isDefaultChoice()
protected boolean localizeDisplayValues()
public void setDefaultChoice(boolean defaultChoice)
defaultChoice - the new default choiceCopyright © 2010–2015. All rights reserved.