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.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.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.pages Default special purpose pages for error and feedback support. 
org.apache.wicket.markup.html.panel Panel components. 
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.resource Locale aware resouce loaders. 
org.apache.wicket.validation This package provides interfaces for Wicket's validation support. 
 

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
static AttributeAppender AttributeModifier.append(String attributeName, IModel<?> value)
          Creates a attribute modifier that appends the current value with the given value using 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).
 String Localizer.getString(String key, Component component, IModel<?> model)
           
 String Localizer.getString(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue)
          Get the localized string using all of the supplied parameters.
 String Localizer.getString(String key, Component component, IModel<?> model, String defaultValue)
           
 String Component.getString(String key, IModel<?> model)
           
 String Component.getString(String key, IModel<?> model, String defaultValue)
           
 String Localizer.getStringIgnoreSettings(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue)
          This is similar to Localizer.getString(String, Component, IModel, String) except that the resource settings are ignored.
 String Localizer.getStringIgnoreSettings(String key, Component component, IModel<?> model, String defaultValue)
           
static AttributeAppender AttributeModifier.prepend(String attributeName, IModel<?> value)
          Creates a attribute modifier that prepends the current value with the given value using a default space character (' ') separator.
static AttributeModifier AttributeModifier.replace(String attributeName, IModel<?> value)
          Creates a attribute modifier that replaces the current value with the given value.
 boolean Component.sameInnermostModel(IModel<?> model)
           
 Component Component.setDefaultModel(IModel<?> model)
          Sets the given model.
 MarkupContainer MarkupContainer.setDefaultModel(IModel<?> model)
           
 String Localizer.substitutePropertyExpressions(Component component, 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(String attribute, boolean addAttributeIfNotPresent, IModel<?> replaceModel)
          Deprecated. AttributeModifier will now always add the attribute if not present, use AttributeModifier.AttributeModifier(String, IModel) instead
AttributeModifier(String attribute, IModel<?> replaceModel)
          Create a new attribute modifier with the given attribute name and model to replace with.
Component(String id, IModel<?> model)
          Constructor.
MarkupContainer(String id, IModel<?> model)
           
Page(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(String id, IModel<T> model)
          Construct.
AjaxLink(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(String id, IModel<String> model)
          Construct.
AjaxButton(String id, IModel<String> model, Form<?> form)
          Construct.
AjaxCheckBox(String id, IModel<Boolean> model)
          Construct.
AjaxFallbackButton(String id, IModel<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(String attribute, boolean addAttributeIfNotPresent, IModel<?> appendModel, String separator)
          Deprecated. use AttributeAppender.AttributeAppender(String, IModel) instead.
AttributeAppender(String attribute, IModel<?> replaceModel)
          Creates an attribute modifier that concatenates the replaceModel to the attribute's current value, optionally separated by the separator.
AttributeAppender(String attribute, IModel<?> appendModel, 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
 class FeedbackMessagesModel
          Model for extracting feedback messages.
 

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

Methods in org.apache.wicket.markup.html that return IModel
 IModel<T> GenericWebPage.getModel()
          Typesafe getter for the page's model
 

Methods in org.apache.wicket.markup.html with parameters of type IModel
 void GenericWebPage.setModel(IModel<T> model)
          Typesafe setter for the model
 

Constructors in org.apache.wicket.markup.html with parameters of type IModel
GenericWebPage(IModel<T> model)
           
WebComponent(String id, IModel<?> model)
           
WebMarkupContainer(String id, IModel<?> model)
           
WebPage(IModel<?> model)
           
 

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

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

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

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

Constructors in org.apache.wicket.markup.html.form with parameters of type IModel
AbstractChoice(String id, IModel<? extends List<? extends E>> choices)
          Constructor.
AbstractChoice(String id, IModel<? extends List<? extends E>> choices, IChoiceRenderer<? super E> renderer)
          Constructor.
AbstractChoice(String id, IModel<T> model, IModel<? extends List<? extends E>> choices)
          Constructor.
AbstractChoice(String id, IModel<T> model, IModel<? extends List<? extends E>> choices)
          Constructor.
AbstractChoice(String id, IModel<T> model, IModel<? extends List<? extends E>> choices, IChoiceRenderer<? super E> renderer)
          Constructor.
AbstractChoice(String id, IModel<T> model, IModel<? extends List<? extends E>> choices, IChoiceRenderer<? super E> renderer)
          Constructor.
AbstractChoice(String id, IModel<T> model, List<? extends E> choices)
          Constructor.
AbstractChoice(String id, IModel<T> model, List<? extends E> choices, IChoiceRenderer<? super E> renderer)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<? extends List<? extends T>> choices)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<T> model, List<? extends T> choices)
          Constructor.
AbstractSingleSelectChoice(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
AbstractSubmitLink(String id, IModel<?> model)
          Construct.
AbstractSubmitLink(String id, IModel<?> model, Form<?> form)
          Construct.
AbstractTextComponent(String id, IModel<T> model)
           
Button(String id, IModel<String> model)
          Constructor taking an model for rendering the 'label' of the button (the value attribute of the input/button tag).
Check(String id, IModel<T> model)
           
Check(String id, IModel<T> model, CheckGroup<T> group)
           
CheckBox(String id, IModel<Boolean> model)
           
CheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, List<? extends T> choices)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends List<? extends T>> choices)
          Constructor
CheckBoxMultipleChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor
CheckGroup(String id, IModel<? extends Collection<T>> model)
           
DropDownChoice(String id, IModel<? extends List<? extends T>> choices)
          Constructor.
DropDownChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
DropDownChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
          Constructor.
DropDownChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
          Constructor.
DropDownChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
DropDownChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
DropDownChoice(String id, IModel<T> model, List<? extends T> choices)
          Constructor.
DropDownChoice(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
          Constructor.
EmailTextField(String id, IModel<String> model)
          Construct.
EmailTextField(String id, IModel<String> model, IValidator<String> emailValidator)
          Construct.
Form(String id, IModel<T> model)
           
FormComponent(String id, IModel<T> model)
           
FormComponentPanel(String id, IModel<T> model)
          Construct.
HiddenField(String id, IModel<T> model)
          Construct.
HiddenField(String id, IModel<T> model, Class<T> type)
           
ImageButton(String id, IModel<String> model)
           
LabeledWebMarkupContainer(String id, IModel<?> model)
           
ListChoice(String id, IModel<? extends List<? extends T>> choices)
           
ListChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
           
ListChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
           
ListChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
           
ListChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
           
ListChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
           
ListChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer, int maxRows)
           
ListChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer, int maxRows)
           
ListChoice(String id, IModel<T> model, List<? extends T> choices)
           
ListChoice(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
           
ListChoice(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer, int maxRows)
           
ListChoice(String id, IModel<T> model, List<? extends T> choices, int maxRows)
           
ListMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices)
           
ListMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices)
           
ListMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
           
ListMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
           
ListMultipleChoice(String id, IModel<? extends Collection<T>> object, List<? extends T> choices)
           
ListMultipleChoice(String id, IModel<? extends Collection<T>> object, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
           
ListMultipleChoice(String id, IModel<? extends List<? extends T>> choices)
           
ListMultipleChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
           
NumberTextField(String id, IModel<N> model)
          Construct.
NumberTextField(String id, IModel<N> model, Class<N> type)
          Construct.
PasswordTextField(String id, IModel<String> model)
           
Radio(String id, IModel<T> model)
           
Radio(String id, IModel<T> model, RadioGroup<T> group)
           
RadioChoice(String id, IModel<? extends List<? extends T>> choices)
          Constructor
RadioChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor
RadioChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
          Constructor
RadioChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
          Constructor
RadioChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor
RadioChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
          Constructor
RadioChoice(String id, IModel<T> model, List<? extends T> choices)
          Constructor
RadioChoice(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
          Constructor
RadioGroup(String id, IModel<T> model)
           
RangeTextField(String id, IModel<N> model)
          Construct.
RangeTextField(String id, IModel<N> model, Class<N> type)
          Construct.
RequiredTextField(String id, IModel<T> model)
           
RequiredTextField(String id, IModel<T> model, Class<T> type)
           
StatelessForm(String id, IModel<T> model)
          Construct.
SubmitLink(String id, IModel<?> model)
          With this constructor the SubmitLink must be inside a Form.
SubmitLink(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(String id, IModel<T> model)
           
TextField(String id, IModel<T> model)
           
TextField(String id, IModel<T> model, Class<T> type)
           
UrlTextField(String id, IModel<String> model)
          Construct.
UrlTextField(String id, IModel<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
FileUploadField(String id, IModel<List<FileUpload>> model)
           
MultiFileUploadField(String id, IModel<? extends Collection<FileUpload>> model)
          Constructor
MultiFileUploadField(String id, IModel<? extends Collection<FileUpload>> model, int max)
          Constructor
 

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(String id, IModel<String> contextRelativePath)
          Constructor
ContextPathGenerator(IModel<String> contextRelativePath)
          Constructor
Image(String id, IModel<?> model)
           
NonCachingImage(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(String id, IModel<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<?> AbstractLink.getBody()
           
 IModel<?> ExternalLink.getLabel()
          Deprecated. use AbstractLink.getBody() instead
 IModel<T> Link.getModel()
          Gets model
 

Methods in org.apache.wicket.markup.html.link with parameters of type IModel
 AbstractLink AbstractLink.setBody(IModel<?> bodyModel)
          Sets the link's body model
 void Link.setModel(IModel<T> model)
          Sets model
 

Constructors in org.apache.wicket.markup.html.link with parameters of type IModel
AbstractLink(String id, IModel<?> model)
          Construct.
DownloadLink(String id, IModel<File> model)
          Constructor.
DownloadLink(String id, IModel<File> fileModel, IModel<String> fileNameModel)
          Constructor.
DownloadLink(String id, IModel<File> fileModel, IModel<String> fileNameModel)
          Constructor.
DownloadLink(String id, IModel<File> model, String fileName)
          Constructor.
ExternalLink(String id, IModel<String> href)
          Constructor.
ExternalLink(String id, IModel<String> href, IModel<?> label)
          Constructor.
ExternalLink(String id, IModel<String> href, IModel<?> label)
          Constructor.
Link(String id, IModel<T> model)
           
PopupCloseLink(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 List<T>> model, int index)
          Wraps a ListItemModel in a CompoundPropertyModel.
protected  IModel<T> ListView.getListItemModel(IModel<? extends List<T>> listViewModel, int index)
          Subclasses may provide their own ListItemModel with extended functionality.
 IModel<T> ListItem.getModel()
          Gets model
 IModel<? extends 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 List<T>> model, int index)
          Wraps a ListItemModel in a CompoundPropertyModel.
protected  IModel<T> ListView.getListItemModel(IModel<? extends List<T>> listViewModel, int index)
          Subclasses may provide their own ListItemModel with extended functionality.
protected  ListItem<T> ListView.newItem(int index, IModel<T> itemModel)
          Create a new ListItem for list item at index.
 void ListView.setModel(IModel<? extends 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
AbstractItem(int id, IModel<?> model)
          Constructor
AbstractItem(String id, IModel<?> model)
          Constructor
ListItem(int index, IModel<T> model)
          A constructor which uses the index and the list provided to create a ListItem.
ListItem(String id, int index, IModel<T> model)
           
ListView(String id, IModel<? extends List<? extends T>> model)
           
Loop(String id, IModel<Integer> model)
          Construct.
LoopItem(int index, IModel<?> model)
          A constructor which uses the index and the list provided to create a ListItem.
LoopItem(String id, int index, IModel<?> model)
          Constructor
OddEvenListItem(int index, IModel<T> model)
          Constructor
PageableListView(String id, IModel<? extends List<? extends T>> model, int itemsPerPage)
          Constructor
PropertyListView(String id, IModel<? extends List<? extends T>> model)
          Construct with a model.
 

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

Constructors in org.apache.wicket.markup.html.pages with parameters of type IModel
AbstractErrorPage(IModel<?> model)
           
 

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

Methods in org.apache.wicket.markup.html.panel that return IModel
 IModel<T> GenericPanel.getModel()
          Typesafe getter for the page's model
 

Methods in org.apache.wicket.markup.html.panel with parameters of type IModel
 void GenericPanel.setModel(IModel<T> model)
          Typesafe setter for the model
 

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

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<? extends TreeModel> AbstractTree.getModel()
           
protected  IModel<?> LabelTree.getNodeTextModel(IModel<?> nodeModel)
          Provides the model that will be used to feed the node text.
protected  IModel<Object> LabelIconPanel.wrapNodeModel(IModel<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<Object> model, BaseTree tree)
          Adds the icon and content components to the panel.
protected  void LinkIconPanel.addComponents(IModel<Object> model, BaseTree tree)
           
protected  IModel<?> LabelTree.getNodeTextModel(IModel<?> nodeModel)
          Provides the model that will be used to feed the node text.
protected  Component LabelIconPanel.newContentComponent(String componentId, BaseTree tree, IModel<?> model)
          Creates the content component (label in this case) for the node
protected  Component LabelIconPanel.newImageComponent(String componentId, BaseTree tree, IModel<Object> model)
          Creates the icon component for the node
protected abstract  Component BaseTree.newNodeComponent(String id, IModel<Object> model)
          Creates a new component for the given TreeNode.
protected  Component LinkTree.newNodeComponent(String id, IModel<Object> model)
           
protected  Component LabelTree.newNodeComponent(String id, IModel<Object> model)
           
 MarkupContainer AbstractTree.setModel(IModel<? extends TreeModel> model)
           
protected  IModel<Object> LabelIconPanel.wrapNodeModel(IModel<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(String id, IModel<? extends TreeModel> model)
          Tree constructor
BaseTree(String id, IModel<? extends TreeModel> model)
          Construct.
LabelIconPanel(String id, IModel<Object> model, BaseTree tree)
          Constructs the panel.
LabelTree(String id, IModel<? extends TreeModel> model)
          Construct.
LinkIconPanel(String id, IModel<Object> model, BaseTree tree)
          Constructs the panel.
LinkTree(String id, IModel<? extends TreeModel> model)
          Construct.
 

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

Methods in org.apache.wicket.markup.repeater that return types with arguments of type IModel
protected abstract  Iterator<IModel<T>> RefreshingView.getItemModels()
          Returns an iterator over models for items that will be added to this view
protected  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  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(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
<T> Iterator<Item<T>>
ReuseIfModelsEqualStrategy.getItems(IItemFactory<T> factory, Iterator<IModel<T>> newModels, Iterator<Item<T>> existingItems)
           
<T> Iterator<Item<T>>
IItemReuseStrategy.getItems(IItemFactory<T> factory, Iterator<IModel<T>> newModels, Iterator<Item<T>> existingItems)
          Returns an iterator over items that will be added to the view.
<T> Iterator<Item<T>>
DefaultItemReuseStrategy.getItems(IItemFactory<T> factory, Iterator<IModel<T>> newModels, Iterator<Item<T>> existingItems)
           
 

Constructors in org.apache.wicket.markup.repeater with parameters of type IModel
AbstractPageableView(String id, IModel<? extends Collection<? extends T>> model)
          Constructor
AbstractRepeater(String id, IModel<?> model)
          Constructor
Item(String id, int index, IModel<T> model)
          Constructor
OddEvenItem(String id, int index, IModel<T> model)
          Constructor
RefreshingView(String id, IModel<?> model)
          Constructor
RepeatingView(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(Object object)
           
 IModel<T> ListDataProvider.model(T 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).
 

Methods in org.apache.wicket.markup.repeater.data that return types with arguments of type IModel
protected  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> ModelIteratorAdapter.model(T object)
          This method is used to wrap the provided object with an implementation of IModel.
protected abstract  IModel<T> ArrayIteratorAdapter.model(T object)
          This method is used to wrap the provided object with an implementation of IModel.
 IModel<T> ModelIteratorAdapter.next()
           
 IModel<T> ArrayIteratorAdapter.next()
           
 

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

Constructors in org.apache.wicket.markup.transformer with parameters of type IModel
AbstractOutputTransformerContainer(String id, IModel<?> model)
          Construct
NoopOutputTransformerContainer(String id, IModel<?> model)
          Construct
XsltOutputTransformerContainer(String id, IModel<?> model)
          Construct
XsltOutputTransformerContainer(String id, IModel<?> model, 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. getObject() of a IChainingModel should do something like: if ( object instanceof IModel) { return ((IModel)object).getObject()} else return object; ChainingModels should also take care that the internal model detach is called when detach is called on them.
 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 IPropertyReflectionAwareModel<T>
          Optional interface implemented by models that are able to provide reflection information about object property they interact with.
 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 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(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<?> AbstractPropertyModel.getChainedModel()
           
 IModel<?> CompoundPropertyModel.getChainedModel()
           
 IModel<?> IWrapModel.getWrappedModel()
          Gets the wrapped model.
static
<C> IModel<Collection<? extends C>>
Model.of(Collection<? extends C> set)
          Factory method for models that contain collections.
static
<T> IModel<T>
Model.of(IModel<?> model)
          Supresses generics warning when converting model types
static
<C> IModel<List<? extends C>>
Model.ofList(List<? extends C> list)
          Factory method for models that contain lists.
static
<K,V> IModel<Map<K,V>>
Model.ofMap(Map<K,V> map)
          Factory method for models that contain maps.
static
<C> IModel<Set<? extends C>>
Model.ofSet(Set<? extends C> set)
          Factory method for models that contain sets.
 

Methods in org.apache.wicket.model with parameters of type IModel
static
<T> IModel<T>
Model.of(IModel<?> model)
          Supresses generics warning when converting model types
static
<Z> CompoundPropertyModel<Z>
CompoundPropertyModel.of(IModel<Z> model)
          Type-infering factory method
 void IChainingModel.setChainedModel(IModel<?> model)
          Sets the model that is chained inside this model.
 void AbstractPropertyModel.setChainedModel(IModel<?> model)
           
 void CompoundPropertyModel.setChainedModel(IModel<?> model)
           
 

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

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.resource
 

Constructors in org.apache.wicket.resource with parameters of type IModel
TextTemplateResourceReference(Class<?> scope, String fileName, IModel<Map<String,Object>> variablesModel)
          Creates a resource reference to a PackageTextTemplate.
TextTemplateResourceReference(Class<?> scope, String fileName, String contentType, IModel<Map<String,Object>> variablesModel)
          Creates a resource reference to a PackageTextTemplate.
TextTemplateResourceReference(Class<?> scope, String fileName, String contentType, String encoding, IModel<Map<String,Object>> variablesModel)
          Creates a resource reference to a PackageTextTemplate.
TextTemplateResourceReference(Class<?> scope, String fileName, String contentType, String encoding, IModel<Map<String,Object>> variablesModel, Locale locale, String style, String variation)
          Construct.
 

Uses of IModel in org.apache.wicket.validation
 

Methods in org.apache.wicket.validation that return IModel
 IModel<T> IValidatable.getModel()
          Returns the model of the component being validated
 IModel<T> Validatable.getModel()
           
 

Methods in org.apache.wicket.validation with parameters of type IModel
 void Validatable.setModel(IModel<T> model)
          Sets model
 



Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.