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 create a new
DateTimeField. |
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 create 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
HiddenField. |
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.resourcebundle.locale.ResourceBundleKey resourceKey,
org.apache.wicket.Component component)
Factory method for create a new
Label with a ResourceBundleKey. |
static org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
String label)
Factory method for create a new
Label with a String. |
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.resourcebundle.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. |
static org.apache.wicket.markup.html.form.PasswordTextField |
newPasswordTextField(String id,
org.apache.wicket.model.IModel<String> model)
Factory method for create 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)
CheckBox.id - the idmodel - the modelCheckBoxpublic 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.panel.ComponentFeedbackPanel newComponentFeedbackPanel(String id, org.apache.wicket.Component filter)
ComponentFeedbackPanel.id - the idfilter - the filterComponentFeedbackPanelpublic static org.apache.wicket.extensions.yui.calendar.DateTimeField newDateTimeField(String id, org.apache.wicket.model.IModel<Date> model)
DateTimeField.id - the idmodel - the modelDateTimeField.public 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 dropdownDropDownChoice.public 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 engineDropDownChoice.public static org.apache.wicket.markup.html.form.EmailTextField newEmailTextField(String id, org.apache.wicket.model.IModel<String> model)
EmailTextField.id - the idmodel - the modelEmailTextField.public static <T extends Enum<T>> org.apache.wicket.markup.html.basic.EnumLabel<T> newEnumLabel(String id, org.apache.wicket.model.IModel<T> model)
EnumLabel.T - the generic type of the modelid - the idmodel - the model of the labelEnumLabel.public static org.apache.wicket.markup.html.panel.FeedbackPanel newFeedbackPanel(String id)
FeedbackPanel.id - the idFeedbackPanel.public static <T> org.apache.wicket.markup.html.form.Form<T> newForm(String id)
Form.T - the generic type of the formid - the idForm.public static <T> org.apache.wicket.markup.html.form.Form<T> newForm(String id, org.apache.wicket.model.IModel<T> model)
Form.T - the generic type of the modelid - the idmodel - the modelForm.public static org.apache.wicket.markup.html.panel.Fragment newFragment(String id, String markupId, org.apache.wicket.MarkupContainer markupProvider)
Fragment.id - the idmarkupId - The associated id of the associated markup fragmentmarkupProvider - The component whose markup contains the fragment's markupFragment.public 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)
Fragment.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 FragmentFragment.public static org.apache.wicket.Component newHiddenField(String id)
HiddenField.id - the idHiddenField.public static org.apache.wicket.markup.html.image.Image newImage(String id, org.apache.wicket.request.resource.IResource imageResource)
Image.id - the idimageResource - the IResource objectImage.public static <T> org.apache.wicket.markup.html.basic.Label newLabel(String id, org.apache.wicket.model.IModel<T> model)
Label with a IModel.T - the generic type of the modelid - the idmodel - the IModel for the label.Labelpublic static org.apache.wicket.markup.html.basic.Label newLabel(String id, de.alpharogroup.resourcebundle.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 org.apache.wicket.markup.html.basic.Label newLabel(String id, String label)
Label with a String.id - the idlabel - the string for the labelLabelpublic static <T> org.apache.wicket.markup.html.basic.Label newLabel(String id, String forId, org.apache.wicket.model.IModel<T> model)
Label with the for attribute.T - the generic type of the modelid - the idforId - the for idmodel - the modelLabelpublic static org.apache.wicket.markup.html.basic.Label newLabel(String id, String forId, de.alpharogroup.resourcebundle.locale.ResourceBundleKey resourceBundleKey, org.apache.wicket.Component component)
Label with the for attribute.id - the idforId - the for idresourceBundleKey - the resource keycomponent - the component to find resource keysLabel.public static org.apache.wicket.markup.html.basic.Label newLabel(String id, String resourceKey, String defaultValue, org.apache.wicket.Component component)
Label.id - the idresourceKey - the resource keydefaultValue - the default valuecomponent - the component to use for resolve the resource keyLabel.public static <T> org.apache.wicket.markup.html.basic.MultiLineLabel newMultiLineLabel(String id, org.apache.wicket.model.IModel<T> model)
MultiLineLabel.T - the generic type of the modelid - the idmodel - the IModel of the MultiLineLabel.MultiLineLabel.public 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 <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.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.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 modelRadioGroup.public 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 modelRequiredTextField.public static <T> org.apache.wicket.markup.html.form.TextArea<T> newTextArea(String id, org.apache.wicket.model.IModel<T> model)
TextArea.T - the generic type of the modelid - the idmodel - the modelTextArea.public static <T> org.apache.wicket.markup.html.form.TextField<T> newTextField(String id)
TextField.T - the generic type of the modelid - the idTextField.public 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 modelTextField.public static org.apache.wicket.markup.html.WebMarkupContainer newWebMarkupContainer(String id)
WebMarkupContainer.id - the idWebMarkupContainer.public 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 modelWebMarkupContainer.Copyright © 2010–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.