Uses of Interface
org.apache.wicket.model.IModel

Packages that use IModel
org.apache.wicket The core Wicket package. 
org.apache.wicket.ajax.markup.html   
org.apache.wicket.ajax.markup.html.form   
org.apache.wicket.behavior   
org.apache.wicket.feedback Classes related to showing user feedback, generally as the result of form submission and/or validation. 
org.apache.wicket.markup.html Base package of HTML markup. 
org.apache.wicket.markup.html.basic Basic HTML components. 
org.apache.wicket.markup.html.body   
org.apache.wicket.markup.html.border Border components. 
org.apache.wicket.markup.html.form HTML Forms and form components. 
org.apache.wicket.markup.html.form.upload Support for upload forms (using multipart requests). 
org.apache.wicket.markup.html.form.validation Support for form validation. 
org.apache.wicket.markup.html.image Image components. 
org.apache.wicket.markup.html.include Components for including content from non-Wicket sources. 
org.apache.wicket.markup.html.link Link components. 
org.apache.wicket.markup.html.list List components for tabular data and such. 
org.apache.wicket.markup.html.panel Panel components. 
org.apache.wicket.markup.html.resources Support classes for HTML specific resources. 
org.apache.wicket.markup.html.tree Package for Tree components. 
org.apache.wicket.markup.repeater   
org.apache.wicket.markup.repeater.data   
org.apache.wicket.markup.repeater.util   
org.apache.wicket.markup.transformer Transformers are able to post-process (transform) the output generated by a Component. 
org.apache.wicket.model Core model support for Wicket components. 
org.apache.wicket.model.util   
org.apache.wicket.util.lang Java utilities. 
org.apache.wicket.util.template Resource extensions that make working with header contributions easier and more maintainable. 
 

Uses of IModel in org.apache.wicket
 

Methods in org.apache.wicket that return IModel
 IModel<?> Component.getDefaultModel()
          Gets the model.
 IModel<?> Component.getInnermostModel()
           
protected  IModel<?> Component.getInnermostModel(IModel<?> model)
          Finds the innermost IModel object for an IModel that might contain nested IModel(s).
protected  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
protected  IModel<?> Component.getInnermostModel(IModel<?> model)
          Finds the innermost IModel object for an IModel that might contain nested IModel(s).
 java.lang.String Localizer.getString(java.lang.String key, Component component, IModel<?> model)
           
 java.lang.String Localizer.getString(java.lang.String key, Component component, IModel<?> model, java.util.Locale locale, java.lang.String style, java.lang.String defaultValue)
          This method is now deprecated.
 java.lang.String Localizer.getString(java.lang.String key, Component component, IModel<?> model, java.lang.String defaultValue)
          Get the localized string using all of the supplied parameters.
 java.lang.String Component.getString(java.lang.String key, IModel<?> model)
           
 java.lang.String Component.getString(java.lang.String key, IModel<?> model, java.lang.String defaultValue)
           
 java.lang.String Localizer.getStringIgnoreSettings(java.lang.String key, Component component, IModel<?> model, java.lang.String defaultValue)
          This is similar to Localizer.getString(String, Component, IModel, String) except that the resource settings are ignored.
 boolean Component.sameInnermostModel(IModel<?> model)
           
 Component Component.setDefaultModel(IModel<?> model)
          Sets the given model.
 MarkupContainer MarkupContainer.setDefaultModel(IModel<?> model)
           
 java.lang.String Localizer.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
AttributeModifier(java.lang.String attribute, boolean addAttributeIfNotPresent, IModel<?> replaceModel)
          Create a new attribute modifier with the given attribute name and model to replace with.
AttributeModifier(java.lang.String attribute, IModel<?> replaceModel)
          Create a new attribute modifier with the given attribute name and model to replace with.
AttributeModifier(java.lang.String attribute, java.lang.String pattern, boolean addAttributeIfNotPresent, IModel<?> replaceModel)
          Create a new attribute modifier with the given attribute name and expected pattern to match plus the model to replace with.
AttributeModifier(java.lang.String attribute, java.lang.String pattern, IModel<?> replaceModel)
          Create a new attribute modifier with the given attribute name and expected pattern to match plus the model to replace with.
Component.ComponentModelChange(IModel<?> model)
          Construct.
Component(java.lang.String id, IModel<?> model)
          Constructor.
MarkupContainer(java.lang.String id, IModel<?> model)
           
Page(IModel<?> model)
          Constructor.
Page(IPageMap pageMap, IModel<?> model)
          Constructor.
 

Uses of IModel in org.apache.wicket.ajax.markup.html
 

Methods in org.apache.wicket.ajax.markup.html that return IModel
 IModel<T> AjaxLink.getModel()
          Gets model
 

Methods in org.apache.wicket.ajax.markup.html with parameters of type IModel
 void AjaxLink.setModel(IModel<T> model)
          Sets model
 

Constructors in org.apache.wicket.ajax.markup.html with parameters of type IModel
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
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
AttributeAppender(java.lang.String attribute, boolean addAttributeIfNotPresent, 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 addAttributeIfNotPresent is true.
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.
StringHeaderContributor(IModel<?> contribution)
          Construct.
 

Uses of IModel in org.apache.wicket.feedback
 

Classes in org.apache.wicket.feedback that implement IModel
 class FeedbackMessagesModel
          Model for extracting feedback messages.
 

Uses of IModel in org.apache.wicket.markup.html
 

Constructors in org.apache.wicket.markup.html with parameters of type IModel
WebComponent(java.lang.String id, IModel<?> model)
           
WebMarkupContainer(java.lang.String id, IModel<?> model)
           
WebMarkupContainerWithAssociatedMarkup(java.lang.String id, IModel<?> model)
           
WebPage(IModel<?> model)
           
WebPage(IPageMap pageMap, 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
Label(java.lang.String id, IModel<?> model)
           
MultiLineLabel(java.lang.String id, IModel<?> model)
           
 

Uses of IModel in org.apache.wicket.markup.html.body
 

Constructors in org.apache.wicket.markup.html.body with parameters of type IModel
BodyTagAttributeModifier(java.lang.String attribute, boolean addAttributeIfNotPresent, IModel<?> replaceModel, Component behaviorOwner)
          Create a new attribute modifier with the given attribute name and model to replace with.
BodyTagAttributeModifier(java.lang.String attribute, IModel<?> replaceModel, Component behaviorOwner)
          Create a new attribute modifier with the given attribute name and model to replace with.
BodyTagAttributeModifier(java.lang.String attribute, java.lang.String pattern, boolean addAttributeIfNotPresent, IModel<?> replaceModel, Component behaviorOwner)
          Create a new attribute modifier with the given attribute name and expected pattern to match plus the model to replace with.
BodyTagAttributeModifier(java.lang.String attribute, java.lang.String pattern, IModel<?> replaceModel, Component behaviorOwner)
          Create a new attribute modifier with the given attribute name and expected pattern to match plus the model to replace with.
 

Uses of IModel in org.apache.wicket.markup.html.border
 

Constructors in org.apache.wicket.markup.html.border with parameters of type IModel
Border(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
 IModel<java.lang.String> LabeledWebMarkupContainer.getLabel()
           
 IModel<T> ILabelProvider.getLabel()
          The value will be made available to the validator property by means of ${label}.
 IModel<T> FormComponent.getModel()
          Gets model
 IModel<T> Radio.getModel()
          Gets model
 IModel<T> Check.getModel()
          Gets model
 IModel<T> Form.getModel()
          Gets model
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
 AbstractChoice<T,E> AbstractChoice.setChoices(IModel<? extends java.util.List<? extends E>> choices)
          Sets the list of choices
 ImageButton ImageButton.setDefaultModel(IModel<?> model)
           
 FormComponent<T> FormComponent.setLabel(IModel<java.lang.String> labelModel)
          The value will be made available to the validator property by means of ${label}.
 Radio<T> Radio.setLabel(IModel<java.lang.String> labelModel)
          The value will be made available to the validator property by means of ${label}.
 Check<T> Check.setLabel(IModel<java.lang.String> labelModel)
          The value will be made available to the validator property by means of ${label}.
protected  void LabeledWebMarkupContainer.setLabelInternal(IModel<java.lang.String> labelModel)
          Provide internal setter.
 void FormComponent.setModel(IModel<T> model)
          Sets model
 void Radio.setModel(IModel<T> model)
          Sets model
 void Check.setModel(IModel<T> model)
          Sets model
 void Form.setModel(IModel<T> model)
          Sets model
 

Constructors in org.apache.wicket.markup.html.form with parameters of type IModel
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<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)
          Constructor.
AbstractChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends E>> choices, IChoiceRenderer<E> renderer)
          Constructor.
AbstractChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends E>> choices, IChoiceRenderer<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<E> renderer)
          Constructor.
AbstractSingleSelectChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> data)
           
AbstractSingleSelectChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> data, IChoiceRenderer<T> renderer)
           
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.List<? extends T>> choices)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, java.util.List<? extends T> choices)
          Constructor
CheckBoxMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, java.util.List<? extends T> choices, IChoiceRenderer<T> renderer)
          Constructor
CheckGroup(java.lang.String id, IModel<java.util.Collection<T>> model)
           
DropDownChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices)
           
DropDownChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
DropDownChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)
           
DropDownChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)
           
DropDownChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
DropDownChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
DropDownChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices)
           
DropDownChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> data, IChoiceRenderer<T> renderer)
           
Form(java.lang.String id, IModel<T> model)
           
FormComponent(java.lang.String id, IModel<T> model)
           
FormComponentPanel(java.lang.String id, IModel<T> model)
          Construct.
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<T> renderer)
           
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)
           
ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer, int maxRows)
           
ListChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer, int maxRows)
           
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, IChoiceRenderer<T> renderer)
           
ListChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<T> renderer, int maxRows)
           
ListChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, int maxRows)
           
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<T> renderer)
           
ListMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices)
           
ListMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices)
           
ListMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
ListMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
           
ListMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> object, java.util.List<? extends T> choices)
           
ListMultipleChoice(java.lang.String id, IModel<java.util.Collection<T>> object, java.util.List<? extends T> choices, IChoiceRenderer<T> renderer)
           
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)
          Constructor
RadioChoice(java.lang.String id, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
          Constructor
RadioChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)
          Constructor
RadioChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices)
          Constructor
RadioChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
          Constructor
RadioChoice(java.lang.String id, IModel<T> model, IModel<? extends java.util.List<? extends T>> choices, IChoiceRenderer<T> renderer)
          Constructor
RadioChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices)
          Constructor
RadioChoice(java.lang.String id, IModel<T> model, java.util.List<? extends T> choices, IChoiceRenderer<T> renderer)
          Constructor
RadioGroup(java.lang.String id, IModel<T> model)
           
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 the Form that 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)
           
 

Uses of IModel in org.apache.wicket.markup.html.form.upload
 

Methods in org.apache.wicket.markup.html.form.upload with parameters of type IModel
 FileUploadField FileUploadField.setDefaultModel(IModel<?> model)
           
 

Constructors in org.apache.wicket.markup.html.form.upload with parameters of type IModel
FileUploadField(java.lang.String id, IModel<FileUpload> model)
           
MultiFileUploadField(java.lang.String id, IModel<java.util.Collection<FileUpload>> model)
          Constructor
MultiFileUploadField(java.lang.String id, IModel<java.util.Collection<FileUpload>> model, int max)
          Constructor
 

Uses of IModel in org.apache.wicket.markup.html.form.validation
 

Constructors in org.apache.wicket.markup.html.form.validation with parameters of type IModel
FormComponentFeedbackIndicator(java.lang.String id, IModel<?> model)
          Deprecated. no need for a model in this component
 

Uses of IModel in org.apache.wicket.markup.html.image
 

Methods in org.apache.wicket.markup.html.image that return IModel
protected  IModel<?> Image.initModel()
           
 

Methods in org.apache.wicket.markup.html.image with parameters of type IModel
 Component Image.setDefaultModel(IModel<?> model)
           
 

Constructors in org.apache.wicket.markup.html.image with parameters of type IModel
ContextImage(java.lang.String id, IModel<java.lang.String> contextRelativePath)
          Constructor
ContextPathGenerator(IModel<java.lang.String> contextRelativePath)
          Constructor
Image(java.lang.String id, IModel<?> model)
           
NonCachingImage(java.lang.String id, IModel<?> model)
          Construct.
 

Uses of IModel in org.apache.wicket.markup.html.include
 

Constructors in org.apache.wicket.markup.html.include with parameters of type IModel
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
 IModel<java.lang.String> ExternalLink.getLabel()
           
 IModel<T> Link.getModel()
          Gets model
 

Methods in org.apache.wicket.markup.html.link with parameters of type IModel
 void Link.setModel(IModel<T> model)
          Sets model
 

Constructors in org.apache.wicket.markup.html.link with parameters of type IModel
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.
ExternalLink(java.lang.String id, IModel<java.lang.String> href)
          Constructor.
ExternalLink(java.lang.String id, IModel<java.lang.String> href, IModel<java.lang.String> label)
          Constructor.
ExternalLink(java.lang.String id, IModel<java.lang.String> href, IModel<java.lang.String> 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
 class ListItemModel<T>
          Model for list items.
 

Methods in org.apache.wicket.markup.html.list that return IModel
protected  IModel<T> PropertyListView.getListItemModel(IModel<? extends java.util.List<T>> model, int index)
          Wraps a ListItemModel in a CompoundPropertyModel.
protected  IModel<T> ListView.getListItemModel(IModel<? extends java.util.List<T>> listViewModel, int index)
          Subclasses may provide their own ListItemModel with extended functionality.
 IModel<T> ListItem.getModel()
          Gets model
 IModel<? extends java.util.List<T>> ListView.getModel()
          Gets model
 

Methods in org.apache.wicket.markup.html.list with parameters of type IModel
protected  IModel<T> PropertyListView.getListItemModel(IModel<? extends java.util.List<T>> model, int index)
          Wraps a ListItemModel in a CompoundPropertyModel.
protected  IModel<T> ListView.getListItemModel(IModel<? extends java.util.List<T>> listViewModel, int index)
          Subclasses may provide their own ListItemModel with extended functionality.
 void ListView.setModel(IModel<? extends java.util.List<T>> model)
          Sets model
 void ListItem.setModel(IModel<T> model)
          Sets model
 

Constructors in org.apache.wicket.markup.html.list with parameters of type IModel
ListItem(int index, IModel<T> model)
          A constructor which uses the index and the list provided to create a ListItem.
ListView(java.lang.String id, IModel<? extends java.util.List<? extends T>> model)
           
Loop(java.lang.String id, IModel<java.lang.Integer> model)
          Construct.
OddEvenListItem(int index, IModel<T> model)
          Constructor
PageableListView(java.lang.String id, IModel<? extends java.util.List<? extends T>> model, int rowsPerPage)
          Constructor
PropertyListView(java.lang.String id, IModel<? extends java.util.List<? extends T>> model)
          Construct with a model.
 

Uses of IModel in org.apache.wicket.markup.html.panel
 

Constructors in org.apache.wicket.markup.html.panel with parameters of type IModel
Fragment(java.lang.String id, java.lang.String markupId, IModel<?> model)
          Deprecated. use Fragment.Fragment(String, String, MarkupContainer, IModel)
Fragment(java.lang.String id, java.lang.String markupId, MarkupContainer markupProvider, IModel<?> model)
          Constructor.
Panel(java.lang.String id, IModel<?> model)
           
 

Uses of IModel in org.apache.wicket.markup.html.resources
 

Constructors in org.apache.wicket.markup.html.resources with parameters of type IModel
JavaScriptReference(java.lang.String id, java.lang.Class<?> referer, IModel<java.lang.String> file)
          Construct.
JavaScriptReference(java.lang.String id, IModel<ResourceReference> resourceReference)
          Construct.
PackagedResourceReference(java.lang.String id, java.lang.Class<?> referer, IModel<java.lang.String> file, java.lang.String attributeToReplace)
          Construct.
PackagedResourceReference(java.lang.String id, IModel<ResourceReference> resourceReference, java.lang.String attributeToReplace)
          Construct.
StyleSheetReference(java.lang.String id, java.lang.Class<?> referer, IModel<java.lang.String> file)
          Construct.
StyleSheetReference(java.lang.String id, IModel<ResourceReference> resourceReference)
          Construct.
 

Uses of IModel in org.apache.wicket.markup.html.tree
 

Classes in org.apache.wicket.markup.html.tree that implement IModel
 class WicketTreeModel
           
 

Methods in org.apache.wicket.markup.html.tree that return IModel
 IModel<javax.swing.tree.TreeModel> AbstractTree.getModel()
           
protected  IModel<java.lang.Object> LabelTree.getNodeTextModel(IModel<java.lang.Object> nodeModel)
          Provides the model that will be used to feed the node text.
protected  IModel<java.lang.Object> LabelIconPanel.wrapNodeModel(IModel<java.lang.Object> nodeModel)
          Optional method for wrapping (creating an intermediate model) for the tree node model
 

Methods in org.apache.wicket.markup.html.tree with parameters of type IModel
protected  void LabelIconPanel.addComponents(IModel<java.lang.Object> model, BaseTree tree)
          Adds the icon and content components to the panel.
protected  void LinkIconPanel.addComponents(IModel<java.lang.Object> model, BaseTree tree)
           
protected  IModel<java.lang.Object> LabelTree.getNodeTextModel(IModel<java.lang.Object> nodeModel)
          Provides the model that will be used to feed the node text.
protected  Component LabelIconPanel.newContentComponent(java.lang.String componentId, BaseTree tree, IModel<java.lang.Object> model)
          Creates the content component (label in this case) for the node
protected  Component LabelIconPanel.newImageComponent(java.lang.String componentId, BaseTree tree, IModel<java.lang.Object> model)
          Creates the icon component for the node
protected  Component LinkTree.newNodeComponent(java.lang.String id, IModel<java.lang.Object> model)
           
protected abstract  Component BaseTree.newNodeComponent(java.lang.String id, IModel<java.lang.Object> model)
          Creates a new component for the given TreeNode.
protected  Component LabelTree.newNodeComponent(java.lang.String id, IModel<java.lang.Object> model)
           
 MarkupContainer AbstractTree.setModel(IModel<javax.swing.tree.TreeModel> model)
           
protected  IModel<java.lang.Object> LabelIconPanel.wrapNodeModel(IModel<java.lang.Object> nodeModel)
          Optional method for wrapping (creating an intermediate model) for the tree node model
 

Constructors in org.apache.wicket.markup.html.tree with parameters of type IModel
AbstractTree(java.lang.String id, IModel<javax.swing.tree.TreeModel> model)
          Tree constructor
BaseTree(java.lang.String id, IModel<javax.swing.tree.TreeModel> model)
          Construct.
LabelIconPanel(java.lang.String id, IModel<java.lang.Object> model, BaseTree tree)
          Constructs the panel.
LabelTree(java.lang.String id, IModel<javax.swing.tree.TreeModel> model)
          Construct.
LinkIconPanel(java.lang.String id, IModel<java.lang.Object> model, BaseTree tree)
          Constructs the panel.
LinkTree(java.lang.String id, IModel<javax.swing.tree.TreeModel> model)
          Construct.
 

Uses of IModel in org.apache.wicket.markup.repeater
 

Methods in org.apache.wicket.markup.repeater that return IModel
 IModel<T> Item.getModel()
          Gets model
 

Methods in org.apache.wicket.markup.repeater that return types with arguments of type IModel
protected abstract  java.util.Iterator<IModel<T>> RefreshingView.getItemModels()
          Returns an iterator over models for items that will be added to this view
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(int offset, int size)
          Returns an iterator over models for items in the current page
 

Methods in org.apache.wicket.markup.repeater with parameters of type IModel
 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.
 void Item.setModel(IModel<T> model)
          Sets model
 

Method parameters in org.apache.wicket.markup.repeater with type arguments of type IModel
<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>>
DefaultItemReuseStrategy.getItems(IItemFactory<T> factory, java.util.Iterator<IModel<T>> newModels, java.util.Iterator<Item<T>> existingItems)
           
<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
AbstractPageableView(java.lang.String id, IModel<? extends java.util.Collection<? extends T>> model)
          Constructor
AbstractRepeater(java.lang.String id, IModel<?> model)
          Constructor
Item(java.lang.String id, int index, IModel<T> model)
           
OddEvenItem(java.lang.String id, int index, IModel<T> model)
          Constructor
RefreshingView(java.lang.String id, IModel<?> model)
          Constructor
RepeatingView(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
 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 from IDataProvider.iterator(int, int) 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
protected  java.util.Iterator<IModel<T>> DataViewBase.getItemModels(int offset, int count)
           
 

Uses of IModel in org.apache.wicket.markup.repeater.util
 

Methods in org.apache.wicket.markup.repeater.util that return IModel
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
AbstractOutputTransformerContainer(java.lang.String id, IModel<?> model)
          Construct
NoopOutputTransformerContainer(java.lang.String id, IModel<?> model)
          Construct
XsltOutputTransformerContainer(java.lang.String id, IModel<?> model)
          Construct
XsltOutputTransformerContainer(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
 interface IChainingModel<T>
          Models that implement this interface will support chaining of IModels.
 interface IComponentAssignedModel<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 to Component.setDefaultModel(IModel)) should implement this interface.
 interface IComponentInheritedModel<T>
          This is a marker interface for models that can be inherited from components higher in the hierarchy.
 interface IObjectClassAwareModel<T>
          Interface implemented by model that can provide class of the model object.
 interface IWrapModel<T>
          A marker interface that represents a model that serves as a wrapper for another.
 

Classes in org.apache.wicket.model that implement IModel
 class AbstractPropertyModel<T>
          Serves as a base class for different kinds of property models.
 class AbstractReadOnlyModel<T>
          AbstractReadOnlyModel is an adapter base class for implementing models which have no detach logic and are read-only.
 class AbstractWrapModel<T>
          Simple base class for IWrapModel objects see IComponentAssignedModel or IComponentInheritedModel so that you don't have to have empty methods like detach or setObject() when not used in the wrapper.
 class BoundCompoundPropertyModel<T>
          Deprecated. See CompoundPropertyModel.bind(String)
 class ComponentDetachableModel<T>
          Quick detachable model that is implements the IComponentAssignedModel and the IModel interfaces.
 class ComponentModel<T>
          Quick model that is implements the IComponentAssignedModel and the IModel interfaces.
 class ComponentPropertyModel<T>
          A model that references a property by name on the current model of the component it is bound to.
 class CompoundPropertyModel<T>
          A simple compound model which uses the component's name as the property expression to retrieve properties on the nested model object.
 class LoadableDetachableModel<T>
          Model that makes working with detachable models a breeze.
 class Model<T extends Serializable>
          Model is the basic implementation of an IModel.
 class PropertyModel<T>
          A PropertyModel is used to dynamically access a model using a "property expression".
 class ResourceModel
          A model that represents a localized resource string.
 class StringResourceModel
          This model class encapsulates the full power of localization support within the Wicket framework.
 

Methods in org.apache.wicket.model that return IModel
<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.
 IModel<?> IChainingModel.getChainedModel()
          Returns the chained model if there is a chained model.
 IModel<?> CompoundPropertyModel.getChainedModel()
           
 IModel<?> AbstractPropertyModel.getChainedModel()
           
 IModel<?> IWrapModel.getWrappedModel()
          Gets the wrapped model.
static
<C> IModel<java.util.Collection<? extends C>>
Model.of(java.util.Collection<? extends C> set)
          Factory method for models that contain collections.
static
<C> IModel<java.util.List<? extends C>>
Model.of(java.util.List<? extends C> list)
          Factory method for models that contain lists.
static
<K,V> IModel<java.util.Map<K,V>>
Model.of(java.util.Map<K,V> map)
          Deprecated. use Model.ofMap(Map)
static
<C> IModel<java.util.Set<? extends C>>
Model.of(java.util.Set<? extends C> set)
          Factory method for models that contain sets.
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.List<? extends C>>
Model.valueOf(java.util.List<? extends C> list)
          Deprecated. see Model.of(List)
static
<K,V> IModel<java.util.Map<K,V>>
Model.valueOf(java.util.Map<K,V> map)
          Deprecated. see Model.of(Map)
 

Methods in org.apache.wicket.model with parameters of type IModel
 void IChainingModel.setChainedModel(IModel<?> model)
          Sets the model that is chained inside this model.
 void CompoundPropertyModel.setChainedModel(IModel<?> model)
           
 void AbstractPropertyModel.setChainedModel(IModel<?> model)
           
 

Constructors in org.apache.wicket.model with parameters of type IModel
StringResourceModel(java.lang.String resourceKey, Component component, IModel<?> model)
          Construct.
StringResourceModel(java.lang.String resourceKey, Component component, IModel<?> model, java.lang.Object[] parameters)
          Creates a new string resource model using the supplied parameters.
StringResourceModel(java.lang.String resourceKey, Component component, IModel<?> model, java.lang.Object[] parameters, java.lang.String defaultValue)
          Creates a new string resource model using the supplied parameters.
StringResourceModel(java.lang.String resourceKey, Component component, IModel<?> model, java.lang.String defaultValue)
          Construct.
StringResourceModel(java.lang.String resourceKey, IModel<?> model)
          Construct.
StringResourceModel(java.lang.String resourceKey, IModel<?> model, java.lang.Object[] parameters)
          Creates a new string resource model using the supplied parameters.
StringResourceModel(java.lang.String resourceKey, IModel<?> model, java.lang.Object[] parameters, java.lang.String defaultValue)
          Creates a new string resource model using the supplied parameters.
StringResourceModel(java.lang.String resourceKey, IModel<?> model, java.lang.String defaultValue)
          Construct.
 

Uses of IModel in org.apache.wicket.model.util
 

Classes in org.apache.wicket.model.util that implement IModel
 class CollectionModel<T>
          Based on Model but for any collections of serializable objects.
 class GenericBaseModel<T>
          Base class for models that contain instances that do not appear to be serializable and cannot thus use Model directly.
 class ListModel<T>
          Based on Model but for lists of serializable objects.
 class MapModel<K,V>
          Based on Model but for maps of serializable objects.
 class SetModel<T>
          Based on Model but for sets of serializable objects.
 class WildcardCollectionModel<T>
          Based on Model but for any collections of serializable objects.
 class WildcardListModel<T>
          Based on Model but for lists of serializable objects.
 class WildcardSetModel<T>
          Based on Model but for sets of serializable objects.
 

Uses of IModel in org.apache.wicket.util.lang
 

Methods in org.apache.wicket.util.lang that return IModel
static
<T> IModel<T>
Generics.model(IModel<?> model)
          Supresses generics warning when converting model types
 

Methods in org.apache.wicket.util.lang with parameters of type IModel
static
<T> IModel<T>
Generics.model(IModel<?> model)
          Supresses generics warning when converting model types
 

Uses of IModel in org.apache.wicket.util.template
 

Methods in org.apache.wicket.util.template with parameters of type IModel
static TextTemplateHeaderContributor TextTemplateHeaderContributor.forCss(java.lang.Class<?> clazz, java.lang.String fileName, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)
          Retrieves a CSS header contributor that will load the template from the given file name relative to (or in the same package as) the provided clazz argument.
static TextTemplateHeaderContributor TextTemplateHeaderContributor.forCss(TextTemplate template, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)
          Retrieves a CSS header contributor based on the given TextTemplate.
static TextTemplateHeaderContributor TextTemplateHeaderContributor.forJavaScript(java.lang.Class<?> clazz, java.lang.String fileName, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)
          Retrieves a JavaScript header contributor that will load the template from the given file name relative to (or in the same package as) the provided clazz argument.
static TextTemplateHeaderContributor TextTemplateHeaderContributor.forJavaScript(TextTemplate template, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)
          Retrieves a JavaScript header contributor based on the given TextTemplate.
 

Constructors in org.apache.wicket.util.template with parameters of type IModel
TextTemplateHeaderContributor(TextTemplate template, IModel<java.util.Map<java.lang.String,java.lang.Object>> variablesModel)
          Constructor.
 



Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.