public final class ResourceModelFactory extends Object
StringResourceModel objects.| Constructor and Description |
|---|
ResourceModelFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.wicket.model.IModel<String> |
newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey)
Factory method to create a new
StringResourceModel from the given
ResourceBundleKey. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey,
org.apache.wicket.Component component)
Factory method to create a new
StringResourceModel from the given ResourceBundleKey. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey,
org.apache.wicket.Component component,
org.apache.wicket.model.IModel<?> model)
Factory method to create a new
StringResourceModel from the given parameters. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey,
org.apache.wicket.model.IModel<?> model)
Factory method to create a new
StringResourceModel from the given parameters. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceBundleKey)
Factory method to create a new
StringResourceModel from the given ResourceBundleKey. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.Component component)
Factory method to create a new
StringResourceModel from the given resource key and
given component. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.Component component,
org.apache.wicket.model.IModel<?> model,
Object... parameters)
Factory method to create a new
StringResourceModel from the given arguments. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.Component component,
org.apache.wicket.model.IModel<?> model,
String defaultValue,
Object... parameters)
Factory method to create a new
StringResourceModel from the given arguments. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.Component component,
Object... parameters)
Factory method to create a new StringResourceModel from the given resource key.
|
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.Component component,
String defaultValue)
Factory method to create a new StringResourceModel from the given resource key.
|
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.model.IModel<?> model,
Object... parameters)
Factory method to create a new StringResourceModel from the given resource key.
|
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
org.apache.wicket.model.IModel<?> model,
String defaultValue,
Object... parameters)
Factory method to create a new StringResourceModel from the given resource key.
|
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
Object[] parameters,
org.apache.wicket.Component component,
String defaultValue)
Factory method to create a new
StringResourceModel from the given resource key, the
parameters as an Object array, the component and a default value. |
static org.apache.wicket.model.IModel<String> |
newResourceModel(String resourceKey,
String defaultValue,
org.apache.wicket.Component component,
Object... parameters)
Factory method to create a new StringResourceModel from the given resource key.
|
public static org.apache.wicket.model.IModel<String> newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey)
StringResourceModel from the given
ResourceBundleKey.resourceBundleKey - the resource bundle keyStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey, org.apache.wicket.Component component)
StringResourceModel from the given ResourceBundleKey.resourceBundleKey - the resource bundle keycomponent - the componentStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey, org.apache.wicket.Component component, org.apache.wicket.model.IModel<?> model)
StringResourceModel from the given parameters.resourceBundleKey - the resource bundle keycomponent - the componentmodel - the modelStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey, org.apache.wicket.model.IModel<?> model)
StringResourceModel from the given parameters.resourceBundleKey - the resource bundle keymodel - the modelStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceBundleKey)
StringResourceModel from the given ResourceBundleKey.resourceBundleKey - the resource bundle key as StringStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.Component component)
StringResourceModel from the given resource key and
given component.resourceKey - the resource keycomponent - the componentStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.Component component, org.apache.wicket.model.IModel<?> model, Object... parameters)
StringResourceModel from the given arguments.resourceKey - the resource keycomponent - the componentmodel - the modelparameters - the parametersStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.Component component, org.apache.wicket.model.IModel<?> model, String defaultValue, Object... parameters)
StringResourceModel from the given arguments.resourceKey - the resource keycomponent - the componentmodel - the modeldefaultValue - the default valueparameters - the parametersStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.Component component, Object... parameters)
resourceKey - the resource keycomponent - the componentparameters - the parametersStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.Component component, String defaultValue)
resourceKey - the resource keycomponent - the componentdefaultValue - the default valueStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.model.IModel<?> model, Object... parameters)
resourceKey - the resource keymodel - the modelparameters - the parametersStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, org.apache.wicket.model.IModel<?> model, String defaultValue, Object... parameters)
resourceKey - the resource keymodel - the modeldefaultValue - the default valueparameters - the parametersStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, Object[] parameters, org.apache.wicket.Component component, String defaultValue)
StringResourceModel from the given resource key, the
parameters as an Object array, the component and a default value.resourceKey - the resource keyparameters - the parameterscomponent - the componentdefaultValue - the default valueStringResourceModel as an IModelpublic static org.apache.wicket.model.IModel<String> newResourceModel(String resourceKey, String defaultValue, org.apache.wicket.Component component, Object... parameters)
resourceKey - the resource keydefaultValue - the default valuecomponent - the componentparameters - the parametersStringResourceModel as an IModelCopyright © 2010–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.