public class ServiceTypeDropDownChoice extends org.apache.wicket.markup.html.form.DropDownChoice<ServiceTypeModel>
NO_SELECTION_VALUE
FLAG_CONVERT_EMPTY_INPUT_STRING_TO_NULL, VALUE_SEPARATOR
Constructor and Description |
---|
ServiceTypeDropDownChoice(String gridId,
String componentId) |
ServiceTypeDropDownChoice(String gridId,
String domainId,
String componentId) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
getDefaultChoice(Object selected) |
ServiceTypeModel |
getDefaultServiceType() |
int |
getModelCount() |
ServiceTypeModel |
getSelectedType() |
protected List<ServiceTypeModel> |
getServiceTypeList(String gridId) |
protected List<ServiceTypeModel> |
getServiceTypeList(String gridId,
String domainId) |
boolean |
isSelected() |
void |
setModelById(String typeId) |
protected void |
setServiceTypeList(List<ServiceTypeModel> list) |
getStatelessHint, onComponentTag, onSelectionChanged, onSelectionChanged, wantOnSelectionChangedNotifications
convertChoiceIdToChoice, convertValue, getModelValue, getNoSelectionValue, getNullKey, getNullValidKey, isNullValid, isSelected, setNullValid
appendOptionHtml, detachModel, escapeOptionHtml, getChoiceRenderer, getChoices, isDisabled, localizeDisplayValues, onComponentTagBody, setChoiceRenderer, setChoices, setChoices, supportsPersistence
add, add, checkRequired, clearInput, convertInput, error, getConvertedInput, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isInputNullable, isMultiPart, isPersistent, isRequired, isValid, newValidatable, onDetach, onDisabled, onInvalid, onValid, processChildren, processInput, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setModelValue, setPersistent, setRequired, setType, shouldTrimInput, trim, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrder
getLabel, setLabelInternal
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onConfigure, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
public ServiceTypeDropDownChoice(String gridId, String componentId) throws ServiceManagerException
ServiceManagerException
public ServiceTypeDropDownChoice(String gridId, String domainId, String componentId) throws ServiceManagerException
ServiceManagerException
public CharSequence getDefaultChoice(Object selected)
getDefaultChoice
in class org.apache.wicket.markup.html.form.AbstractSingleSelectChoice<ServiceTypeModel>
public ServiceTypeModel getSelectedType()
public boolean isSelected()
protected List<ServiceTypeModel> getServiceTypeList(String gridId) throws ServiceManagerException
ServiceManagerException
protected List<ServiceTypeModel> getServiceTypeList(String gridId, String domainId) throws ServiceManagerException
ServiceManagerException
protected void setServiceTypeList(List<ServiceTypeModel> list)
public ServiceTypeModel getDefaultServiceType()
public int getModelCount()
public void setModelById(String typeId)