T - the model object typepublic class Palette<T>
extends org.apache.wicket.extensions.markup.html.form.palette.Palette<T>
| Constructor and Description |
|---|
Palette(java.lang.String id,
org.apache.wicket.model.IModel<? extends java.util.Collection<? extends T>> choicesModel,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> choiceRenderer,
int rows,
boolean allowOrder) |
Palette(java.lang.String id,
org.apache.wicket.model.IModel<? extends java.util.List<? extends T>> model,
org.apache.wicket.model.IModel<? extends java.util.Collection<? extends T>> choicesModel,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> choiceRenderer,
int rows,
boolean allowOrder) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.Component |
newAddComponent() |
protected org.apache.wicket.Component |
newDownComponent() |
protected org.apache.wicket.Component |
newRemoveComponent() |
protected org.apache.wicket.Component |
newUpComponent() |
buildJSCall, getAddAllOnClickJS, getAdditionalAttributesForChoices, getAdditionalAttributesForSelection, getAddOnClickJS, getChoiceRenderer, getChoices, getChoicesComponent, getChoicesOnFocusJS, getCSS, getDownOnClickJS, getModelCollection, getRecorderComponent, getRemoveAllOnClickJS, getRemoveOnClickJS, getRows, getSelectedChoices, getSelectionComponent, getSelectionOnFocusJS, getUnselectedChoices, getUpOnClickJS, isPaletteEnabled, localizeDisplayValues, newAddAllComponent, newAvailableHeader, newChoicesComponent, newRecorderComponent, newRemoveAllComponent, newSelectedHeader, newSelectionComponent, onBeforeRender, onDetach, renderHead, updateModelgetModel, getModelObject, setModel, setModelObjectgetWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, 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, detachModel, 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, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onComponentTag, onConfigure, onEvent, onInitialize, 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, wrappublic Palette(java.lang.String id,
org.apache.wicket.model.IModel<? extends java.util.Collection<? extends T>> choicesModel,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> choiceRenderer,
int rows,
boolean allowOrder)
id - Component idchoicesModel - Model representing collection of all available choiceschoiceRenderer - Render used to render choices. This must use unique IDs for the objects, not the index.rows - Number of choices to be visible on the screen with out scrollingallowOrder - Allow user to move selections up and downpublic Palette(java.lang.String id,
org.apache.wicket.model.IModel<? extends java.util.List<? extends T>> model,
org.apache.wicket.model.IModel<? extends java.util.Collection<? extends T>> choicesModel,
org.apache.wicket.markup.html.form.IChoiceRenderer<T> choiceRenderer,
int rows,
boolean allowOrder)
id - Component idmodel - Model representing collection of user's selectionschoicesModel - Model representing collection of all available choiceschoiceRenderer - Render used to render choices. This must use unique IDs for the objects, not the index.rows - Number of choices to be visible on the screen with out scrollingallowOrder - Allow user to move selections up and downprotected org.apache.wicket.Component newAddComponent()
newAddComponent in class org.apache.wicket.extensions.markup.html.form.palette.Palette<T>protected org.apache.wicket.Component newRemoveComponent()
newRemoveComponent in class org.apache.wicket.extensions.markup.html.form.palette.Palette<T>protected org.apache.wicket.Component newUpComponent()
newUpComponent in class org.apache.wicket.extensions.markup.html.form.palette.Palette<T>protected org.apache.wicket.Component newDownComponent()
newDownComponent in class org.apache.wicket.extensions.markup.html.form.palette.Palette<T>Copyright © 2014 7thWeb. All Rights Reserved.