Uses of Interface
org.apache.wicket.model.IModel
-
-
Uses of IModel in org.apache.wicket
Methods in org.apache.wicket that return IModel Modifier and Type Method Description IModel<?>Component. getDefaultModel()Gets the model.IModel<?>IGenericComponent. getDefaultModel()IModel<?>Component. getInnermostModel()protected IModel<?>Component. getInnermostModel(IModel<?> model)Finds the innermost IModel object for an IModel that might contain nested IModel(s).default IModel<T>IGenericComponent. getModel()Typesafe getter for the modelprotected IModel<?>AttributeModifier. getReplaceModel()Gets the replacement model.protected IModel<?>Component. initModel()Called when a null model is about to be retrieved in order to allow a subclass to provide an initial model.protected <V> IModel<V>Component. wrap(IModel<V> model)Methods in org.apache.wicket with parameters of type IModel Modifier and Type Method Description static AttributeAppenderAttributeModifier. append(java.lang.String attributeName, IModel<?> value)Creates a attribute modifier that appends the current value with the givenvalueusing a default space character (' ') separator.protected IModel<?>Component. getInnermostModel(IModel<?> model)Finds the innermost IModel object for an IModel that might contain nested IModel(s).java.lang.StringComponent. getString(java.lang.String key, IModel<?> model)java.lang.StringComponent. getString(java.lang.String key, IModel<?> model, java.lang.String defaultValue)java.lang.StringLocalizer. getString(java.lang.String key, Component component, IModel<?> model)java.lang.StringLocalizer. getString(java.lang.String key, Component component, IModel<?> model, java.lang.String defaultValue)java.lang.StringLocalizer. getString(java.lang.String key, Component component, IModel<?> model, java.util.Locale locale, java.lang.String style, java.lang.String defaultValue)Get the localized string using all of the supplied parameters.java.lang.StringLocalizer. getString(java.lang.String key, Component component, IModel<?> model, java.util.Locale locale, java.lang.String style, IModel<java.lang.String> defaultValue)Get the localized string using all of the supplied parameters.java.lang.StringLocalizer. getStringIgnoreSettings(java.lang.String key, Component component, IModel<?> model, java.lang.String defaultValue)java.lang.StringLocalizer. getStringIgnoreSettings(java.lang.String key, Component component, IModel<?> model, java.util.Locale locale, java.lang.String style, java.lang.String defaultValue)This is similar toLocalizer.getString(String, Component, IModel, String)except that the resource settings are ignored.static AttributeAppenderAttributeModifier. prepend(java.lang.String attributeName, IModel<?> value)Creates a attribute modifier that prepends the current value with the givenvalueusing a default space character (' ') separator.static AttributeModifierAttributeModifier. replace(java.lang.String attributeName, IModel<?> value)Creates a attribute modifier that replaces the current value with the given value.booleanComponent. sameInnermostModel(IModel<?> model)ComponentComponent. setDefaultModel(IModel<?> model)Sets the given model.ComponentIGenericComponent. setDefaultModel(IModel<?> model)MarkupContainerMarkupContainer. setDefaultModel(IModel<?> model)default CIGenericComponent. setModel(IModel<T> model)Typesafe setter for the modeljava.lang.StringLocalizer. substitutePropertyExpressions(Component component, java.lang.String string, IModel<?> model)Helper method to handle property variable substitution in strings.protected <V> IModel<V>Component. wrap(IModel<V> model)Constructors in org.apache.wicket with parameters of type IModel Constructor Description AttributeModifier(java.lang.String attribute, IModel<?> replaceModel)Create a new attribute modifier with the given attribute name and model to replace with.Component(java.lang.String id, IModel<?> model)Constructor.MarkupContainer(java.lang.String id, IModel<?> model)Page(IModel<?> model)Constructor. -
Uses of IModel in org.apache.wicket.ajax.markup.html
Constructors in org.apache.wicket.ajax.markup.html with parameters of type IModel Constructor Description AjaxFallbackLink(java.lang.String id, IModel<T> model)Construct.AjaxLink(java.lang.String id, IModel<T> model)Construct. -
Uses of IModel in org.apache.wicket.ajax.markup.html.form
Constructors in org.apache.wicket.ajax.markup.html.form with parameters of type IModel Constructor Description AjaxButton(java.lang.String id, IModel<java.lang.String> model)Construct.AjaxButton(java.lang.String id, IModel<java.lang.String> model, Form<?> form)Construct.AjaxCheckBox(java.lang.String id, IModel<java.lang.Boolean> model)Construct.AjaxFallbackButton(java.lang.String id, IModel<java.lang.String> model, Form<?> form)Construct. -
Uses of IModel in org.apache.wicket.behavior
Constructors in org.apache.wicket.behavior with parameters of type IModel Constructor Description AttributeAppender(java.lang.String attribute, IModel<?> replaceModel)Creates an attribute modifier that concatenates thereplaceModelto the attribute's current value, optionally separated by theseparator.AttributeAppender(java.lang.String attribute, IModel<?> appendModel, java.lang.String separator)Creates an AttributeModifier that appends the appendModel's value to the current value of the attribute, and will add the attribute when it is not there already. -
Uses of IModel in org.apache.wicket.feedback
Classes in org.apache.wicket.feedback that implement IModel Modifier and Type Class Description classFeedbackMessagesModelModel for extracting feedback messages. -
Uses of IModel in org.apache.wicket.markup.head
Methods in org.apache.wicket.markup.head with parameters of type IModel Modifier and Type Method Description static MetaDataHeaderItemHtmlImportHeaderItem. forImportLinkTag(java.lang.Class<? extends Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters, IModel<java.lang.String> media)Factory method to create lt;link> tag for html import.static MetaDataHeaderItemHtmlImportHeaderItem. forImportLinkTag(java.lang.Class<? extends Page> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters, IModel<java.lang.String> media, boolean async)Factory method to create lt;link> tag for html import.static MetaDataHeaderItemHtmlImportHeaderItem. forImportLinkTag(IModel<java.lang.String> href)Factory method to create <link> tag.static MetaDataHeaderItemHtmlImportHeaderItem. forImportLinkTag(IModel<java.lang.String> href, boolean async)Factory method to create <link> tag.static MetaDataHeaderItemHtmlImportHeaderItem. forLinkTag(IModel<java.lang.String> rel, IModel<java.lang.String> href, IModel<java.lang.String> media)Factory method to create <link> tag.static MetaDataHeaderItemMetaDataHeaderItem. forLinkTag(IModel<java.lang.String> rel, IModel<java.lang.String> href)Factory method to create <link> tag.static MetaDataHeaderItemMetaDataHeaderItem. forMetaTag(IModel<java.lang.String> name, IModel<java.lang.String> content)Factory method to create <meta> tag. -
Uses of IModel in org.apache.wicket.markup.html
Constructors in org.apache.wicket.markup.html with parameters of type IModel Constructor Description GenericWebMarkupContainer(java.lang.String id, IModel<?> model)GenericWebPage(IModel<T> model)WebComponent(java.lang.String id, IModel<?> model)WebMarkupContainer(java.lang.String id, IModel<?> model)WebPage(IModel<?> model) -
Uses of IModel in org.apache.wicket.markup.html.basic
Constructors in org.apache.wicket.markup.html.basic with parameters of type IModel Constructor Description EnumLabel(java.lang.String id, IModel<T> model)Label(java.lang.String id, IModel<?> model)MultiLineLabel(java.lang.String id, IModel<?> model) -
Uses of IModel in org.apache.wicket.markup.html.border
Constructors in org.apache.wicket.markup.html.border with parameters of type IModel Constructor Description Body(java.lang.String id, IModel<?> model, MarkupContainer markupProvider)Construct.Border(java.lang.String id, IModel<?> model)BorderPanel(java.lang.String id, IModel<?> model) -
Uses of IModel in org.apache.wicket.markup.html.form
Methods in org.apache.wicket.markup.html.form that return IModel Modifier and Type Method Description IModel<? extends java.util.List<? extends E>>AbstractChoice. getChoicesModel()IModel<T>ILabelProvider. getLabel()The value will be made available to the validator property by means of ${label}.IModel<java.lang.String>LabeledWebMarkupContainer. getLabel()protected IModel<java.lang.String>Button. initModel()Override of the default initModel behaviour.Methods in org.apache.wicket.markup.html.form with parameters of type IModel Modifier and Type Method Description TChoiceRenderer. getObject(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)TIChoiceRenderer. getObject(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)This method is called to get an object back from its id representation.AbstractChoice<T,E>AbstractChoice. setChoices(IModel<? extends java.util.List<? extends E>> choices)Sets the list of choicesImageButtonImageButton. setDefaultModel(IModel<?> model)Check<T>Check. setLabel(IModel<java.lang.String> labelModel)The value will be made available to the validator property by means of ${label}.FormComponent<T>FormComponent. setLabel(IModel<java.lang.String> labelModel)The value will be made available to the validator property by means of ${label}.LabeledWebMarkupContainerLabeledWebMarkupContainer. setLabel(IModel<java.lang.String> labelModel)Provide internal setter.Radio<T>Radio. setLabel(IModel<java.lang.String> labelModel)The value will be made available to the validator property by means of ${label}.NumberTextField<N>NumberTextField. setMaximum(IModel<N> maximum)Sets the maximum allowed valueNumberTextField<N>NumberTextField. setMinimum(IModel<N> minimum)Sets the minimum allowed valueNumberTextField<N>NumberTextField. setStep(IModel<N> step)Sets the step attributeConstructors in org.apache.wicket.markup.html.form with parameters of type IModel Constructor Description AbstractChoice(java.lang.String id, IModel<? extends java.util.List<? extends E>> choices)Constructor.AbstractChoice(java.lang.String id, IModel<? extends java.util.List<? extends E>> choices, IChoiceRenderer<? super E> renderer)Constructor.AbstractChoice(java.lang.String id, IModel<T> model, java.util.List<? extends E> choices)Constructor.AbstractChoice(java.lang.String id, IModel<T> model, java.util.List<? extends E> choices, IChoiceRenderer<? super E> renderer)Constructor.AbstractChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends E>> choices)Constructor.AbstractChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends E>> choices, IChoiceRenderer<? super E> renderer)Constructor.AbstractSingleSelectChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)Constructor.AbstractSingleSelectChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)Constructor.AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices)Constructor.AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer)Constructor.AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)Constructor.AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)Constructor.AbstractSubmitLink(java.lang.String id, IModel<?> model)Construct.AbstractSubmitLink(java.lang.String id, IModel<?> model, Form<?> form)Construct.AbstractTextComponent(java.lang.String id, IModel<T> model)Button(java.lang.String id, IModel<java.lang.String> model)Constructor taking an model for rendering the 'label' of the button (the value attribute of the input/button tag).Check(java.lang.String id, IModel<T> model)Check(java.lang.String id, IModel<T> model, CheckGroup<T> group)CheckBox(java.lang.String id, IModel<java.lang.Boolean> model)CheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> model, java.util.List<? extends T> choices)ConstructorCheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> model, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer)ConstructorCheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices)ConstructorCheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ConstructorCheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)ConstructorCheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ConstructorCheckGroup(java.lang.String id, IModel<? extends java.util.Collection<T>> model)DropDownChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)Constructor.DropDownChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)Constructor.DropDownChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices)Constructor.DropDownChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer)Constructor.DropDownChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)Constructor.DropDownChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)Constructor.EmailTextField(java.lang.String id, IModel<java.lang.String> model)Construct.EmailTextField(java.lang.String id, IModel<java.lang.String> model, IValidator<java.lang.String> emailValidator)Construct.Form(java.lang.String id, IModel<T> model)FormComponent(java.lang.String id, IModel<T> model)FormComponentPanel(java.lang.String id, IModel<T> model)Constructor.HiddenField(java.lang.String id, IModel<T> model)Construct.HiddenField(java.lang.String id, IModel<T> model, java.lang.Class<T> type)ImageButton(java.lang.String id, IModel<java.lang.String> model)LabeledWebMarkupContainer(java.lang.String id, IModel<?> model)ListChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)ListChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ListChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices)ListChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, int maxRows)ListChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer)ListChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer, int maxRows)ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer, int maxRows)ListMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> object, java.util.List<? extends T> choices)ListMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> object, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer)ListMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices)ListMultipleChoice(java.lang.String id, IModel<? extends java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ListMultipleChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)ListMultipleChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)NumberTextField(java.lang.String id, IModel<N> model)Construct.NumberTextField(java.lang.String id, IModel<N> model, java.lang.Class<N> type)Construct.PasswordTextField(java.lang.String id, IModel<java.lang.String> model)Radio(java.lang.String id, IModel<T> model)Radio(java.lang.String id, IModel<T> model, RadioGroup<T> group)RadioChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)ConstructorRadioChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ConstructorRadioChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices)ConstructorRadioChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<? super T> renderer)ConstructorRadioChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)ConstructorRadioChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<? super T> renderer)ConstructorRadioGroup(java.lang.String id, IModel<T> model)RangeTextField(java.lang.String id, IModel<N> model)Construct.RangeTextField(java.lang.String id, IModel<N> model, java.lang.Class<N> type)Construct.RequiredTextField(java.lang.String id, IModel<T> model)RequiredTextField(java.lang.String id, IModel<T> model, java.lang.Class<T> type)StatelessForm(java.lang.String id, IModel<T> model)Construct.SubmitLink(java.lang.String id, IModel<?> model)With this constructor the SubmitLink must be inside a Form.SubmitLink(java.lang.String id, IModel<?> model, Form<?> form)With this constructor the SubmitLink will submit theFormthat is given when the link is clicked on.TextArea(java.lang.String id, IModel<T> model)TextField(java.lang.String id, IModel<T> model)TextField(java.lang.String id, IModel<T> model, java.lang.Class<T> type)UrlTextField(java.lang.String id, IModel<java.lang.String> model)Construct.UrlTextField(java.lang.String id, IModel<java.lang.String> model, UrlValidator urlValidator)Construct. -
Uses of IModel in org.apache.wicket.markup.html.form.upload
Constructors in org.apache.wicket.markup.html.form.upload with parameters of type IModel Constructor Description FileUploadField(java.lang.String id, IModel<? extends java.util.List<FileUpload>> model)MultiFileUploadField(java.lang.String id, IModel<? extends java.util.Collection<FileUpload>> model)ConstructorMultiFileUploadField(java.lang.String id, IModel<? extends java.util.Collection<FileUpload>> model, int max)ConstructorMultiFileUploadField(java.lang.String id, IModel<? extends java.util.Collection<FileUpload>> model, int max, boolean useMultipleAttr)Constructor -
Uses of IModel in org.apache.wicket.markup.html.image
Methods in org.apache.wicket.markup.html.image that return IModel Modifier and Type Method Description IModel<java.util.List<java.io.Serializable>>ExternalImage. getSrcSetModel()Gets a list of models containing the src set valuesprotected IModel<?>Image. initModel()Methods in org.apache.wicket.markup.html.image with parameters of type IModel Modifier and Type Method Description protected voidExternalImage. buildSrcAttribute(ComponentTag tag, IModel<?> srcModel)Builds the src attributeprotected voidExternalImage. buildSrcSetAttribute(ComponentTag tag, IModel<java.util.List<java.io.Serializable>> srcSetModel)Builds the srcset attribute if multiple models are found as varargsComponentImage. setDefaultModel(IModel<?> model)voidExternalImage. setSrcSetModel(IModel<java.util.List<java.io.Serializable>> srcSetModel)Sets the source set modelConstructors in org.apache.wicket.markup.html.image with parameters of type IModel Constructor Description ContextImage(java.lang.String id, IModel<java.lang.String> contextRelativePath)ConstructorContextPathGenerator(IModel<java.lang.String> contextRelativePath)ConstructorExternalImage(java.lang.String id, IModel<java.io.Serializable> srcModel)Creates an external imageExternalImage(java.lang.String id, IModel<java.io.Serializable> srcModel, IModel<java.util.List<java.io.Serializable>> srcSetModel)Creates an external imageExternalSource(java.lang.String id, IModel<java.util.List<java.io.Serializable>> srcSetModel)Creates an external sourceImage(java.lang.String id, IModel<?> model)InlineImage(java.lang.String id, IModel<?> model, PackageResourceReference packageResourceReference)Creates an inline imageNonCachingImage(java.lang.String id, IModel<?> model)Construct.Picture(java.lang.String id, IModel<?> model)Creates a picture componentSource(java.lang.String id, IModel<?> model)Creates a source for a picture -
Uses of IModel in org.apache.wicket.markup.html.include
Constructors in org.apache.wicket.markup.html.include with parameters of type IModel Constructor Description Include(java.lang.String id, IModel<java.lang.String> model)Construct. -
Uses of IModel in org.apache.wicket.markup.html.link
Methods in org.apache.wicket.markup.html.link that return IModel Modifier and Type Method Description IModel<?>AbstractLink. getBody()Methods in org.apache.wicket.markup.html.link with parameters of type IModel Modifier and Type Method Description AbstractLinkAbstractLink. setBody(IModel<?> bodyModel)Sets the link's body modelConstructors in org.apache.wicket.markup.html.link with parameters of type IModel Constructor Description AbstractLink(java.lang.String id, IModel<?> model)Construct.DownloadLink(java.lang.String id, IModel<java.io.File> model)Constructor.DownloadLink(java.lang.String id, IModel<java.io.File> model, java.lang.String fileName)Constructor.DownloadLink(java.lang.String id, IModel<java.io.File> fileModel, IModel<java.lang.String> fileNameModel)Constructor.ExternalLink(java.lang.String id, IModel<java.lang.String> href)Constructor.ExternalLink(java.lang.String id, IModel<java.lang.String> href, IModel<?> label)Constructor.Link(java.lang.String id, IModel<T> model)PopupCloseLink(java.lang.String id, IModel<T> object)Constructor -
Uses of IModel in org.apache.wicket.markup.html.list
Classes in org.apache.wicket.markup.html.list that implement IModel Modifier and Type Class Description classListItemModel<T>Model for list items.Methods in org.apache.wicket.markup.html.list that return IModel Modifier and Type Method Description protected IModel<T>ListView. getListItemModel(IModel<? extends java.util.List<T>> listViewModel, int index)Subclasses may provide their own ListItemModel with extended functionality.protected IModel<T>PropertyListView. getListItemModel(IModel<? extends java.util.List<T>> model, int index)Wraps a ListItemModel in a CompoundPropertyModel.IModel<? extends java.util.List<T>>ListView. getModel()Gets modelMethods in org.apache.wicket.markup.html.list with parameters of type IModel Modifier and Type Method Description protected IModel<T>ListView. getListItemModel(IModel<? extends java.util.List<T>> listViewModel, int index)Subclasses may provide their own ListItemModel with extended functionality.protected IModel<T>PropertyListView. getListItemModel(IModel<? extends java.util.List<T>> model, int index)Wraps a ListItemModel in a CompoundPropertyModel.protected ListItem<T>ListView. newItem(int index, IModel<T> itemModel)Create a new ListItem for list item at index.voidListView. setModel(IModel<? extends java.util.List<T>> model)Sets modelConstructors in org.apache.wicket.markup.html.list with parameters of type IModel Constructor Description AbstractItem(long id, IModel<?> model)ConstructorAbstractItem(java.lang.String id, IModel<?> model)ConstructorListItem(int index, IModel<T> model)A constructor which uses the index and the list provided to create a ListItem.ListItem(java.lang.String id, int index, IModel<T> model)ListView(java.lang.String id, IModel<? extends java.util.List<T>> model)Loop(java.lang.String id, IModel<java.lang.Integer> model)Construct.LoopItem(int index, IModel<?> model)A constructor which uses the index and the list provided to create a ListItem.LoopItem(java.lang.String id, int index, IModel<?> model)ConstructorOddEvenListItem(int index, IModel<T> model)ConstructorPageableListView(java.lang.String id, IModel<? extends java.util.List<T>> model, long itemsPerPage)ConstructorPropertyListView(java.lang.String id, IModel<? extends java.util.List<T>> model)Construct with a model. -
Uses of IModel in org.apache.wicket.markup.html.media
Constructors in org.apache.wicket.markup.html.media with parameters of type IModel Constructor Description MediaComponent(java.lang.String id, IModel<?> model)Constructor.MediaComponent(java.lang.String id, IModel<?> model, java.lang.String url)Creates a media componentMediaComponent(java.lang.String id, IModel<?> model, java.lang.String url, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates a media componentMediaComponent(java.lang.String id, IModel<?> model, ResourceReference resourceReference)Creates a media componentMediaComponent(java.lang.String id, IModel<?> model, ResourceReference resourceReference, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates a media componentSource(java.lang.String id, IModel<?> model)Creates a sourceSource(java.lang.String id, IModel<?> model, java.lang.String url)Creates a sourceSource(java.lang.String id, IModel<?> model, ResourceReference resourceReference)Creates a sourceSource(java.lang.String id, IModel<?> model, ResourceReference resourceReference, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates a sourceTrack(java.lang.String id, IModel<?> model)Creates a trackTrack(java.lang.String id, IModel<?> model, java.lang.String url)Creates a trackTrack(java.lang.String id, IModel<?> model, ResourceReference resourceReference)Creates a trackTrack(java.lang.String id, IModel<?> model, ResourceReference resourceReference, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates a track -
Uses of IModel in org.apache.wicket.markup.html.media.audio
Constructors in org.apache.wicket.markup.html.media.audio with parameters of type IModel Constructor Description Audio(java.lang.String id, IModel<?> model)Creates an audio componentAudio(java.lang.String id, IModel<?> model, java.lang.String url)Creates an audio componentAudio(java.lang.String id, IModel<?> model, java.lang.String url, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates an audio componentAudio(java.lang.String id, IModel<?> model, ResourceReference resourceReference)Creates an audio componentAudio(java.lang.String id, IModel<?> model, ResourceReference resourceReference, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates an audio component -
Uses of IModel in org.apache.wicket.markup.html.media.video
Constructors in org.apache.wicket.markup.html.media.video with parameters of type IModel Constructor Description Video(java.lang.String id, IModel<?> model)Creates a video componentVideo(java.lang.String id, IModel<?> model, java.lang.String url)Creates a video componentVideo(java.lang.String id, IModel<?> model, java.lang.String url, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates a video componentVideo(java.lang.String id, IModel<?> model, ResourceReference resourceReference)Creates a video componentVideo(java.lang.String id, IModel<?> model, ResourceReference resourceReference, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)Creates a video component -
Uses of IModel in org.apache.wicket.markup.html.pages
Methods in org.apache.wicket.markup.html.pages with parameters of type IModel Modifier and Type Method Description protected Form<ClientProperties>BrowserInfoForm. createForm(java.lang.String componentId, IModel<ClientProperties> properties)Creates the formConstructors in org.apache.wicket.markup.html.pages with parameters of type IModel Constructor Description AbstractErrorPage(IModel<?> model)BrowserInfoForm(java.lang.String id, IModel<ClientProperties> properties)Constructor. -
Uses of IModel in org.apache.wicket.markup.html.panel
Methods in org.apache.wicket.markup.html.panel with parameters of type IModel Modifier and Type Method Description protected ListItem<FeedbackMessage>FeedbackPanel. newMessageItem(int index, IModel<FeedbackMessage> itemModel)Allows to define the listItem to use in the feedback's message list.Constructors in org.apache.wicket.markup.html.panel with parameters of type IModel Constructor Description Fragment(java.lang.String id, java.lang.String markupId, MarkupContainer markupProvider, IModel<?> model)Constructor.GenericPanel(java.lang.String id, IModel<T> model)Panel(java.lang.String id, IModel<?> model) -
Uses of IModel in org.apache.wicket.markup.repeater
Methods in org.apache.wicket.markup.repeater that return types with arguments of type IModel Modifier and Type Method Description protected java.util.Iterator<IModel<T>>AbstractPageableView. getItemModels()This method retrieves the subset of models for items in the current page and allows RefreshingView to generate items.protected abstract java.util.Iterator<IModel<T>>AbstractPageableView. getItemModels(long offset, long size)Returns an iterator over models for items in the current pageprotected abstract java.util.Iterator<IModel<T>>RefreshingView. getItemModels()Returns an iterator over models for items that will be added to this viewMethods in org.apache.wicket.markup.repeater with parameters of type IModel Modifier and Type Method Description Item<T>IItemFactory. newItem(int index, IModel<T> model)Factory method for instances of Item.protected Item<T>RefreshingView. newItem(java.lang.String id, int index, IModel<T> model)Factory method for Item container.Method parameters in org.apache.wicket.markup.repeater with type arguments of type IModel Modifier and Type Method Description <T> java.util.Iterator<Item<T>>DefaultItemReuseStrategy. getItems(IItemFactory<T> factory, java.util.Iterator<IModel<T>> newModels, java.util.Iterator<Item<T>> existingItems)<T> java.util.Iterator<Item<T>>IItemReuseStrategy. getItems(IItemFactory<T> factory, java.util.Iterator<IModel<T>> newModels, java.util.Iterator<Item<T>> existingItems)Returns an iterator over items that will be added to the view.<T> java.util.Iterator<Item<T>>ReuseIfModelsEqualStrategy. getItems(IItemFactory<T> factory, java.util.Iterator<IModel<T>> newModels, java.util.Iterator<Item<T>> existingItems)Constructors in org.apache.wicket.markup.repeater with parameters of type IModel Constructor Description AbstractPageableView(java.lang.String id, IModel<? extends java.util.Collection<? extends T>> model)ConstructorAbstractRepeater(java.lang.String id, IModel<?> model)ConstructorItem(java.lang.String id, int index, IModel<T> model)ConstructorOddEvenItem(java.lang.String id, int index, IModel<T> model)ConstructorRefreshingView(java.lang.String id, IModel<?> model)ConstructorRepeatingView(java.lang.String id, IModel<?> model) -
Uses of IModel in org.apache.wicket.markup.repeater.data
Methods in org.apache.wicket.markup.repeater.data that return IModel Modifier and Type Method Description IModel<T>EmptyDataProvider. model(java.lang.Object object)IModel<T>IDataProvider. model(T object)Callback used by the consumer of this data provider to wrap objects retrieved fromIDataProvider.iterator(long, long)with a model (usually a detachable one).IModel<T>ListDataProvider. model(T object)Methods in org.apache.wicket.markup.repeater.data that return types with arguments of type IModel Modifier and Type Method Description protected java.util.Iterator<IModel<T>>DataViewBase. getItemModels(long offset, long count) -
Uses of IModel in org.apache.wicket.markup.repeater.util
Methods in org.apache.wicket.markup.repeater.util that return IModel Modifier and Type Method Description protected abstract IModel<T>ArrayIteratorAdapter. model(T object)This method is used to wrap the provided object with an implementation of IModel.protected abstract IModel<T>ModelIteratorAdapter. model(T object)This method is used to wrap the provided object with an implementation of IModel.IModel<T>ArrayIteratorAdapter. next()IModel<T>ModelIteratorAdapter. next() -
Uses of IModel in org.apache.wicket.markup.transformer
Constructors in org.apache.wicket.markup.transformer with parameters of type IModel Constructor Description AbstractOutputTransformerContainer(java.lang.String id, IModel<?> model)ConstructNoopOutputTransformerContainer(java.lang.String id, IModel<?> model)ConstructXsltOutputTransformerContainer(java.lang.String id, IModel<?> model)ConstructXsltOutputTransformerContainer(java.lang.String id, IModel<?> model, java.lang.String xslFilePath)Instead of using the default mechanism to determine the associated XSL file, it is given by the user. -
Uses of IModel in org.apache.wicket.model
Subinterfaces of IModel in org.apache.wicket.model Modifier and Type Interface Description interfaceIComponentAssignedModel<T>Models that wish to substitute themselves with a wrapper when they are bound to a component (either through IModel parameter in a constructor or via a call toComponent.setDefaultModel(IModel)) should implement this interface.interfaceIComponentInheritedModel<T>This is a marker interface for models that can be inherited from components higher in the hierarchy.interfaceIObjectClassAwareModel<T>Interface implemented by model that can provide class of the model object.interfaceIPropertyReflectionAwareModel<T>Optional interface implemented by models that are able to provide reflection information about object property they interact with.interfaceIWrapModel<T>A marker interface that represents a model that serves as a wrapper for another.Classes in org.apache.wicket.model that implement IModel Modifier and Type Class Description classAbstractPropertyModel<T>Serves as a base class for different kinds of property models.classAbstractWrapModel<T>Simple base class for IWrapModel objects seeIComponentAssignedModelorIComponentInheritedModelso that you don't have to have empty methods like detach or setObject() when not used in the wrapper.classChainingModel<T>Default implementation of IChainingModelclassComponentDetachableModel<T>Quick detachable model that is implements the IComponentAssignedModel and the IModel interfaces.classComponentModel<T>Quick model that is implements the IComponentAssignedModel and the IModel interfaces.classComponentPropertyModel<T>A model that references a property by name on the current model of the component it is bound to.classCompoundPropertyModel<T>A simple compound model which uses the component's name as the property expression to retrieve properties on the nested model object.classLambdaModel<T>LambdaModelis a basic implementation of anIModelthat uses a serializableSupplierto get the object andConsumerto set it.classLoadableDetachableModel<T>Model that makes working with detachable models a breeze.classModel<T extends java.io.Serializable>Modelis the basic implementation of anIModel.classPropertyModel<T>A PropertyModel is used to dynamically access a model using a "property expression".classResourceModelA model that represents a localized resource string.classStringResourceModelThis model class encapsulates the full power of localization support within the Wicket framework.Methods in org.apache.wicket.model that return IModel Modifier and Type Method Description <S> IModel<S>CompoundPropertyModel. bind(java.lang.String property)Binds this model to a special property by returning a model that has this compound model as its nested/wrapped model and the property which should be evaluated.default <R,U>
IModel<R>IModel. combineWith(IModel<U> other, org.danekja.java.util.function.serializable.SerializableBiFunction<? super T,? super U,R> combiner)Returns aIModelapplying the given combining function to the current model object and to the one from the other model, if they are notnull.default IModel<T>IModel. filter(org.danekja.java.util.function.serializable.SerializablePredicate<? super T> predicate)Returns a IModel checking whether the predicate holds for the contained object, if it is notnull.default <R> IModel<R>IModel. flatMap(org.danekja.java.util.function.serializable.SerializableFunction<? super T,IModel<R>> mapper)Returns a IModel applying the given IModel-bearing mapper to the contained object, if it is notnull.IModel<?>IWrapModel. getWrappedModel()Gets the wrapped model.default IModel<java.lang.Boolean>IModel. isPresent()Returns a IModel, returning whether the contained object is non-null.default <R> IModel<R>IModel. map(org.danekja.java.util.function.serializable.SerializableFunction<? super T,R> mapper)Returns a IModel applying the given mapper to the contained object, if it is notnull.static <T> IModel<T>IModel. of(IModel<?> model)Suppresses generics warning when casting model types.static <X,R>
IModel<R>LambdaModel. of(IModel<X> target, org.danekja.java.util.function.serializable.SerializableFunction<X,R> getter, org.danekja.java.util.function.serializable.SerializableBiConsumer<X,R> setter)Create aLambdaModelfor a given target.static <R> IModel<R>LambdaModel. of(org.danekja.java.util.function.serializable.SerializableSupplier<R> getter)Create a read-onlyIModel.static <R> IModel<R>LambdaModel. of(org.danekja.java.util.function.serializable.SerializableSupplier<R> getter, org.danekja.java.util.function.serializable.SerializableConsumer<R> setter)Create aLambdaModel.static <C> IModel<java.util.Collection<C>>Model. of(java.util.Collection<C> collection)Factory method for models that contain collections.static <C> IModel<java.util.List<C>>Model. ofList(java.util.List<C> list)Factory method for models that contain lists.static <K,V>
IModel<java.util.Map<K,V>>Model. ofMap(java.util.Map<K,V> map)Factory method for models that contain maps.static <C> IModel<java.util.Set<C>>Model. ofSet(java.util.Set<C> set)Factory method for models that contain sets.default IModel<T>IModel. orElse(T other)Returns a IModel, returning either the contained object or the given default value, depending on thenullness of the contained object.default IModel<T>IModel. orElseGet(org.danekja.java.util.function.serializable.SerializableSupplier<? extends T> other)Returns a IModel, returning either the contained object or invoking the given supplier to get a default value.Methods in org.apache.wicket.model with parameters of type IModel Modifier and Type Method Description default <R,U>
IModel<R>IModel. combineWith(IModel<U> other, org.danekja.java.util.function.serializable.SerializableBiFunction<? super T,? super U,R> combiner)Returns aIModelapplying the given combining function to the current model object and to the one from the other model, if they are notnull.static <Z> CompoundPropertyModel<Z>CompoundPropertyModel. of(IModel<Z> model)Type-infering factory methodstatic <T> IModel<T>IModel. of(IModel<?> model)Suppresses generics warning when casting model types.static <X,R>
IModel<R>LambdaModel. of(IModel<X> target, org.danekja.java.util.function.serializable.SerializableFunction<X,R> getter, org.danekja.java.util.function.serializable.SerializableBiConsumer<X,R> setter)Create aLambdaModelfor a given target.StringResourceModelStringResourceModel. setDefaultValue(IModel<java.lang.String> defaultValue)Sets the default value if the resource key is not found.StringResourceModelStringResourceModel. setModel(IModel<?> model)Sets the model used for property substitutions.Method parameters in org.apache.wicket.model with type arguments of type IModel Modifier and Type Method Description default <R> IModel<R>IModel. flatMap(org.danekja.java.util.function.serializable.SerializableFunction<? super T,IModel<R>> mapper)Returns a IModel applying the given IModel-bearing mapper to the contained object, if it is notnull.Constructors in org.apache.wicket.model with parameters of type IModel Constructor Description CompoundPropertyModel(IModel<T> model)ConstructorResourceModel(java.lang.String resourceKey, IModel<java.lang.String> defaultValue)StringResourceModel(java.lang.String resourceKey, Component component, IModel<?> model)Creates a new string resource model using the supplied parameters.StringResourceModel(java.lang.String resourceKey, IModel<?> model)Creates a new string resource model using the supplied parameter. -
Uses of IModel in org.apache.wicket.model.util
Classes in org.apache.wicket.model.util that implement IModel Modifier and Type Class Description classCollectionModel<T>Based onModelbut for any collections of serializable objects.classGenericBaseModel<T>Base class for models that contain instances that do not appear to be serializable and cannot thus useModeldirectly.classListModel<T>Based onModelbut for lists of serializable objects.classMapModel<K,V>Based onModelbut for maps of serializable objects.classSetModel<T>Based onModelbut for sets of serializable objects. -
Uses of IModel in org.apache.wicket.resource
Constructors in org.apache.wicket.resource with parameters of type IModel Constructor Description TextTemplateResourceReference(java.lang.Class<?> scope, java.lang.String fileName, java.lang.String contentType, java.lang.String encoding, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)Creates a resource reference to aPackageTextTemplate.TextTemplateResourceReference(java.lang.Class<?> scope, java.lang.String fileName, java.lang.String contentType, java.lang.String encoding, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel, java.util.Locale locale, java.lang.String style, java.lang.String variation)Construct.TextTemplateResourceReference(java.lang.Class<?> scope, java.lang.String fileName, java.lang.String contentType, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)Creates a resource reference to aPackageTextTemplate.TextTemplateResourceReference(java.lang.Class<?> scope, java.lang.String fileName, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)Creates a resource reference to aPackageTextTemplate. -
Uses of IModel in org.apache.wicket.util.tester
Methods in org.apache.wicket.util.tester with parameters of type IModel Modifier and Type Method Description voidWicketTester. assertComponentFeedbackMessage(Component component, java.lang.String key, IModel<?> model, IFeedbackMessageFilter filter)Asserts that there is a feedback message provided by a given component -
Uses of IModel in org.apache.wicket.validation
Methods in org.apache.wicket.validation that return IModel Modifier and Type Method Description IModel<T>IValidatable. getModel()Returns the model of the component being validatedIModel<T>Validatable. getModel()Methods in org.apache.wicket.validation with parameters of type IModel Modifier and Type Method Description voidValidatable. setModel(IModel<T> model)Sets model
-