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.markup.html.form.EmailTextField |
newEmailTextField(String id,
org.apache.wicket.model.IModel<String> model)
Factory method for creating a new
EmailTextField. |
static <T> org.apache.wicket.markup.html.basic.EnumLabel |
newEnumLabel(String id,
org.apache.wicket.model.PropertyModel<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.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 <T> org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
org.apache.wicket.model.PropertyModel<T> model)
Factory method for create a new Label with a
PropertyModel. |
static org.apache.wicket.markup.html.basic.Label |
newLabel(String id,
net.sourceforge.jaulp.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 forId,
org.apache.wicket.model.IModel<String> 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,
net.sourceforge.jaulp.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.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.TextArea<T> |
newTextArea(String id,
org.apache.wicket.model.PropertyModel<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 <T> org.apache.wicket.markup.html.basic.EnumLabel newEnumLabel(String id, org.apache.wicket.model.PropertyModel<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.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 <T> org.apache.wicket.markup.html.basic.Label newLabel(String id, org.apache.wicket.model.PropertyModel<T> model)
PropertyModel.T - the generic type of the modelid - the idmodel - the modelpublic static org.apache.wicket.markup.html.basic.Label newLabel(String id, net.sourceforge.jaulp.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 forId, org.apache.wicket.model.IModel<String> model)
id - the idforId - the for idmodel - the modelpublic static org.apache.wicket.markup.html.basic.Label newLabel(String id, String forId, net.sourceforge.jaulp.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.PropertyModel<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.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.