public class ComponentFactory extends Object
| Constructor and Description |
|---|
ComponentFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.wicket.markup.html.form.CheckBox |
newCheckBox(String id,
org.apache.wicket.model.IModel<Boolean> model)
Factory method for create a new CheckBox.
|
static <T> org.apache.wicket.markup.html.form.CheckGroup<T> |
newCheckGroup(String id,
org.apache.wicket.model.IModel<? extends Collection<T>> model)
Factory method for create a new
CheckGroup. |
static <T> org.apache.wicket.markup.html.form.CheckGroupSelector |
newCheckGroupSelector(String id)
Factory method for create a new
CheckGroupSelector. |
static <T> org.apache.wicket.markup.html.form.CheckGroupSelector |
newCheckGroupSelector(String id,
org.apache.wicket.markup.html.form.CheckGroup<T> group)
Factory method for create a new
CheckGroupSelector. |
static org.apache.wicket.markup.html.panel.ComponentFeedbackPanel |
newComponentFeedbackPanel(String id,
org.apache.wicket.Component filter)
Factory method for create a new ComponentFeedbackPanel.
|
static org.apache.wicket.extensions.yui.calendar.DateTimeField |
newDateTimeField(String id,
org.apache.wicket.model.IModel<Date> model)
Factory method for creating a new DateTextField.
|
static <T> org.apache.wicket.markup.html.form.DropDownChoice<T> |
newDropDownChoice(String id,
org.apache.wicket.model.IModel<T> model,
List<? extends T> choices)
Factory method for create a new
DropDownChoice. |
static <T> org.apache.wicket.markup.html.form.DropDownChoice<T> |
newDropDownChoice(String id,
org.apache.wicket.model.IModel<T> model,
List<? extends T> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
Factory method for create a new
DropDownChoice. |
static org.apache.wicket.markup.html.form.EmailTextField |
newEmailTextField(String id,
org.apache.wicket.model.IModel<String> model)
Factory method for creating a new
EmailTextField. |
static <T extends Enum<T>> |
newEnumLabel(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new EnumLabel.
|
static org.apache.wicket.markup.html.panel.FeedbackPanel |
newFeedbackPanel(String id)
Factory method for create a new FeedbackPanel.
|
static <T> org.apache.wicket.markup.html.form.Form<T> |
newForm(String id)
Factory method for create a new Form.
|
static <T> org.apache.wicket.markup.html.form.Form<T> |
newForm(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new Form.
|
static org.apache.wicket.markup.html.panel.Fragment |
newFragment(String id,
String markupId,
org.apache.wicket.MarkupContainer markupProvider)
Factory method for create a new Fragment.
|
static <T> org.apache.wicket.markup.html.panel.Fragment |
newFragment(String id,
String markupId,
org.apache.wicket.MarkupContainer markupProvider,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new Fragment.
|
static org.apache.wicket.Component |
newHiddenField(String id)
Factory method for create a new hidden field.
|
static org.apache.wicket.markup.html.image.Image |
newImage(String id,
org.apache.wicket.request.resource.IResource imageResource)
Factory method for create a new Image.
|
static <T> org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new Label with a
IModel. |
static org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
de.alpharogroup.locale.ResourceBundleKey resourceKey,
org.apache.wicket.Component component)
Factory method for create a new
Label with a ResourceBundleKey. |
static <T> org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
String forId,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new Label with the for attribute.
|
static org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
String forId,
de.alpharogroup.locale.ResourceBundleKey resourceBundleKey,
org.apache.wicket.Component component)
Factory method for create a new Label with the for attribute.
|
static org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
String resourceKey,
String defaultValue,
org.apache.wicket.Component component)
Factory method for create a new Label.
|
static <T> org.apache.wicket.markup.html.basic.MultiLineLabel |
newMultiLineLabel(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new MultiLineLabel with a
IModel. |
static org.apache.wicket.markup.html.form.PasswordTextField |
newPasswordTextField(String id,
org.apache.wicket.model.IModel<String> model)
Factory method for creating a new
PasswordTextField. |
static <T> org.apache.wicket.markup.html.form.RadioChoice<T> |
newRadioChoice(String id,
org.apache.wicket.model.IModel<T> model,
List<? extends T> choices)
Factory method for create a new
RadioChoice. |
static <T> org.apache.wicket.markup.html.form.RadioChoice<T> |
newRadioChoice(String id,
org.apache.wicket.model.IModel<T> model,
List<? extends T> choices,
org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
Factory method for create a new
RadioChoice. |
static <T> org.apache.wicket.markup.html.form.RadioGroup<T> |
newRadioGroup(String id)
Factory method for create a new
RadioGroup. |
static <T> org.apache.wicket.markup.html.form.RadioGroup<T> |
newRadioGroup(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new
RadioGroup. |
static <T> org.apache.wicket.markup.html.form.RequiredTextField<T> |
newRequiredTextField(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new
RequiredTextField. |
static <T> org.apache.wicket.markup.html.form.TextArea<T> |
newTextArea(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new TextArea.
|
static <T> org.apache.wicket.markup.html.form.TextField<T> |
newTextField(String id)
Factory method for create a new
TextField. |
static <T> org.apache.wicket.markup.html.form.TextField<T> |
newTextField(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new
TextField. |
static org.apache.wicket.markup.html.WebMarkupContainer |
newWebMarkupContainer(String id)
Factory method for create a new
WebMarkupContainer. |
static <T> org.apache.wicket.markup.html.WebMarkupContainer |
newWebMarkupContainer(String id,
org.apache.wicket.model.IModel<T> model)
Factory method for create a new
WebMarkupContainer. |
public static org.apache.wicket.markup.html.form.CheckBox newCheckBox(String id, org.apache.wicket.model.IModel<Boolean> model)
id - the idmodel - the modelpublic static org.apache.wicket.markup.html.panel.ComponentFeedbackPanel newComponentFeedbackPanel(String id, org.apache.wicket.Component filter)
id - the idfilter - the filterpublic static org.apache.wicket.extensions.yui.calendar.DateTimeField newDateTimeField(String id, org.apache.wicket.model.IModel<Date> model)
id - the idmodel - the modelpublic static <T> org.apache.wicket.markup.html.form.DropDownChoice<T> newDropDownChoice(String id, org.apache.wicket.model.IModel<T> model, List<? extends T> choices)
DropDownChoice.T - the generic type of the DropDownChoiceid - the idmodel - the modelchoices - The collection of choices in the dropdownDropDownChoicepublic static <T> org.apache.wicket.markup.html.form.DropDownChoice<T> newDropDownChoice(String id, org.apache.wicket.model.IModel<T> model, List<? extends T> choices, org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
DropDownChoice.T - the generic type of the DropDownChoiceid - the idmodel - the modelchoices - The collection of choices in the dropdownrenderer - The rendering engineDropDownChoicepublic static <T extends Enum<T>> org.apache.wicket.markup.html.basic.EnumLabel<T> newEnumLabel(String id, org.apache.wicket.model.IModel<T> model)
T - the generic type of the modelid - the idmodel - the model of the labelpublic static org.apache.wicket.markup.html.form.EmailTextField newEmailTextField(String id, org.apache.wicket.model.IModel<String> model)
EmailTextField.id - the idmodel - the modelEmailTextFieldpublic static org.apache.wicket.markup.html.form.PasswordTextField newPasswordTextField(String id, org.apache.wicket.model.IModel<String> model)
PasswordTextField.id - the idmodel - the modelPasswordTextFieldpublic static org.apache.wicket.markup.html.panel.FeedbackPanel newFeedbackPanel(String id)
id - the idpublic static <T> org.apache.wicket.markup.html.form.Form<T> newForm(String id)
T - the generic type of the formid - the idpublic static <T> org.apache.wicket.markup.html.form.Form<T> newForm(String id, org.apache.wicket.model.IModel<T> model)
T - the generic type of the modelid - the idmodel - the modelpublic static org.apache.wicket.markup.html.panel.Fragment newFragment(String id, String markupId, org.apache.wicket.MarkupContainer markupProvider)
id - the idmarkupId - The associated id of the associated markup fragmentmarkupProvider - The component whose markup contains the fragment's markuppublic static <T> org.apache.wicket.markup.html.panel.Fragment newFragment(String id, String markupId, org.apache.wicket.MarkupContainer markupProvider, org.apache.wicket.model.IModel<T> model)
T - the generic typeid - the idmarkupId - The associated id of the associated markup fragmentmarkupProvider - The component whose markup contains the fragment's markupmodel - The model for this fragmentpublic static org.apache.wicket.Component newHiddenField(String id)
id - the idpublic static org.apache.wicket.markup.html.image.Image newImage(String id, org.apache.wicket.request.resource.IResource imageResource)
id - the idimageResource - the IResource objectpublic static <T> org.apache.wicket.markup.html.basic.Label newLabel(String id, org.apache.wicket.model.IModel<T> model)
IModel.T - the generic type of the modelid - the idmodel - the IModel for the label.public static org.apache.wicket.markup.html.basic.Label newLabel(String id, de.alpharogroup.locale.ResourceBundleKey resourceKey, org.apache.wicket.Component component)
Label with a ResourceBundleKey.id - the idresourceKey - the resource keycomponent - the component to find resource keysLabelpublic static <T> org.apache.wicket.markup.html.basic.Label newLabel(String id, String forId, org.apache.wicket.model.IModel<T> model)
T - the generic type of the modelid - the idforId - the for idmodel - the modelpublic static org.apache.wicket.markup.html.basic.Label newLabel(String id, String forId, de.alpharogroup.locale.ResourceBundleKey resourceBundleKey, org.apache.wicket.Component component)
id - the idforId - the for idresourceBundleKey - the resource keycomponent - the component to find resource keyspublic static org.apache.wicket.markup.html.basic.Label newLabel(String id, String resourceKey, String defaultValue, org.apache.wicket.Component component)
id - the idresourceKey - the resource keydefaultValue - the default valuecomponent - the componentpublic static <T> org.apache.wicket.markup.html.basic.MultiLineLabel newMultiLineLabel(String id, org.apache.wicket.model.IModel<T> model)
IModel.T - the generic type of the modelid - the idmodel - the IModel for the label.public static <T> org.apache.wicket.markup.html.form.TextArea<T> newTextArea(String id, org.apache.wicket.model.IModel<T> model)
T - the generic type of the modelid - the idmodel - the modelpublic static <T> org.apache.wicket.markup.html.form.TextField<T> newTextField(String id)
TextField.T - the generic type of the modelid - the idTextFieldpublic static <T> org.apache.wicket.markup.html.form.TextField<T> newTextField(String id, org.apache.wicket.model.IModel<T> model)
TextField.T - the generic type of the modelid - the idmodel - the modelTextFieldpublic static <T> org.apache.wicket.markup.html.form.RadioGroup<T> newRadioGroup(String id)
RadioGroup.T - the generic type of the modelid - the idRadioGrouppublic static <T> org.apache.wicket.markup.html.form.RadioGroup<T> newRadioGroup(String id, org.apache.wicket.model.IModel<T> model)
RadioGroup.T - the generic type of the modelid - the idmodel - the modelRadioGrouppublic static <T> org.apache.wicket.markup.html.form.RadioChoice<T> newRadioChoice(String id, org.apache.wicket.model.IModel<T> model, List<? extends T> choices, org.apache.wicket.markup.html.form.IChoiceRenderer<? super T> renderer)
RadioChoice.T - the generic type of the modelid - the idmodel - the modelchoices - The list of choices in the radio choicerenderer - the rendererRadioChoicepublic static <T> org.apache.wicket.markup.html.form.RadioChoice<T> newRadioChoice(String id, org.apache.wicket.model.IModel<T> model, List<? extends T> choices)
RadioChoice.T - the generic type of the modelid - the idmodel - the modelchoices - The list of choices in the radio choiceRadioChoicepublic static <T> org.apache.wicket.markup.html.form.RequiredTextField<T> newRequiredTextField(String id, org.apache.wicket.model.IModel<T> model)
RequiredTextField.T - the generic type of the modelid - the idmodel - the modelRequiredTextFieldpublic static <T> org.apache.wicket.markup.html.form.CheckGroup<T> newCheckGroup(String id, org.apache.wicket.model.IModel<? extends Collection<T>> model)
CheckGroup.T - the generic type of the modelid - the idmodel - the modelCheckGrouppublic static <T> org.apache.wicket.markup.html.form.CheckGroupSelector newCheckGroupSelector(String id)
CheckGroupSelector.T - the generic type of the modelid - the idCheckGroupSelectorpublic static <T> org.apache.wicket.markup.html.form.CheckGroupSelector newCheckGroupSelector(String id, org.apache.wicket.markup.html.form.CheckGroup<T> group)
CheckGroupSelector.T - the generic type of the modelid - the idgroup - the CheckGroupCheckGroupSelectorpublic static org.apache.wicket.markup.html.WebMarkupContainer newWebMarkupContainer(String id)
WebMarkupContainer.id - the idWebMarkupContainerpublic static <T> org.apache.wicket.markup.html.WebMarkupContainer newWebMarkupContainer(String id, org.apache.wicket.model.IModel<T> model)
WebMarkupContainer.T - the generic type of the modelid - the idmodel - the modelWebMarkupContainerCopyright © 2010–2015. All rights reserved.