| Package | Description |
|---|---|
| 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.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.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
| org.apache.wicket.validation |
This package provides interfaces for Wicket's
validation support.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
IModel<T> |
IGenericComponent.getModel()
Typesafe getter for 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 <V> IModel<V> |
Component.wrap(IModel<V> model) |
| Modifier and Type | Method and Description |
|---|---|
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) |
MarkupContainer |
MarkupContainer.setDefaultModel(IModel<?> model) |
Component |
Component.setDefaultModel(IModel<?> model)
Sets the given model.
|
void |
IGenericComponent.setModel(IModel<T> model)
Typesafe setter for the 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) |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
IModel<T> |
AjaxLink.getModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
AjaxLink.setModel(IModel<T> model) |
| Constructor and Description |
|---|
AjaxFallbackLink(String id,
IModel<T> model)
Construct.
|
AjaxLink(String id,
IModel<T> model)
Construct.
|
| Constructor and Description |
|---|
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.
|
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FeedbackMessagesModel
Model for extracting feedback messages.
|
| Modifier and Type | Method and Description |
|---|---|
IModel<T> |
GenericWebPage.getModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericWebPage.setModel(IModel<T> model) |
| Constructor and Description |
|---|
GenericWebPage(IModel<T> model) |
WebComponent(String id,
IModel<?> model) |
WebMarkupContainer(String id,
IModel<?> model) |
WebPage(IModel<?> model) |
| Modifier and Type | Method and Description |
|---|---|
IModel<T> |
EnumLabel.getModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
EnumLabel.setModel(IModel<T> model) |
| Constructor and Description |
|---|
EnumLabel(String id,
IModel<T> model) |
Label(String id,
IModel<?> model) |
MultiLineLabel(String id,
IModel<?> model) |
| Constructor and Description |
|---|
Body(String id,
IModel<?> model,
MarkupContainer markupProvider)
Construct.
|
Border(String id,
IModel<?> model) |
BorderPanel(String id,
IModel<?> model) |
| Modifier and Type | Method and Description |
|---|---|
IModel<? extends List<? extends E>> |
AbstractChoice.getChoicesModel() |
IModel<String> |
LabeledWebMarkupContainer.getLabel() |
IModel<T> |
ILabelProvider.getLabel()
The value will be made available to the validator property by means of ${label}.
|
IModel<T> |
Radio.getModel() |
IModel<T> |
FormComponent.getModel() |
IModel<T> |
Form.getModel() |
IModel<T> |
Check.getModel() |
protected IModel<String> |
Button.initModel()
Override of the default initModel behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
T |
IChoiceRenderer.getObject(String id,
IModel<? extends List<? extends T>> choices)
This method is called to get an object back from its id representation.
|
T |
ChoiceRenderer.getObject(String id,
IModel<? extends List<? extends T>> choices) |
AbstractChoice<T,E> |
AbstractChoice.setChoices(IModel<? extends List<? extends E>> choices)
Sets the list of choices
|
ImageButton |
ImageButton.setDefaultModel(IModel<?> model) |
Radio<T> |
Radio.setLabel(IModel<String> labelModel)
The value will be made available to the validator property by means of ${label}.
|
LabeledWebMarkupContainer |
LabeledWebMarkupContainer.setLabel(IModel<String> labelModel)
Provide internal setter.
|
FormComponent<T> |
FormComponent.setLabel(IModel<String> labelModel)
The value will be made available to the validator property by means of ${label}.
|
Check<T> |
Check.setLabel(IModel<String> labelModel)
The value will be made available to the validator property by means of ${label}.
|
void |
Radio.setModel(IModel<T> model) |
void |
FormComponent.setModel(IModel<T> model) |
void |
Form.setModel(IModel<T> model) |
void |
Check.setModel(IModel<T> model) |
| Constructor and Description |
|---|
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.
|
| Constructor and Description |
|---|
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
|
MultiFileUploadField(String id,
IModel<? extends Collection<FileUpload>> model,
int max,
boolean useMultipleAttr)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected IModel<?> |
Image.initModel() |
| Modifier and Type | Method and Description |
|---|---|
Component |
Image.setDefaultModel(IModel<?> model) |
| Constructor and Description |
|---|
ContextImage(String id,
IModel<String> contextRelativePath)
Constructor
|
ContextPathGenerator(IModel<String> contextRelativePath)
Constructor
|
Image(String id,
IModel<?> model) |
NonCachingImage(String id,
IModel<?> model)
Construct.
|
| Constructor and Description |
|---|
Include(String id,
IModel<String> model)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
IModel<?> |
AbstractLink.getBody() |
IModel<T> |
Link.getModel() |
| Modifier and Type | Method and Description |
|---|---|
AbstractLink |
AbstractLink.setBody(IModel<?> bodyModel)
Sets the link's body model
|
void |
Link.setModel(IModel<T> model) |
| Constructor and Description |
|---|
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
|
| Modifier and Type | Class and Description |
|---|---|
class |
ListItemModel<T>
Model for list items.
|
| Modifier and Type | Method and Description |
|---|---|
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<? extends List<T>> |
ListView.getModel()
Gets model
|
IModel<T> |
ListItem.getModel() |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Constructor and Description |
|---|
AbstractItem(long 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.
|
| Constructor and Description |
|---|
AbstractErrorPage(IModel<?> model) |
| Modifier and Type | Method and Description |
|---|---|
IModel<T> |
GenericPanel.getModel()
Typesafe getter for the page's model
|
| Modifier and Type | Method and Description |
|---|---|
protected ListItem<FeedbackMessage> |
FeedbackPanel.newMessageItem(int index,
IModel<FeedbackMessage> itemModel)
Allows to define the listItem to use in the feedback's message list.
|
void |
GenericPanel.setModel(IModel<T> model)
Typesafe setter for the model
|
| Constructor and Description |
|---|
Fragment(String id,
String markupId,
MarkupContainer markupProvider,
IModel<?> model)
Constructor.
|
GenericPanel(String id,
IModel<T> model) |
Panel(String id,
IModel<?> model) |
| Modifier and Type | Method and Description |
|---|---|
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(long offset,
long size)
Returns an iterator over models for items in the current page
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
<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) |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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(long, long) with a model (usually a detachable one). |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<IModel<T>> |
DataViewBase.getItemModels(long offset,
long count) |
| Modifier and Type | Method and Description |
|---|---|
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() |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Interface and Description |
|---|---|
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 |
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.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
ChainingModel<T>
Default implementation of IChainingModel
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
<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<?> |
ChainingModel.getChainedModel() |
IModel<?> |
IWrapModel.getWrappedModel()
Gets the wrapped model.
|
static <C> IModel<Collection<? extends C>> |
Model.of(Collection<? extends C> collection)
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.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
ChainingModel.setChainedModel(IModel<?> model) |
| Constructor and Description |
|---|
CompoundPropertyModel(IModel<T> model)
Constructor
|
StringResourceModel(String resourceKey,
Component component,
IModel<?> model,
IModel<String> defaultValue,
Object... parameters)
Creates a new string resource model using the supplied parameters.
|
StringResourceModel(String resourceKey,
Component component,
IModel<?> model,
IModel<String> defaultValue,
Object... parameters)
Creates a new string resource model using the supplied parameters.
|
StringResourceModel(String resourceKey,
Component component,
IModel<?> model,
Object... parameters)
Creates a new string resource model using the supplied parameters.
|
StringResourceModel(String resourceKey,
IModel<?> model,
IModel<String> defaultValue,
Object... parameters)
Creates a new string resource model using the supplied parameters.
|
StringResourceModel(String resourceKey,
IModel<?> model,
IModel<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.
|
| Modifier and Type | Class and Description |
|---|---|
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. |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
WicketTester.assertComponentFeedbackMessage(Component component,
String key,
IModel<?> model,
IFeedbackMessageFilter filter)
Asserts that there is a feedback message provided by a given component
|
| Modifier and Type | Method and Description |
|---|---|
IModel<T> |
Validatable.getModel() |
IModel<T> |
IValidatable.getModel()
Returns the model of the component being validated
|
| Modifier and Type | Method and Description |
|---|---|
void |
Validatable.setModel(IModel<T> model)
Sets model
|
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.