Uses of Interface
org.apache.wicket.model.IModel
-
-
Uses of IModel in org.apache.wicket
Methods in org.apache.wicket that return IModel Modifier and Type Method Description IModel<?>
Component. getDefaultModel()
Gets the model.IModel<?>
IGenericComponent. getDefaultModel()
IModel<?>
Component. getInnermostModel()
protected IModel<?>
Component. getInnermostModel(IModel<?> model)
Finds the innermost IModel object for an IModel that might contain nested IModel(s).default IModel<T>
IGenericComponent. getModel()
Typesafe getter for the modelprotected IModel<?>
AttributeModifier. getReplaceModel()
Gets the replacement model.protected IModel<?>
Component. initModel()
Called when a null model is about to be retrieved in order to allow a subclass to provide an initial model.protected <V> IModel<V>
Component. wrap(IModel<V> model)
Methods in org.apache.wicket with parameters of type IModel Modifier and Type Method Description static AttributeAppender
AttributeModifier. append(String attributeName, IModel<?> value)
Creates a attribute modifier that appends the current value with the givenvalue
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
Component. getString(String key, IModel<?> model)
String
Component. getString(String key, IModel<?> model, String defaultValue)
String
Localizer. getString(String key, Component component, IModel<?> model)
String
Localizer. getString(String key, Component component, IModel<?> model, String defaultValue)
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, Locale locale, String style, IModel<String> defaultValue)
Get the localized string using all of the supplied parameters.String
Localizer. getStringIgnoreSettings(String key, Component component, IModel<?> model, String defaultValue)
String
Localizer. getStringIgnoreSettings(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue)
This is similar toLocalizer.getString(String, Component, IModel, String)
except that the resource settings are ignored.static AttributeAppender
AttributeModifier. prepend(String attributeName, IModel<?> value)
Creates a attribute modifier that prepends the current value with the givenvalue
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.Component
IGenericComponent. setDefaultModel(IModel<?> model)
MarkupContainer
MarkupContainer. setDefaultModel(IModel<?> model)
default C
IGenericComponent. setModel(IModel<T> model)
Typesafe setter for the modelString
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 Constructor 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. -
Uses of IModel in org.apache.wicket.ajax.markup.html
Constructors in org.apache.wicket.ajax.markup.html with parameters of type IModel Constructor Description AjaxFallbackLink(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 Constructor 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. -
Uses of IModel in org.apache.wicket.bean.validation
Classes in org.apache.wicket.bean.validation that implement IModel Modifier and Type Class Description class
GroupsModel
A model that can hold on to an array of classes.Constructors in org.apache.wicket.bean.validation with parameters of type IModel Constructor Description PropertyValidator(Property property, IModel<Class<?>[]> groups)
PropertyValidator(IModel<Class<?>[]> groups)
-
Uses of IModel in org.apache.wicket.behavior
Constructors in org.apache.wicket.behavior with parameters of type IModel Constructor Description AttributeAppender(String attribute, IModel<?> replaceModel)
Creates an attribute modifier that concatenates thereplaceModel
to the attribute's current value, optionally separated by theseparator
.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.devutils
Constructors in org.apache.wicket.devutils with parameters of type IModel Constructor Description DevUtilsPage(IModel<?> model)
Construct.DevUtilsPanel(String id, IModel<?> model)
Construct. -
Uses of IModel in org.apache.wicket.devutils.debugbar
Methods in org.apache.wicket.devutils.debugbar that return IModel Modifier and Type Method Description protected IModel<String>
InspectorDebugPanel. getDataModel()
protected IModel<String>
PageStoreDebugPanel. getDataModel()
protected IModel<String>
SessionSizeDebugPanel. getDataModel()
protected abstract IModel<String>
StandardDebugPanel. getDataModel()
-
Uses of IModel in org.apache.wicket.devutils.inspector
Classes in org.apache.wicket.devutils.inspector that implement IModel Modifier and Type Class Description class
SessionSizeModel
CalculatesConstructors in org.apache.wicket.devutils.inspector with parameters of type IModel Constructor Description EnhancedPageView(String id, IModel<Page> model)
Constructor. -
Uses of IModel in org.apache.wicket.devutils.pagestore.browser
Classes in org.apache.wicket.devutils.pagestore.browser that implement IModel Modifier and Type Class Description class
SessionIdentifiersModel
A model that collects the keys from theDiskPageStore
folderConstructors in org.apache.wicket.devutils.pagestore.browser with parameters of type IModel Constructor Description PersistedPanel(String id, IModel<IPersistentPageStore> store)
Construct.SessionIdentifiersModel(IModel<IPersistentPageStore> store)
-
Uses of IModel in org.apache.wicket.extensions.ajax.markup.html
Methods in org.apache.wicket.extensions.ajax.markup.html with parameters of type IModel Modifier and Type Method Description protected FormComponent<T>
AjaxEditableChoiceLabel. newEditor(MarkupContainer parent, String componentId, IModel<T> model)
Create a new form component instance to serve as editor.protected FormComponent<T>
AjaxEditableLabel. newEditor(MarkupContainer parent, String componentId, IModel<T> model)
Create a new form component instance to serve as editor.protected FormComponent<T>
AjaxEditableMultiLineLabel. newEditor(MarkupContainer parent, String componentId, IModel<T> model)
protected WebComponent
AjaxEditableChoiceLabel. newLabel(MarkupContainer parent, String componentId, IModel<T> model)
Create a new form component instance to serve as label.protected Component
AjaxEditableLabel. newLabel(MarkupContainer parent, String componentId, IModel<T> model)
Create a new form component instance to serve as label.protected MultiLineLabel
AjaxEditableMultiLineLabel. newLabel(MarkupContainer parent, String componentId, IModel<T> model)
Create a new form component instance to serve as label.AjaxEditableLabel<T>
AjaxEditableLabel. setDefaultModel(IModel<?> model)
AjaxEditableLabel<T>
AjaxEditableLabel. setLabel(IModel<String> labelModel)
The value will be made available to the validator property by means of ${label}.Constructors in org.apache.wicket.extensions.ajax.markup.html with parameters of type IModel Constructor Description AjaxEditableChoiceLabel(String id, IModel<T> model)
Construct.AjaxEditableChoiceLabel(String id, IModel<T> model, List<? extends T> choices)
Construct.AjaxEditableChoiceLabel(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
Construct.AjaxEditableChoiceLabel(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
Construct.AjaxEditableChoiceLabel(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
Construct.AjaxEditableLabel(String id, IModel<T> model)
ConstructorAjaxEditableMultiLineLabel(String id, IModel<T> model)
Construct.AjaxLazyLoadPanel(String id, IModel<?> model)
ConstructorIndicatingAjaxButton(String id, IModel<String> model)
ConstructorIndicatingAjaxButton(String id, IModel<String> model, Form<?> form)
ConstructorIndicatingAjaxFallbackLink(String id, IModel<T> model)
ConstructorIndicatingAjaxLink(String id, IModel<T> model)
Constructor -
Uses of IModel in org.apache.wicket.extensions.ajax.markup.html.autocomplete
Constructors in org.apache.wicket.extensions.ajax.markup.html.autocomplete with parameters of type IModel Constructor Description AutoCompleteTextField(String id, IModel<T> model)
Constructor for the given model.AutoCompleteTextField(String id, IModel<T> model, Class<T> type, AutoCompleteSettings settings)
Constructor for the given model and type.AutoCompleteTextField(String id, IModel<T> model, Class<T> type, IAutoCompleteRenderer<T> renderer, AutoCompleteSettings settings)
Constructor for the given model using the given renderer.AutoCompleteTextField(String id, IModel<T> model, AutoCompleteSettings settings)
Constructor for given model.AutoCompleteTextField(String id, IModel<T> model, IAutoCompleteRenderer<T> renderer)
Constructor for the given model using the given renderer.DefaultCssAutoCompleteTextField(String id, IModel<T> model)
Construct. -
Uses of IModel in org.apache.wicket.extensions.ajax.markup.html.modal
Methods in org.apache.wicket.extensions.ajax.markup.html.modal that return IModel Modifier and Type Method Description IModel<String>
ModalWindow. getTitle()
Deprecated.Returns the title of the window.Methods in org.apache.wicket.extensions.ajax.markup.html.modal with parameters of type IModel Modifier and Type Method Description ModalWindow
ModalWindow. setTitle(IModel<String> title)
Deprecated.Sets the title of window.Constructors in org.apache.wicket.extensions.ajax.markup.html.modal with parameters of type IModel Constructor Description ModalWindow(String id, IModel<?> model)
Deprecated.Creates a new modal window component. -
Uses of IModel in org.apache.wicket.extensions.ajax.markup.html.repeater.data.table
Methods in org.apache.wicket.extensions.ajax.markup.html.repeater.data.table with parameters of type IModel Modifier and Type Method Description protected Item<T>
AjaxFallbackDefaultDataTable. newRowItem(String id, int index, IModel<T> model)
-
Uses of IModel in org.apache.wicket.extensions.ajax.markup.html.tabs
Constructors in org.apache.wicket.extensions.ajax.markup.html.tabs with parameters of type IModel Constructor Description AjaxTabbedPanel(String id, List<T> tabs, IModel<Integer> model)
Constructor -
Uses of IModel in org.apache.wicket.extensions.breadcrumb
Methods in org.apache.wicket.extensions.breadcrumb that return IModel Modifier and Type Method Description IModel<String>
IBreadCrumbParticipant. getTitle()
Gets the title of the bread crumb, which will be used for displaying it. -
Uses of IModel in org.apache.wicket.extensions.breadcrumb.panel
Constructors in org.apache.wicket.extensions.breadcrumb.panel with parameters of type IModel Constructor Description BreadCrumbPanel(String id, IBreadCrumbModel breadCrumbModel, IModel<?> model)
Construct. -
Uses of IModel in org.apache.wicket.extensions.markup.html.basic
Constructors in org.apache.wicket.extensions.markup.html.basic with parameters of type IModel Constructor Description SmartLinkLabel(String name, IModel<String> model)
SmartLinkMultiLineLabel(String id, IModel<String> model)
Construct. -
Uses of IModel in org.apache.wicket.extensions.markup.html.captcha
Methods in org.apache.wicket.extensions.markup.html.captcha that return IModel Modifier and Type Method Description IModel<String>
CaptchaImageResource. getChallengeIdModel()
Gets the id for the challengeConstructors in org.apache.wicket.extensions.markup.html.captcha with parameters of type IModel Constructor Description CaptchaImageResource(IModel<String> challengeId)
Construct.CaptchaImageResource(IModel<String> challengeId, int fontSize, int margin)
Construct. -
Uses of IModel in org.apache.wicket.extensions.markup.html.form
Constructors in org.apache.wicket.extensions.markup.html.form with parameters of type IModel Constructor Description DateTextField(String id, IModel<Date> model)
Creates a new DateTextField, without a specified pattern.DateTextField(String id, IModel<Date> model, String datePattern)
Creates a new DateTextField bound with a specificSimpleDateFormat
pattern. -
Uses of IModel in org.apache.wicket.extensions.markup.html.form.datetime
Classes in org.apache.wicket.extensions.markup.html.form.datetime that implement IModel Modifier and Type Class Description protected class
TimeField.AmPmModel
protected class
TimeField.HoursModel
protected class
TimeField.MinutesModel
class
ZonedToLocalDateTimeModel
Methods in org.apache.wicket.extensions.markup.html.form.datetime with parameters of type IModel Modifier and Type Method Description protected TextField<Integer>
TimeField. newHoursTextField(String id, IModel<Integer> model, Class<Integer> type)
create a newTextField
instance for hours to be added to this panel.protected TextField<Integer>
TimeField. newMinutesTextField(String id, IModel<Integer> model, Class<Integer> type)
create a newTextField
instance for minutes to be added to this panel.Constructors in org.apache.wicket.extensions.markup.html.form.datetime with parameters of type IModel Constructor Description LocalDateTextField(String id, IModel<LocalDate> model, String pattern)
Construct with a pattern.LocalDateTextField(String id, IModel<LocalDate> model, String formatPattern, String parsePattern)
Construct with pattern for formatting and parsing.LocalDateTextField(String id, IModel<LocalDate> model, FormatStyle dateStyle)
Construct with a style.LocalDateTimeField(String id, IModel<LocalDateTime> model)
Construct.LocalDateTimeTextField(String id, IModel<LocalDateTime> model, String dateTimePattern)
Construct with a pattern.LocalDateTimeTextField(String id, IModel<LocalDateTime> model, FormatStyle dateStyle, FormatStyle timeStyle)
Construct with a style.LocalTimeTextField(String id, IModel<LocalTime> model, String timePattern)
Construct with a pattern.LocalTimeTextField(String id, IModel<LocalTime> model, FormatStyle timeStyle)
Construct with a style.TimeField(String id, IModel<LocalTime> model)
Construct.ZonedDateTimeField(String id, IModel<ZonedDateTime> model)
Construct.ZonedToLocalDateTimeModel(IModel<ZonedDateTime> model)
Map the givenZonedDateTime
to aLocalDateTime
in the client's time zone. -
Uses of IModel in org.apache.wicket.extensions.markup.html.form.palette
Constructors in org.apache.wicket.extensions.markup.html.form.palette with parameters of type IModel Constructor Description Palette(String id, IModel<? extends Collection<T>> choicesModel, IChoiceRenderer<? super T> choiceRenderer, int rows, boolean allowOrder)
Palette(String id, IModel<? extends Collection<T>> model, IModel<? extends Collection<? extends T>> choicesModel, IChoiceRenderer<? super T> choiceRenderer, int rows, boolean allowOrder)
Palette(String id, IModel<? extends Collection<T>> model, IModel<? extends Collection<? extends T>> choicesModel, IChoiceRenderer<? super T> choiceRenderer, int rows, boolean allowOrder, boolean allowMoveAll)
Constructor. -
Uses of IModel in org.apache.wicket.extensions.markup.html.form.select
Methods in org.apache.wicket.extensions.markup.html.form.select that return IModel Modifier and Type Method Description IModel<T>
IOptionRenderer. getModel(T value)
Gets the model that will be used to represent the value object.Methods in org.apache.wicket.extensions.markup.html.form.select with parameters of type IModel Modifier and Type Method Description protected boolean
Select. isSelected(IModel<?> model)
Does the given model contain a selected value.protected SelectOption<T>
SelectOptions. newOption(String id, String text, IModel<T> model)
Factory method for creating a newSelectOption
.protected SelectOption<T>
SelectOptions. newOption(String text, IModel<T> model)
Deprecated.overrideSelectOptions.newOption(String, String, IModel)
instead.Constructors in org.apache.wicket.extensions.markup.html.form.select with parameters of type IModel Constructor Description Select(String id, IModel<T> model)
SelectOption(String id, IModel<T> model)
SelectOptions(String id, IModel<? extends Collection<? extends T>> model, IOptionRenderer<T> renderer)
Constructor -
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.data.grid
Methods in org.apache.wicket.extensions.markup.html.repeater.data.grid with parameters of type IModel Modifier and Type Method Description protected Item<ICellPopulator<T>>
AbstractDataGridView. newCellItem(String id, int index, IModel<ICellPopulator<T>> model)
Factory method for Item container that represents a cell.protected Item<T>
AbstractDataGridView. newItem(String id, int index, IModel<T> model)
protected Item<T>
AbstractDataGridView. newRowItem(String id, int index, IModel<T> model)
Factory method for Item container that represents a row.void
ICellPopulator. populateItem(Item<ICellPopulator<T>> cellItem, String componentId, IModel<T> rowModel)
Method used to populate a cell in theDataGridView
Implementation MUST add a component to the cellItem using the component id provided by componentId argument, otherwise a WicketRuntimeException will be thrownvoid
PropertyPopulator. populateItem(Item<ICellPopulator<T>> cellItem, String componentId, IModel<T> rowModel)
-
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.data.table
Methods in org.apache.wicket.extensions.markup.html.repeater.data.table that return IModel Modifier and Type Method Description protected IModel<String>
DataTable. getCaptionModel()
Returns the model for table's caption.IModel<?>
LambdaColumn. getDataModel(IModel<T> rowModel)
Factory method for generating a model that will generated the displayed value.IModel<?>
PropertyColumn. getDataModel(IModel<T> rowModel)
Factory method for generating a model that will generated the displayed value.IModel<String>
AbstractColumn. getDisplayModel()
protected IModel<String>
DataTable.Caption. initModel()
Methods in org.apache.wicket.extensions.markup.html.repeater.data.table with parameters of type IModel Modifier and Type Method Description IModel<?>
LambdaColumn. getDataModel(IModel<T> rowModel)
Factory method for generating a model that will generated the displayed value.IModel<?>
PropertyColumn. getDataModel(IModel<T> rowModel)
Factory method for generating a model that will generated the displayed value.protected Item<IColumn<T,S>>
DataTable. newCellItem(String id, int index, IModel<IColumn<T,S>> model)
Factory method for Item container that represents a cell in the underlying DataGridViewprotected Item<T>
DataTable. newRowItem(String id, int index, IModel<T> model)
Factory method for Item container that represents a row in the underlying DataGridViewprotected Item<T>
DefaultDataTable. newRowItem(String id, int index, IModel<T> model)
void
LambdaColumn. populateItem(Item<ICellPopulator<T>> item, String componentId, IModel<T> rowModel)
void
PropertyColumn. populateItem(Item<ICellPopulator<T>> item, String componentId, IModel<T> rowModel)
Implementation of populateItem which adds a label to the cell whose model is the provided property expression evaluated against rowModelObjectConstructors in org.apache.wicket.extensions.markup.html.repeater.data.table with parameters of type IModel Constructor Description AbstractColumn(IModel<String> displayModel)
AbstractColumn(IModel<String> displayModel, S sortProperty)
AbstractToolbar(IModel<?> model, DataTable<?,?> table)
ConstructorCaption(String id, IModel<String> model)
Construct.LambdaColumn(IModel<String> displayModel, org.danekja.java.util.function.serializable.SerializableFunction<T,?> function)
Creates a column that is not sortable.LambdaColumn(IModel<String> displayModel, S sortProperty, org.danekja.java.util.function.serializable.SerializableFunction<T,?> function)
Creates a property column that is also sortable.NoRecordsToolbar(DataTable<?,?> table, IModel<String> messageModel)
PropertyColumn(IModel<String> displayModel, String propertyExpression)
Creates a non sortable property columnPropertyColumn(IModel<String> displayModel, S sortProperty, String propertyExpression)
Creates a property column that is also sortable -
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.data.table.export
Methods in org.apache.wicket.extensions.markup.html.repeater.data.table.export that return IModel Modifier and Type Method Description IModel<String>
AbstractDataExporter. getDataFormatNameModel()
Returns a model of the exported data format name.IModel<String>
IDataExporter. getDataFormatNameModel()
Returns a model of the exported data format name.IModel<?>
IExportableColumn. getDataModel(IModel<T> rowModel)
Returns anIModel
of the data displayed by this column for therowModel
provided.IModel<String>
IExportableColumn. getDisplayModel()
Returns a model of the column header.IModel<String>
ExportToolbar. getFileNameModel()
Returns the model of the file name used for the exported data.IModel<String>
ExportToolbar. getMessageModel()
Returns the model of the export message displayed in the toolbar.protected <T> IModel<T>
CSVDataExporter. wrapModel(IModel<T> model)
Wrap the given model-Methods in org.apache.wicket.extensions.markup.html.repeater.data.table.export with parameters of type IModel Modifier and Type Method Description protected Component
AbstractExportableColumn. createDisplayComponent(String componentId, IModel<?> dataModel)
Creates aComponent
which will be used to display the content of the column in this row.IModel<?>
IExportableColumn. getDataModel(IModel<T> rowModel)
Returns anIModel
of the data displayed by this column for therowModel
provided.void
AbstractExportableColumn. populateItem(Item<ICellPopulator<T>> cellItem, String componentId, IModel<T> rowModel)
Populated the data for this column in the row into thecellItem
.AbstractDataExporter
AbstractDataExporter. setDataFormatNameModel(IModel<String> dataFormatNameModel)
Sets the data format name model.ExportToolbar
ExportToolbar. setFileNameModel(IModel<String> fileNameModel)
Sets the model of the file name used for the exported data.ExportToolbar
ExportToolbar. setMessageModel(IModel<String> messageModel)
Sets the models of the export message displayed in the toolbar.protected <T> IModel<T>
CSVDataExporter. wrapModel(IModel<T> model)
Wrap the given model-Constructors in org.apache.wicket.extensions.markup.html.repeater.data.table.export with parameters of type IModel Constructor Description AbstractDataExporter(IModel<String> dataFormatNameModel, String contentType, String fileNameExtension)
Creates a new instance with the data format name model, content type and file name extensions provided.AbstractExportableColumn(IModel<String> displayModel)
Creates a newAbstractExportableColumn
with the provided display model, and without a sort property.AbstractExportableColumn(IModel<String> displayModel, S sortProperty)
Creates a newAbstractExportableColumn
with the provided display model, and sort property.ExportToolbar(DataTable<?,?> table, IModel<String> fileNameModel)
Creates a new instance with the provided data table and file name model.ExportToolbar(DataTable<?,?> table, IModel<String> messageModel, IModel<String> fileNameModel)
Creates a new instance. -
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.data.table.filter
Fields in org.apache.wicket.extensions.markup.html.repeater.data.table.filter declared as IModel Modifier and Type Field Description protected static IModel<String>
GoFilter. DEFAULT_GO_MODEL
Methods in org.apache.wicket.extensions.markup.html.repeater.data.table.filter that return IModel Modifier and Type Method Description protected IModel<? extends List<? extends Y>>
ChoiceFilteredPropertyColumn. getFilterChoices()
protected IModel<Y>
ChoiceFilteredPropertyColumn. getFilterModel(FilterForm<?> form)
Returns the model that will be passed on to the text filter.protected IModel<F>
TextFilteredPropertyColumn. getFilterModel(FilterForm<?> form)
Returns the model that will be passed on to the text filter.protected IModel<?>
AbstractFilter. getStateModel()
Methods in org.apache.wicket.extensions.markup.html.repeater.data.table.filter with parameters of type IModel Modifier and Type Method Description protected DropDownChoice<T>
ChoiceFilter. newDropDownChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
Factory method for the drop down choice componentConstructors in org.apache.wicket.extensions.markup.html.repeater.data.table.filter with parameters of type IModel Constructor Description ChoiceFilter(String id, IModel<T> model, FilterForm<?> form, List<? extends T> choices, boolean autoSubmit)
ConstructorChoiceFilter(String id, IModel<T> model, FilterForm<?> form, List<? extends T> choices, IChoiceRenderer<? super T> renderer, boolean autoSubmit)
ConstructorChoiceFilter(String id, IModel<T> model, FilterForm<?> form, IModel<? extends List<? extends T>> choices, boolean autoSubmit)
Constructor.ChoiceFilter(String id, IModel<T> model, FilterForm<?> form, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer, boolean autoSubmit)
ChoiceFilteredPropertyColumn(IModel<String> displayModel, String propertyExpression, IModel<? extends List<? extends Y>> filterChoices)
ChoiceFilteredPropertyColumn(IModel<String> displayModel, S sortProperty, String propertyExpression, IModel<? extends List<? extends Y>> filterChoices)
FilteredAbstractColumn(IModel<String> displayModel)
ConstructorFilteredAbstractColumn(IModel<String> displayModel, S sortProperty)
ConstructorFilteredPropertyColumn(IModel<String> displayModel, String propertyExpression)
FilteredPropertyColumn(IModel<String> displayModel, S sortProperty, String propertyExpression)
ConstructorGoAndClearFilter(String id, FilterForm<?> form, IModel<String> goModel, IModel<String> clearModel)
Constructor.GoAndClearFilter(String id, IModel<String> goModel, IModel<String> clearModel, Object originalState)
ConstructorGoFilter(String id, IModel<String> goModel)
ConstructorTextFilter(String id, IModel<T> model, FilterForm<?> form)
ConstructorTextFilteredPropertyColumn(IModel<String> displayModel, String propertyExpression)
TextFilteredPropertyColumn(IModel<String> displayModel, S sortProperty, String propertyExpression)
-
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.tree
Methods in org.apache.wicket.extensions.markup.html.repeater.tree that return IModel Modifier and Type Method Description IModel<T>
Node. getModel()
protected IModel<?>
AbstractTree. initModel()
Delegate toAbstractTree.newModel()
if none is inited in super implementation.IModel<T>
ITreeProvider. model(T object)
Callback used by the consumer of this tree provider to wrap objects retrieved fromITreeProvider.getRoots()
orITreeProvider.getChildren(Object)
with a model (usually a detachable one).protected IModel<Set<T>>
AbstractTree. newModel()
Factory method for a model, by default creates a model containing aProviderSubset
.Methods in org.apache.wicket.extensions.markup.html.repeater.tree with parameters of type IModel Modifier and Type Method Description protected abstract Component
Node. createContent(String id, IModel<T> model)
Create the component to display the actual node's content.protected abstract Component
AbstractTree. newContentComponent(String id, IModel<T> model)
Create a new component for the content of a node.protected Component
DefaultNestedTree. newContentComponent(String id, IModel<T> node)
CreatesFolder
for each node.protected Component
DefaultTableTree. newContentComponent(String id, IModel<T> model)
CreatesFolder
for each node.Component
AbstractTree. newNodeComponent(String id, IModel<T> model)
Create a new component for a node.Component
NestedTree. newNodeComponent(String id, IModel<T> model)
Overridden to let the node output its markup id.protected Item<T>
DefaultTableTree. newRowItem(String id, int index, IModel<T> node)
Creates anOddEvenItem
.protected Item<T>
TableTree. newRowItem(String id, int index, IModel<T> model)
Create a row item for the nestedDataTable
.Component
NestedTree. newSubtree(String id, IModel<T> model)
Create a new subtree.Constructors in org.apache.wicket.extensions.markup.html.repeater.tree with parameters of type IModel Constructor Description AbstractTree(String id, ITreeProvider<T> provider, IModel<? extends Set<T>> state)
DefaultNestedTree(String id, ITreeProvider<T> provider, IModel<? extends Set<T>> state)
Construct.DefaultTableTree(String id, List<? extends IColumn<T,S>> columns, ISortableTreeProvider<T,S> provider, int rowsPerPage, IModel<? extends Set<T>> state)
Construct.NestedTree(String id, ITreeProvider<T> provider, IModel<? extends Set<T>> state)
Construct.Node(String id, AbstractTree<T> tree, IModel<T> model)
Constructor.TableTree(String id, List<? extends IColumn<T,S>> columns, ITreeProvider<T> provider, long rowsPerPage, IModel<? extends Set<T>> state)
Constructor -
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.tree.content
Methods in org.apache.wicket.extensions.markup.html.repeater.tree.content that return IModel Modifier and Type Method Description IModel<T>
StyledLinkLabel. getModel()
protected IModel<Boolean>
CheckedFolder. newCheckBoxModel(IModel<T> model)
Create the model for the checkbox, defaults toBoolean.FALSE
.protected IModel<?>
StyledLinkLabel. newLabelModel(IModel<T> model)
Create the model for the label, defaults to the model itself.Methods in org.apache.wicket.extensions.markup.html.repeater.tree.content with parameters of type IModel Modifier and Type Method Description protected Component
CheckedFolder. newCheckBox(String id, IModel<T> model)
Hook method to create a new checkbox component.protected IModel<Boolean>
CheckedFolder. newCheckBoxModel(IModel<T> model)
Create the model for the checkbox, defaults toBoolean.FALSE
.protected Component
StyledLinkLabel. newLabelComponent(String id, IModel<T> model)
Hook method to create a new label component.protected IModel<?>
StyledLinkLabel. newLabelModel(IModel<T> model)
Create the model for the label, defaults to the model itself.protected MarkupContainer
StyledLinkLabel. newLinkComponent(String id, IModel<T> model)
Hook method to create a new link component.Constructors in org.apache.wicket.extensions.markup.html.repeater.tree.content with parameters of type IModel Constructor Description CheckedFolder(String id, AbstractTree<T> tree, IModel<T> model)
CheckFolder(String id, AbstractTree<T> tree, IModel<T> model)
Folder(String id, AbstractTree<T> tree, IModel<T> model)
StyledLinkLabel(String id, IModel<T> model)
-
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.tree.nested
Methods in org.apache.wicket.extensions.markup.html.repeater.tree.nested that return IModel Modifier and Type Method Description IModel<T>
Subtree. getModel()
Methods in org.apache.wicket.extensions.markup.html.repeater.tree.nested with parameters of type IModel Modifier and Type Method Description protected BranchItem<T>
Subtree. newBranchItem(String id, int index, IModel<T> model)
Constructors in org.apache.wicket.extensions.markup.html.repeater.tree.nested with parameters of type IModel Constructor Description BranchItem(String id, int index, IModel<T> model)
Subtree(String id, NestedTree<T> tree, IModel<T> model)
Create a subtree for the children of the node contained in the given model or the root nodes if the model containsnull
. -
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.tree.table
Classes in org.apache.wicket.extensions.markup.html.repeater.tree.table that implement IModel Modifier and Type Class Description class
NodeModel<T>
A model wrapping the actual node model, carrying additional information about the parental branches.Methods in org.apache.wicket.extensions.markup.html.repeater.tree.table that return IModel Modifier and Type Method Description IModel<T>
NodeModel. getWrappedModel()
Get the wrapped model.Methods in org.apache.wicket.extensions.markup.html.repeater.tree.table with parameters of type IModel Modifier and Type Method Description void
TreeColumn. populateItem(Item<ICellPopulator<T>> cellItem, String componentId, IModel<T> rowModel)
Constructors in org.apache.wicket.extensions.markup.html.repeater.tree.table with parameters of type IModel Constructor Description AbstractTreeColumn(IModel<String> displayModel)
AbstractTreeColumn(IModel<String> displayModel, S sortProperty)
NodeModel(IModel<T> model, boolean[] branches)
Wrap the given model.TreeColumn(IModel<String> displayModel)
Construct.TreeColumn(IModel<String> displayModel, S sortProperty)
Construct. -
Uses of IModel in org.apache.wicket.extensions.markup.html.repeater.util
Methods in org.apache.wicket.extensions.markup.html.repeater.util that return IModel Modifier and Type Method Description IModel<Set<T>>
ProviderSubset. createModel()
Create a model holding this set.abstract IModel<T>
TreeModelProvider. model(T object)
-
Uses of IModel in org.apache.wicket.extensions.markup.html.tabs
Methods in org.apache.wicket.extensions.markup.html.tabs that return IModel Modifier and Type Method Description IModel<String>
AbstractTab. getTitle()
IModel<String>
ITab. getTitle()
IModel<String>
PanelCachingTab. getTitle()
protected IModel<?>
TabbedPanel. initModel()
Override of the default initModel behaviour.Methods in org.apache.wicket.extensions.markup.html.tabs with parameters of type IModel Modifier and Type Method Description protected Component
TabbedPanel. newTitle(String titleId, IModel<?> titleModel, int index)
Factory method for tab titles.Constructors in org.apache.wicket.extensions.markup.html.tabs with parameters of type IModel Constructor Description AbstractTab(IModel<String> title)
ConstructorTabbedPanel(String id, List<T> tabs, IModel<Integer> model)
Constructor -
Uses of IModel in org.apache.wicket.extensions.model
Classes in org.apache.wicket.extensions.model that implement IModel Modifier and Type Class Description class
AbstractCheckBoxModel
Model adapter that makes working with models for checkboxes easier. -
Uses of IModel in org.apache.wicket.extensions.rating
Methods in org.apache.wicket.extensions.rating with parameters of type IModel Modifier and Type Method Description protected Component
RatingPanel. newRatingLabel(String id, IModel<? extends Number> rating, IModel<Integer> nrOfVotes)
Creates a new rating label, showing a message like 'Rated 5.4 from 53 votes'.protected Component
RatingPanel. newRatingStarBar(String id, IModel<Integer> nrOfStars)
Creates a new bar filled with stars to click on.Constructors in org.apache.wicket.extensions.rating with parameters of type IModel Constructor Description RatingPanel(String id, IModel<? extends Number> rating)
Constructs a rating component with 5 stars, using the rating for retrieving the rating.RatingPanel(String id, IModel<? extends Number> rating, int nrOfStars, boolean addDefaultCssStyle)
Constructs a rating component with nrOfStars stars, using the rating for retrieving the rating.RatingPanel(String id, IModel<? extends Number> rating, int nrOfStars, IModel<Integer> nrOfVotes, boolean addDefaultCssStyle)
Constructs a rating panel with nrOfStars stars, where the rating model is used to retrieve the rating, the nrOfVotes model to retrieve the number of casted votes.RatingPanel(String id, IModel<? extends Number> rating, IModel<Integer> nrOfStars, IModel<Integer> nrOfVotes, IModel<Boolean> hasVoted, boolean addDefaultCssStyle)
Constructs a rating panel with nrOfStars stars, where the rating model is used to retrieve the rating, the nrOfVotes model used to retrieve the number of votes cast and the hasVoted model to retrieve whether the user already had cast a vote. -
Uses of IModel in org.apache.wicket.extensions.wizard
Methods in org.apache.wicket.extensions.wizard that return IModel Modifier and Type Method Description IModel<?>
StaticContentStep. getContentModel()
Gets the content model.Methods in org.apache.wicket.extensions.wizard with parameters of type IModel Modifier and Type Method Description <T> void
StaticContentStep. setContentModel(IModel<T> content)
Sets the content model.void
WizardStep. setSummaryModel(IModel<String> summary)
Sets summary.void
WizardStep. setTitleModel(IModel<String> title)
Sets title.Constructors in org.apache.wicket.extensions.wizard with parameters of type IModel Constructor Description StaticContentStep(String title, String summary, IModel<?> content, boolean allowHtml)
Construct.StaticContentStep(IModel<String> title, IModel<String> summary, String content, boolean allowHtml)
Construct.StaticContentStep(IModel<String> title, IModel<String> summary, IModel<?> content, boolean allowHtml)
Construct.WizardButton(String id, IWizard wizard, IModel<String> label)
Construct.WizardStep(String title, String summary, IModel<?> model)
Creates a new step with the specified title and summary.WizardStep(IModel<String> title, IModel<String> summary)
Creates a new step with the specified title and summary.WizardStep(IModel<String> title, IModel<String> summary, IModel<?> model)
Creates a new step with the specified title and summary. -
Uses of IModel in org.apache.wicket.extensions.wizard.dynamic
Constructors in org.apache.wicket.extensions.wizard.dynamic with parameters of type IModel Constructor Description DynamicWizardStep(IDynamicWizardStep previousStep, String title, String summary, IModel<?> model)
Creates a new step with the specified title and summary.DynamicWizardStep(IDynamicWizardStep previousStep, IModel<String> title, IModel<String> summary)
Creates a new step with the specified title and summary.DynamicWizardStep(IDynamicWizardStep previousStep, IModel<String> title, IModel<String> summary, IModel<?> model)
Creates a new step with the specified title and summary. -
Uses of IModel in org.apache.wicket.feedback
Classes in org.apache.wicket.feedback that implement IModel Modifier and Type Class Description class
FeedbackMessagesModel
Model for extracting feedback messages. -
Uses of IModel in org.apache.wicket.markup.head
Methods in org.apache.wicket.markup.head with parameters of type IModel Modifier and Type Method Description static MetaDataHeaderItem
MetaDataHeaderItem. forHttpEquiv(IModel<String> httpEquiv, IModel<String> content)
Factory method to create <meta> tag.static MetaDataHeaderItem
HtmlImportHeaderItem. forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, IModel<String> media)
Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
HtmlImportHeaderItem. forImportLinkTag(Class<? extends Page> pageClass, PageParameters pageParameters, IModel<String> media, boolean async)
Factory method to create lt;link> tag for html import.static MetaDataHeaderItem
HtmlImportHeaderItem. forImportLinkTag(IModel<String> href)
Factory method to create <link> tag.static MetaDataHeaderItem
HtmlImportHeaderItem. forImportLinkTag(IModel<String> href, boolean async)
Factory method to create <link> tag.static MetaDataHeaderItem
HtmlImportHeaderItem. forLinkTag(IModel<String> rel, IModel<String> href, IModel<String> media)
Factory method to create <link> tag.static MetaDataHeaderItem
MetaDataHeaderItem. forLinkTag(IModel<String> rel, IModel<String> href)
Factory method to create <link> tag.static MetaDataHeaderItem
MetaDataHeaderItem. forMetaTag(IModel<String> name, IModel<String> content)
Factory method to create <meta> tag. -
Uses of IModel in org.apache.wicket.markup.html
Constructors in org.apache.wicket.markup.html with parameters of type IModel Constructor Description GenericWebMarkupContainer(String id, IModel<?> model)
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
Constructors in org.apache.wicket.markup.html.basic with parameters of type IModel Constructor Description 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 Constructor Description 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 Modifier and Type Method Description IModel<? extends List<? extends E>>
AbstractChoice. getChoicesModel()
IModel<T>
ILabelProvider. getLabel()
The value will be made available to the validator property by means of ${label}.IModel<String>
LabeledWebMarkupContainer. getLabel()
protected IModel<String>
Button. initModel()
Override of the default initModel behaviour.Methods in org.apache.wicket.markup.html.form with parameters of type IModel Modifier and Type Method Description default T
IChoiceRenderer. getObject(String id, IModel<? extends List<? extends T>> choices)
This method is called to get an object back from its id representation.AbstractChoice<T,E>
AbstractChoice. setChoices(IModel<? extends List<? extends E>> choices)
Sets the list of choicesImageButton
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}.LabeledWebMarkupContainer
LabeledWebMarkupContainer. setLabel(IModel<String> labelModel)
Provide internal setter.Radio<T>
Radio. setLabel(IModel<String> labelModel)
The value will be made available to the validator property by means of ${label}.NumberTextField<N>
NumberTextField. setMaximum(IModel<N> maximum)
Sets the maximum allowed valueNumberTextField<N>
NumberTextField. setMinimum(IModel<N> minimum)
Sets the minimum allowed valueNumberTextField<N>
NumberTextField. setStep(IModel<N> step)
Sets the step attributeConstructors in org.apache.wicket.markup.html.form with parameters of type IModel Constructor Description AbstractChoice(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, List<? extends E> choices)
Constructor.AbstractChoice(String id, IModel<T> model, 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, 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, List<? extends T> choices)
Constructor.AbstractSingleSelectChoice(String id, IModel<T> model, 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, 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, List<? extends T> choices)
ConstructorCheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
ConstructorCheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices)
ConstructorCheckBoxMultipleChoice(String id, IModel<? extends Collection<T>> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
ConstructorCheckBoxMultipleChoice(String id, IModel<? extends List<? extends T>> choices)
ConstructorCheckBoxMultipleChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
ConstructorCheckGroup(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, List<? extends T> choices)
Constructor.DropDownChoice(String id, IModel<T> model, 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, 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)
Constructor.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, List<? extends T> choices)
ListChoice(String id, IModel<T> model, List<? extends T> choices, int maxRows)
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, 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, int maxRows)
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 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 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)
ConstructorRadioChoice(String id, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
ConstructorRadioChoice(String id, IModel<T> model, List<? extends T> choices)
ConstructorRadioChoice(String id, IModel<T> model, List<? extends T> choices, IChoiceRenderer<? super T> renderer)
ConstructorRadioChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices)
ConstructorRadioChoice(String id, IModel<T> model, IModel<? extends List<? extends T>> choices, IChoiceRenderer<? super T> renderer)
ConstructorRadioGroup(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 theForm
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 Constructor Description FileUploadField(String id, IModel<? extends List<FileUpload>> model)
MultiFileUploadField(String id, IModel<? extends Collection<FileUpload>> model)
ConstructorMultiFileUploadField(String id, IModel<? extends Collection<FileUpload>> model, int max)
ConstructorMultiFileUploadField(String id, IModel<? extends Collection<FileUpload>> model, int max, boolean useMultipleAttr)
Constructor -
Uses of IModel in org.apache.wicket.markup.html.image
Methods in org.apache.wicket.markup.html.image that return IModel Modifier and Type Method Description IModel<List<Serializable>>
ExternalImage. getSrcSetModel()
Gets a list of models containing the src set valuesprotected IModel<?>
Image. initModel()
Methods in org.apache.wicket.markup.html.image with parameters of type IModel Modifier and Type Method Description protected void
ExternalImage. buildSrcAttribute(ComponentTag tag, IModel<?> srcModel)
Builds the src attributeprotected void
ExternalImage. buildSrcSetAttribute(ComponentTag tag, IModel<List<Serializable>> srcSetModel)
Builds the srcset attribute if multiple models are found as varargsComponent
Image. setDefaultModel(IModel<?> model)
void
ExternalImage. setSrcSetModel(IModel<List<Serializable>> srcSetModel)
Sets the source set modelConstructors in org.apache.wicket.markup.html.image with parameters of type IModel Constructor Description ContextImage(String id, IModel<String> contextRelativePath)
ConstructorContextPathGenerator(IModel<String> contextRelativePath)
ConstructorExternalImage(String id, IModel<Serializable> srcModel)
Creates an external imageExternalImage(String id, IModel<Serializable> srcModel, IModel<List<Serializable>> srcSetModel)
Creates an external imageExternalSource(String id, IModel<List<Serializable>> srcSetModel)
Creates an external sourceImage(String id, IModel<?> model)
InlineImage(String id, IModel<?> model, PackageResourceReference packageResourceReference)
Creates an inline imageNonCachingImage(String id, IModel<?> model)
Construct.Picture(String id, IModel<?> model)
Creates a picture componentSource(String id, IModel<?> model)
Creates a source for a picture -
Uses of IModel in org.apache.wicket.markup.html.include
Constructors in org.apache.wicket.markup.html.include with parameters of type IModel Constructor Description Include(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 Modifier and Type Method Description IModel<?>
AbstractLink. getBody()
Methods in org.apache.wicket.markup.html.link with parameters of type IModel Modifier and Type Method Description AbstractLink
AbstractLink. setBody(IModel<?> bodyModel)
Sets the link's body modelConstructors in org.apache.wicket.markup.html.link with parameters of type IModel Constructor Description AbstractLink(String id, IModel<?> model)
Construct.DownloadLink(String id, IModel<File> model)
Constructor.DownloadLink(String id, IModel<File> model, String fileName)
Constructor.DownloadLink(String id, IModel<File> fileModel, IModel<String> fileNameModel)
Constructor.ExternalLink(String id, IModel<String> href)
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 Modifier and Type Class Description class
ListItemModel<T>
Model for list items.Methods in org.apache.wicket.markup.html.list that return IModel Modifier and Type Method Description protected IModel<T>
ListView. getListItemModel(IModel<? extends List<T>> listViewModel, int index)
Subclasses may provide their own ListItemModel with extended functionality.protected IModel<T>
PropertyListView. getListItemModel(IModel<? extends List<T>> model, int index)
Wraps a ListItemModel in a CompoundPropertyModel.IModel<? extends List<T>>
ListView. getModel()
Gets modelMethods in org.apache.wicket.markup.html.list with parameters of type IModel Modifier and Type Method Description protected IModel<T>
ListView. getListItemModel(IModel<? extends List<T>> listViewModel, int index)
Subclasses may provide their own ListItemModel with extended functionality.protected IModel<T>
PropertyListView. getListItemModel(IModel<? extends List<T>> model, int index)
Wraps a ListItemModel in a CompoundPropertyModel.protected ListItem<T>
ListView. newItem(int index, IModel<T> itemModel)
Create a new ListItem for list item at index.void
ListView. setModel(IModel<? extends List<T>> model)
Sets modelConstructors in org.apache.wicket.markup.html.list with parameters of type IModel Constructor Description AbstractItem(long id, IModel<?> model)
ConstructorAbstractItem(String id, IModel<?> model)
ConstructorListItem(int index, IModel<T> model)
A constructor which uses the index and the list provided to create a ListItem.ListItem(String id, int index, IModel<T> model)
ListView(String id, IModel<? extends List<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)
ConstructorOddEvenListItem(int index, IModel<T> model)
ConstructorPageableListView(String id, IModel<? extends List<T>> model, long itemsPerPage)
ConstructorPropertyListView(String id, IModel<? extends List<T>> model)
Construct with a model. -
Uses of IModel in org.apache.wicket.markup.html.media
Constructors in org.apache.wicket.markup.html.media with parameters of type IModel Constructor Description MediaComponent(String id, IModel<?> model)
Constructor.MediaComponent(String id, IModel<?> model, String url)
Creates a media componentMediaComponent(String id, IModel<?> model, String url, PageParameters pageParameters)
Creates a media componentMediaComponent(String id, IModel<?> model, ResourceReference resourceReference)
Creates a media componentMediaComponent(String id, IModel<?> model, ResourceReference resourceReference, PageParameters pageParameters)
Creates a media componentSource(String id, IModel<?> model)
Creates a sourceSource(String id, IModel<?> model, String url)
Creates a sourceSource(String id, IModel<?> model, ResourceReference resourceReference)
Creates a sourceSource(String id, IModel<?> model, ResourceReference resourceReference, PageParameters pageParameters)
Creates a sourceTrack(String id, IModel<?> model)
Creates a trackTrack(String id, IModel<?> model, String url)
Creates a trackTrack(String id, IModel<?> model, ResourceReference resourceReference)
Creates a trackTrack(String id, IModel<?> model, ResourceReference resourceReference, PageParameters pageParameters)
Creates a track -
Uses of IModel in org.apache.wicket.markup.html.media.audio
Constructors in org.apache.wicket.markup.html.media.audio with parameters of type IModel Constructor Description Audio(String id, IModel<?> model)
Creates an audio componentAudio(String id, IModel<?> model, String url)
Creates an audio componentAudio(String id, IModel<?> model, String url, PageParameters pageParameters)
Creates an audio componentAudio(String id, IModel<?> model, ResourceReference resourceReference)
Creates an audio componentAudio(String id, IModel<?> model, ResourceReference resourceReference, PageParameters pageParameters)
Creates an audio component -
Uses of IModel in org.apache.wicket.markup.html.media.video
Constructors in org.apache.wicket.markup.html.media.video with parameters of type IModel Constructor Description Video(String id, IModel<?> model)
Creates a video componentVideo(String id, IModel<?> model, String url)
Creates a video componentVideo(String id, IModel<?> model, String url, PageParameters pageParameters)
Creates a video componentVideo(String id, IModel<?> model, ResourceReference resourceReference)
Creates a video componentVideo(String id, IModel<?> model, ResourceReference resourceReference, PageParameters pageParameters)
Creates a video component -
Uses of IModel in org.apache.wicket.markup.html.pages
Methods in org.apache.wicket.markup.html.pages with parameters of type IModel Modifier and Type Method Description protected Form<ClientProperties>
BrowserInfoForm. createForm(String componentId, IModel<ClientProperties> properties)
Creates the formConstructors in org.apache.wicket.markup.html.pages with parameters of type IModel Constructor Description AbstractErrorPage(IModel<?> model)
BrowserInfoForm(String id, IModel<ClientProperties> properties)
Constructor. -
Uses of IModel in org.apache.wicket.markup.html.panel
Methods in org.apache.wicket.markup.html.panel with parameters of type IModel Modifier and Type Method Description protected ListItem<FeedbackMessage>
FeedbackPanel. newMessageItem(int index, IModel<FeedbackMessage> itemModel)
Allows to define the listItem to use in the feedback's message list.Constructors in org.apache.wicket.markup.html.panel with parameters of type IModel Constructor Description Fragment(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.repeater
Methods in org.apache.wicket.markup.repeater that return types with arguments of type IModel Modifier and Type Method Description 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 pageprotected abstract Iterator<IModel<T>>
RefreshingView. getItemModels()
Returns an iterator over models for items that will be added to this viewMethods in org.apache.wicket.markup.repeater with parameters of type IModel Modifier and Type Method Description Item<T>
IItemFactory. newItem(int index, IModel<T> model)
Factory method for instances of Item.protected Item<T>
RefreshingView. newItem(String id, int index, IModel<T> model)
Factory method for Item container.Method parameters in org.apache.wicket.markup.repeater with type arguments of type IModel Modifier and Type Method Description <T> Iterator<Item<T>>
DefaultItemReuseStrategy. 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>>
ReuseIfModelsEqualStrategy. getItems(IItemFactory<T> factory, Iterator<IModel<T>> newModels, Iterator<Item<T>> existingItems)
Constructors in org.apache.wicket.markup.repeater with parameters of type IModel Constructor Description AbstractPageableView(String id, IModel<? extends Collection<? extends T>> model)
ConstructorAbstractRepeater(String id, IModel<?> model)
ConstructorItem(String id, int index, IModel<T> model)
ConstructorOddEvenItem(String id, int index, IModel<T> model)
ConstructorRefreshingView(String id, IModel<?> model)
ConstructorRepeatingView(String id, IModel<?> model)
-
Uses of IModel in org.apache.wicket.markup.repeater.data
Methods in org.apache.wicket.markup.repeater.data that return IModel Modifier and Type Method Description IModel<T>
EmptyDataProvider. model(Object object)
IModel<T>
IDataProvider. model(T object)
Callback used by the consumer of this data provider to wrap objects retrieved fromIDataProvider.iterator(long, long)
with a model (usually a detachable one).IModel<T>
ListDataProvider. model(T object)
Methods in org.apache.wicket.markup.repeater.data that return types with arguments of type IModel Modifier and Type Method Description protected Iterator<IModel<T>>
DataViewBase. getItemModels(long offset, long count)
-
Uses of IModel in org.apache.wicket.markup.repeater.util
Methods in org.apache.wicket.markup.repeater.util that return IModel Modifier and Type Method Description protected abstract IModel<T>
ArrayIteratorAdapter. model(T object)
This method is used to wrap the provided object with an implementation of IModel.protected abstract IModel<T>
ModelIteratorAdapter. model(T object)
This method is used to wrap the provided object with an implementation of IModel.IModel<T>
ArrayIteratorAdapter. next()
IModel<T>
ModelIteratorAdapter. next()
-
Uses of IModel in org.apache.wicket.markup.transformer
Constructors in org.apache.wicket.markup.transformer with parameters of type IModel Constructor Description AbstractOutputTransformerContainer(String id, IModel<?> model)
ConstructNoopOutputTransformerContainer(String id, IModel<?> model)
ConstructXsltOutputTransformerContainer(String id, IModel<?> model)
ConstructXsltOutputTransformerContainer(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 Modifier and Type Interface Description 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 toComponent.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 Modifier and Type Class Description class
AbstractPropertyModel<T>
Serves as a base class for different kinds of property models.class
AbstractWrapModel<T>
Deprecated.UseIWrapModel
class
ChainingModel<T>
This model and its subclasses support chaining of IModels.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
LambdaModel<T>
class
LoadableDetachableModel<T>
Model that makes working with detachable models a breeze.class
Model<T extends Serializable>
Model
is the basic implementation of anIModel
.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 Modifier and Type Method 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.default <R,U>
IModel<R>IModel. combineWith(IModel<U> other, org.danekja.java.util.function.serializable.SerializableBiFunction<? super T,? super U,R> combiner)
Returns aIModel
applying the given combining function to the current model object and to the one from the other model, if they are notnull
.default IModel<T>
IModel. filter(org.danekja.java.util.function.serializable.SerializablePredicate<? super T> predicate)
Returns a IModel checking whether the predicate holds for the contained object, if it is notnull
.default <R> IModel<R>
IModel. flatMap(org.danekja.java.util.function.serializable.SerializableFunction<? super T,IModel<R>> mapper)
Returns a IModel applying the given IModel-bearing mapper to the contained object, if it is notnull
.IModel<?>
ChainingModel. getChainedModel()
IModel<?>
IWrapModel. getWrappedModel()
Gets the wrapped model.default IModel<Boolean>
IModel. isPresent()
Returns a IModel, returning whether the contained object is non-null.default <R> IModel<R>
IModel. map(org.danekja.java.util.function.serializable.SerializableFunction<? super T,R> mapper)
Returns a IModel applying the given mapper to the contained object, if it is notnull
.static <T> IModel<T>
IModel. of(IModel<?> model)
Suppresses generics warning when casting model types.static <X,R>
IModel<R>LambdaModel. of(IModel<X> target, org.danekja.java.util.function.serializable.SerializableFunction<X,R> getter, org.danekja.java.util.function.serializable.SerializableBiConsumer<X,R> setter)
Create aLambdaModel
for a given target.static <R> IModel<R>
LambdaModel. of(org.danekja.java.util.function.serializable.SerializableSupplier<R> getter)
Create a read-onlyIModel
.static <R> IModel<R>
LambdaModel. of(org.danekja.java.util.function.serializable.SerializableSupplier<R> getter, org.danekja.java.util.function.serializable.SerializableConsumer<R> setter)
Create aLambdaModel
.static <C> IModel<Collection<C>>
Model. of(Collection<C> collection)
Factory method for models that contain collections.static <C> IModel<List<C>>
Model. ofList(List<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<C>>
Model. ofSet(Set<C> set)
Factory method for models that contain sets.default IModel<T>
IModel. orElse(T other)
Returns a IModel, returning either the contained object or the given default value, depending on thenull
ness of the contained object.default IModel<T>
IModel. orElseGet(org.danekja.java.util.function.serializable.SerializableSupplier<? extends T> other)
Returns a IModel, returning either the contained object or invoking the given supplier to get a default value.Methods in org.apache.wicket.model with parameters of type IModel Modifier and Type Method Description default <R,U>
IModel<R>IModel. combineWith(IModel<U> other, org.danekja.java.util.function.serializable.SerializableBiFunction<? super T,? super U,R> combiner)
Returns aIModel
applying the given combining function to the current model object and to the one from the other model, if they are notnull
.static <Z> CompoundPropertyModel<Z>
CompoundPropertyModel. of(IModel<Z> model)
Type-infering factory methodstatic <T> IModel<T>
IModel. of(IModel<?> model)
Suppresses generics warning when casting model types.static <X,R>
IModel<R>LambdaModel. of(IModel<X> target, org.danekja.java.util.function.serializable.SerializableFunction<X,R> getter, org.danekja.java.util.function.serializable.SerializableBiConsumer<X,R> setter)
Create aLambdaModel
for a given target.StringResourceModel
StringResourceModel. setDefaultValue(IModel<String> defaultValue)
Sets the default value if the resource key is not found.StringResourceModel
StringResourceModel. setModel(IModel<?> model)
Sets the model used for property substitutions.Method parameters in org.apache.wicket.model with type arguments of type IModel Modifier and Type Method Description default <R> IModel<R>
IModel. flatMap(org.danekja.java.util.function.serializable.SerializableFunction<? super T,IModel<R>> mapper)
Returns a IModel applying the given IModel-bearing mapper to the contained object, if it is notnull
.Constructors in org.apache.wicket.model with parameters of type IModel Constructor Description CompoundPropertyModel(IModel<T> model)
ConstructorResourceModel(String resourceKey, IModel<String> defaultValue)
StringResourceModel(String resourceKey, Component component, IModel<?> model)
Creates a new string resource model using the supplied parameters.StringResourceModel(String resourceKey, IModel<?> model)
Creates a new string resource model using the supplied parameter. -
Uses of IModel in org.apache.wicket.model.util
Classes in org.apache.wicket.model.util that implement IModel Modifier and Type Class Description class
CollectionModel<T>
Based onModel
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 useModel
directly.class
ListModel<T>
Based onModel
but for lists of serializable objects.class
MapModel<K,V>
Based onModel
but for maps of serializable objects.class
SetModel<T>
Based onModel
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 Constructor Description TextTemplateResourceReference(Class<?> scope, String fileName, String contentType, String encoding, IModel<Map<String,Object>> variablesModel)
Creates a resource reference to aPackageTextTemplate
.TextTemplateResourceReference(Class<?> scope, String fileName, String contentType, String encoding, IModel<Map<String,Object>> variablesModel, Locale locale, String style, String variation)
Construct.TextTemplateResourceReference(Class<?> scope, String fileName, String contentType, IModel<Map<String,Object>> variablesModel)
Creates a resource reference to aPackageTextTemplate
.TextTemplateResourceReference(Class<?> scope, String fileName, IModel<Map<String,Object>> variablesModel)
Creates a resource reference to aPackageTextTemplate
. -
Uses of IModel in org.apache.wicket.util.tester
Methods in org.apache.wicket.util.tester with parameters of type IModel Modifier and Type Method Description void
WicketTester. assertComponentFeedbackMessage(Component component, String key, IModel<?> model, IFeedbackMessageFilter filter)
Asserts that there is a feedback message provided by a given component -
Uses of IModel in org.apache.wicket.validation
Methods in org.apache.wicket.validation that return IModel Modifier and Type Method Description IModel<T>
IValidatable. getModel()
Returns the model of the component being validatedIModel<T>
Validatable. getModel()
Methods in org.apache.wicket.validation with parameters of type IModel Modifier and Type Method Description void
Validatable. setModel(IModel<T> model)
Sets model -
Uses of IModel in org.apache.wicket.velocity
Constructors in org.apache.wicket.velocity with parameters of type IModel Constructor Description VelocityContributor(String templateName, IModel<? extends Map<String,Object>> model)
The templateName needs to have the full path relative to where the resource loader starts looking.VelocityJavaScriptContributor(Class<?> clazz, String templatePath, IModel<? extends Map<String,Object>> model, String id)
Use this constructor if you have configured Velocity to use a ClasspathResourceLoader.VelocityJavaScriptContributor(String templatePath, IModel<? extends Map<String,Object>> model, String id)
Use this constructor when Velocity is configured with theFileResourceLoader
.
-