|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IModel in org.apache.wicket |
---|
Methods in org.apache.wicket that return IModel | |
---|---|
IModel |
Component.getInnermostModel()
|
protected IModel |
Component.getInnermostModel(IModel model)
Finds the innermost IModel object for an IModel that might contain nested IModel(s). |
IModel |
Component.getModel()
Gets the model. |
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 IModel |
Component.wrap(IModel 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)
|
boolean |
Component.sameInnermostModel(IModel model)
|
Component |
Component.setModel(IModel model)
Sets the given model. |
Component |
MarkupContainer.setModel(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 IModel |
Component.wrap(IModel 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 |
---|
Constructors in org.apache.wicket.ajax.markup.html with parameters of type IModel | |
---|---|
AjaxFallbackLink(java.lang.String id,
IModel model)
Construct. |
|
AjaxLink(java.lang.String id,
IModel 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 model)
Construct. |
|
AjaxButton(java.lang.String id,
IModel model,
Form form)
Construct. |
|
AjaxCheckBox(java.lang.String id,
IModel model)
Construct. |
|
AjaxFallbackButton(java.lang.String id,
IModel 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 |
ILabelProvider.getLabel()
The value will be made available to the validator property by means of ${label}. |
IModel |
LabeledWebMarkupContainer.getLabel()
|
protected IModel |
Button.initModel()
Override of the default initModel behaviour. |
Methods in org.apache.wicket.markup.html.form with parameters of type IModel | |
---|---|
Radio |
Radio.setLabel(IModel labelModel)
The value will be made available to the validator property by means of ${label}. |
Check |
Check.setLabel(IModel labelModel)
The value will be made available to the validator property by means of ${label}. |
FormComponent |
FormComponent.setLabel(IModel labelModel)
The value will be made available to the validator property by means of ${label}. |
protected void |
LabeledWebMarkupContainer.setLabelInternal(IModel labelModel)
Provide internal setter. |
Component |
ImageButton.setModel(IModel model)
|
Constructors in org.apache.wicket.markup.html.form with parameters of type IModel | |
---|---|
AbstractSingleSelectChoice(java.lang.String id,
IModel choices)
|
|
AbstractSingleSelectChoice(java.lang.String id,
IModel choices,
IChoiceRenderer renderer)
|
|
AbstractSingleSelectChoice(java.lang.String id,
IModel model,
IModel choices)
|
|
AbstractSingleSelectChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
|
|
AbstractSingleSelectChoice(java.lang.String id,
IModel model,
java.util.List data)
|
|
AbstractSingleSelectChoice(java.lang.String id,
IModel model,
java.util.List data,
IChoiceRenderer 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 model)
|
|
Button(java.lang.String id,
IModel 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 model)
|
|
CheckBox(java.lang.String id,
IModel model)
|
|
CheckBoxMultipleChoice(java.lang.String id,
IModel choices)
Constructor |
|
CheckBoxMultipleChoice(java.lang.String id,
IModel choices,
IChoiceRenderer renderer)
Constructor |
|
CheckBoxMultipleChoice(java.lang.String id,
IModel model,
IModel choices)
Constructor |
|
CheckBoxMultipleChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
Constructor |
|
CheckBoxMultipleChoice(java.lang.String id,
IModel model,
java.util.List choices)
Constructor |
|
CheckBoxMultipleChoice(java.lang.String id,
IModel model,
java.util.List choices,
IChoiceRenderer renderer)
Constructor |
|
CheckGroup(java.lang.String id,
IModel model)
|
|
DropDownChoice(java.lang.String id,
IModel choices)
|
|
DropDownChoice(java.lang.String id,
IModel choices,
IChoiceRenderer renderer)
|
|
DropDownChoice(java.lang.String id,
IModel model,
IModel choices)
|
|
DropDownChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
|
|
DropDownChoice(java.lang.String id,
IModel model,
java.util.List choices)
|
|
DropDownChoice(java.lang.String id,
IModel model,
java.util.List data,
IChoiceRenderer renderer)
|
|
Form(java.lang.String id,
IModel model)
|
|
FormComponent(java.lang.String id,
IModel model)
|
|
FormComponentPanel(java.lang.String id,
IModel model)
Construct. |
|
HiddenField(java.lang.String id,
IModel model)
Construct. |
|
HiddenField(java.lang.String id,
IModel model,
java.lang.Class type)
|
|
ImageButton(java.lang.String id,
IModel model)
|
|
LabeledWebMarkupContainer(java.lang.String id,
IModel model)
|
|
ListChoice(java.lang.String id,
IModel choices)
|
|
ListChoice(java.lang.String id,
IModel choices,
IChoiceRenderer renderer)
|
|
ListChoice(java.lang.String id,
IModel model,
IModel choices)
|
|
ListChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
|
|
ListChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer,
int maxRows)
|
|
ListChoice(java.lang.String id,
IModel model,
java.util.List choices)
|
|
ListChoice(java.lang.String id,
IModel model,
java.util.List choices,
IChoiceRenderer renderer)
|
|
ListChoice(java.lang.String id,
IModel model,
java.util.List choices,
IChoiceRenderer renderer,
int maxRows)
|
|
ListChoice(java.lang.String id,
IModel model,
java.util.List choices,
int maxRows)
|
|
ListMultipleChoice(java.lang.String id,
IModel choices)
|
|
ListMultipleChoice(java.lang.String id,
IModel choices,
IChoiceRenderer renderer)
|
|
ListMultipleChoice(java.lang.String id,
IModel model,
IModel choices)
|
|
ListMultipleChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
|
|
ListMultipleChoice(java.lang.String id,
IModel object,
java.util.List choices)
|
|
ListMultipleChoice(java.lang.String id,
IModel object,
java.util.List choices,
IChoiceRenderer renderer)
|
|
PasswordTextField(java.lang.String id,
IModel model)
|
|
Radio(java.lang.String id,
IModel model)
|
|
RadioChoice(java.lang.String id,
IModel choices)
Constructor |
|
RadioChoice(java.lang.String id,
IModel choices,
IChoiceRenderer renderer)
Constructor |
|
RadioChoice(java.lang.String id,
IModel model,
IModel choices)
Constructor |
|
RadioChoice(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
Constructor |
|
RadioChoice(java.lang.String id,
IModel model,
java.util.List choices)
Constructor |
|
RadioChoice(java.lang.String id,
IModel model,
java.util.List choices,
IChoiceRenderer renderer)
Constructor |
|
RadioGroup(java.lang.String id,
IModel model)
|
|
RequiredTextField(java.lang.String id,
IModel model)
|
|
RequiredTextField(java.lang.String id,
IModel model,
java.lang.Class type)
|
|
StatelessForm(java.lang.String id,
IModel 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 model)
|
|
TextField(java.lang.String id,
IModel object)
|
|
TextField(java.lang.String id,
IModel model,
java.lang.Class 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 | |
---|---|
Component |
FileUploadField.setModel(IModel model)
|
Constructors in org.apache.wicket.markup.html.form.upload with parameters of type IModel | |
---|---|
FileUploadField(java.lang.String id,
IModel model)
|
|
MultiFileUploadField(java.lang.String id,
IModel model)
Constructor |
|
MultiFileUploadField(java.lang.String id,
IModel 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)
|
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.setModel(IModel model)
|
Constructors in org.apache.wicket.markup.html.image with parameters of type IModel | |
---|---|
ContextImage(java.lang.String id,
IModel model)
|
|
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 model)
Construct. |
Uses of IModel in org.apache.wicket.markup.html.link |
---|
Methods in org.apache.wicket.markup.html.link that return IModel | |
---|---|
IModel |
ExternalLink.getLabel()
|
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 model)
Constructor. |
|
DownloadLink(java.lang.String id,
IModel model,
java.lang.String fileName)
Constructor. |
|
ExternalLink(java.lang.String id,
IModel href)
Constructor. |
|
ExternalLink(java.lang.String id,
IModel href,
IModel label)
Constructor. |
|
Link(java.lang.String id,
IModel object)
|
|
PopupCloseLink(java.lang.String id,
IModel 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
Model for list items. |
Methods in org.apache.wicket.markup.html.list that return IModel | |
---|---|
protected IModel |
PropertyListView.getListItemModel(IModel model,
int index)
Wraps a ListItemModel in a BoundCompoundPropertyModel. |
protected IModel |
ListView.getListItemModel(IModel listViewModel,
int index)
Subclasses may provide their own ListItemModel with extended functionality. |
Methods in org.apache.wicket.markup.html.list with parameters of type IModel | |
---|---|
protected IModel |
PropertyListView.getListItemModel(IModel model,
int index)
Wraps a ListItemModel in a BoundCompoundPropertyModel. |
protected IModel |
ListView.getListItemModel(IModel listViewModel,
int index)
Subclasses may provide their own ListItemModel with extended functionality. |
Component |
ListView.setModel(IModel model)
Sets the model and removes all current children, so that the next render will be using the contents of the model. |
Constructors in org.apache.wicket.markup.html.list with parameters of type IModel | |
---|---|
ListItem(int index,
IModel model)
A constructor which uses the index and the list provided to create a ListItem. |
|
ListView(java.lang.String id,
IModel model)
|
|
Loop(java.lang.String id,
IModel model)
Construct. |
|
PageableListView(java.lang.String id,
IModel model,
int rowsPerPage)
Constructor |
|
PropertyListView(java.lang.String id,
IModel 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 file)
Construct. |
|
JavaScriptReference(java.lang.String id,
IModel resourceReference)
Construct. |
|
PackagedResourceReference(java.lang.String id,
java.lang.Class referer,
IModel file,
java.lang.String attributeToReplace)
Construct. |
|
PackagedResourceReference(java.lang.String id,
IModel resourceReference,
java.lang.String attributeToReplace)
Construct. |
|
StyleSheetReference(java.lang.String id,
java.lang.Class referer,
IModel file)
Construct. |
|
StyleSheetReference(java.lang.String id,
IModel resourceReference)
Construct. |
Uses of IModel in org.apache.wicket.markup.html.tree |
---|
Methods in org.apache.wicket.markup.html.tree that return IModel | |
---|---|
protected IModel |
LabelTree.getNodeTextModel(IModel nodeModel)
Provides the model that will be used to feed the node text. |
protected IModel |
LabelIconPanel.wrapNodeModel(IModel 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 model,
BaseTree tree)
Adds the icon and content components to the panel. |
protected void |
LinkIconPanel.addComponents(IModel 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(java.lang.String componentId,
BaseTree tree,
IModel model)
Creates the content component (label in this case) for the node |
protected Component |
LabelIconPanel.newImageComponent(java.lang.String componentId,
BaseTree tree,
IModel model)
Creates the icon component for the node |
protected Component |
LinkTree.newNodeComponent(java.lang.String id,
IModel model)
|
protected abstract Component |
BaseTree.newNodeComponent(java.lang.String id,
IModel model)
Creates a new component for the given TreeNode. |
protected Component |
LabelTree.newNodeComponent(java.lang.String id,
IModel model)
|
protected IModel |
LabelIconPanel.wrapNodeModel(IModel 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 model)
Tree constructor |
|
BaseTree(java.lang.String id,
IModel model)
Construct. |
|
LabelIconPanel(java.lang.String id,
IModel model,
BaseTree tree)
Constructs the panel. |
|
LabelTree(java.lang.String id,
IModel model)
Construct. |
|
LinkIconPanel(java.lang.String id,
IModel model,
BaseTree tree)
Constructs the panel. |
|
LinkTree(java.lang.String id,
IModel model)
Construct. |
Uses of IModel in org.apache.wicket.markup.repeater |
---|
Methods in org.apache.wicket.markup.repeater with parameters of type IModel | |
---|---|
Item |
IItemFactory.newItem(int index,
IModel model)
Factory method for instances of Item. |
protected Item |
RefreshingView.newItem(java.lang.String id,
int index,
IModel model)
Factory method for Item container. |
Constructors in org.apache.wicket.markup.repeater with parameters of type IModel | |
---|---|
AbstractPageableView(java.lang.String id,
IModel model)
|
|
AbstractRepeater(java.lang.String id,
IModel model)
Constructor |
|
Item(java.lang.String id,
int index,
IModel model)
|
|
OddEvenItem(java.lang.String id,
int index,
IModel 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 |
ListDataProvider.model(java.lang.Object object)
|
IModel |
EmptyDataProvider.model(java.lang.Object object)
|
IModel |
IDataProvider.model(java.lang.Object 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). |
Uses of IModel in org.apache.wicket.markup.repeater.util |
---|
Methods in org.apache.wicket.markup.repeater.util that return IModel | |
---|---|
protected abstract IModel |
ModelIteratorAdapter.model(java.lang.Object object)
This method is used to wrap the provided object with an implementation of IModel. |
protected abstract IModel |
ArrayIteratorAdapter.model(java.lang.Object object)
This method is used to wrap the provided object with an implementation of IModel. |
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
Models that implement this interface will support chaining of IModels. |
interface |
IComponentAssignedModel
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.setModel(IModel) ) should implement this interface. |
interface |
IComponentInheritedModel
This is a marker interface for models that can be inherited from components higher in the hierarchy. |
interface |
IObjectClassAwareModel
Interface implemented by model that can provide class of the model object. |
interface |
IWrapModel
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
Serves as a base class for different kinds of property models. |
class |
AbstractReadOnlyModel
AbstractReadOnlyModel is an adapter base class for implementing models which have no detach logic and are read-only. |
class |
AbstractWrapModel
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
A compound property model that supports type conversions and property expression bindings. |
class |
ComponentDetachableModel
Quick detachable model that is implements the IComponentAssignedModel and the IModel interfaces. |
class |
ComponentModel
Quick model that is implements the IComponentAssignedModel and the IModel interfaces. |
class |
ComponentPropertyModel
A model that references a property by name on the current model of the component it is bound to. |
class |
CompoundPropertyModel
A simple compound model which uses the component's name as the property expression to retrieve properties on the nested model object. |
class |
LoadableDetachableModel
Model that makes working with detachable models a breeze. |
class |
Model
Model is the basic implementation of an IModel . |
class |
PropertyModel
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 | |
---|---|
IModel |
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 |
CompoundPropertyModel.getChainedModel()
|
IModel |
IChainingModel.getChainedModel()
Returns the chained model if there is a chained model. |
IModel |
AbstractPropertyModel.getChainedModel()
|
IModel |
IWrapModel.getWrappedModel()
Gets the wrapped model. |
Methods in org.apache.wicket.model with parameters of type IModel | |
---|---|
void |
CompoundPropertyModel.setChainedModel(IModel model)
|
void |
IChainingModel.setChainedModel(IModel model)
Sets the model that is chained inside this 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.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 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 variablesModel)
Retrieves a CSS header contributor based on the given TextTemplate . |
static TextTemplateHeaderContributor |
TextTemplateHeaderContributor.forJavaScript(java.lang.Class clazz,
java.lang.String fileName,
IModel 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 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 variablesModel)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |