|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.MarkupContainer org.apache.wicket.markup.html.WebMarkupContainer org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup org.apache.wicket.markup.html.panel.Panel org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel org.apache.wicket.extensions.ajax.markup.html.AjaxEditableChoiceLabel
public class AjaxEditableChoiceLabel
An inplace editor much like AjaxEditableLabel
, but instead of a TextField
a
DropDownChoice
is displayed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel |
---|
AjaxEditableLabel.EditorAjaxBehavior, AjaxEditableLabel.LabelAjaxBehavior |
Nested classes/interfaces inherited from class org.apache.wicket.Component |
---|
Component.ComponentModelChange, Component.EnabledChange, Component.IVisitor, Component.VisibilityChange |
Field Summary |
---|
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PATH_SEPARATOR, RENDER |
Constructor Summary | |
---|---|
AjaxEditableChoiceLabel(java.lang.String id)
Construct. |
|
AjaxEditableChoiceLabel(java.lang.String id,
IModel model)
Construct. |
|
AjaxEditableChoiceLabel(java.lang.String id,
IModel model,
IModel choices)
Construct. |
|
AjaxEditableChoiceLabel(java.lang.String id,
IModel model,
IModel choices,
IChoiceRenderer renderer)
Construct. |
|
AjaxEditableChoiceLabel(java.lang.String id,
IModel model,
java.util.List choices)
Construct. |
|
AjaxEditableChoiceLabel(java.lang.String id,
IModel model,
java.util.List choices,
IChoiceRenderer renderer)
Construct. |
|
AjaxEditableChoiceLabel(java.lang.String id,
java.util.List choices)
Construct. |
Method Summary | |
---|---|
protected FormComponent |
newEditor(MarkupContainer parent,
java.lang.String componentId,
IModel model)
Create a new form component instance to serve as editor. |
protected Component |
newLabel(MarkupContainer parent,
java.lang.String componentId,
IModel model)
Create a new form component instance to serve as label. |
protected void |
onModelChanged()
Dummy override to fix WICKET-1239 |
protected void |
onModelChanging()
Dummy override to fix WICKET-1239 |
Methods inherited from class org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel |
---|
add, defaultNullLabel, getConverter, getEditor, getLabel, getLabelAjaxEvent, onBeforeRender, onCancel, onEdit, onError, onSubmit, setLabel, setModel, setRequired, setType |
Methods inherited from class org.apache.wicket.markup.html.panel.Panel |
---|
onComponentTag, onComponentTagBody, renderHead |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainerWithAssociatedMarkup |
---|
newHeaderPartContainer, renderHeadFromAssociatedMarkupFile |
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
---|
getMarkupType, getWebPage |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, size, toString, toString, visitChildren, visitChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AjaxEditableChoiceLabel(java.lang.String id)
id
- The component idpublic AjaxEditableChoiceLabel(java.lang.String id, IModel model)
id
- The component idmodel
- The modelpublic AjaxEditableChoiceLabel(java.lang.String id, java.util.List choices)
id
- The component idchoices
- The collection of choices in the dropdownpublic AjaxEditableChoiceLabel(java.lang.String id, IModel model, IModel choices)
id
- The component idmodel
- The modelchoices
- The collection of choices in the dropdownpublic AjaxEditableChoiceLabel(java.lang.String id, IModel model, IModel choices, IChoiceRenderer renderer)
id
- The component idmodel
- The modelchoices
- The collection of choices in the dropdownrenderer
- The rendering enginepublic AjaxEditableChoiceLabel(java.lang.String id, IModel model, java.util.List choices)
id
- The component idmodel
- The modelchoices
- The collection of choices in the dropdownpublic AjaxEditableChoiceLabel(java.lang.String id, IModel model, java.util.List choices, IChoiceRenderer renderer)
id
- The component idmodel
- The modelchoices
- The collection of choices in the dropdownrenderer
- The rendering engineMethod Detail |
---|
protected FormComponent newEditor(MarkupContainer parent, java.lang.String componentId, IModel model)
AjaxEditableLabel
newEditor
in class AjaxEditableLabel
parent
- The parent componentcomponentId
- Id that should be used by the componentmodel
- The model
AjaxEditableLabel.newEditor(org.apache.wicket.MarkupContainer,
java.lang.String, org.apache.wicket.model.IModel)
protected Component newLabel(MarkupContainer parent, java.lang.String componentId, IModel model)
AjaxEditableLabel
newLabel
in class AjaxEditableLabel
parent
- The parent componentcomponentId
- Id that should be used by the componentmodel
- The model
protected void onModelChanged()
AjaxEditableLabel
onModelChanged
in class AjaxEditableLabel
Component.onModelChanged()
protected void onModelChanging()
AjaxEditableLabel
onModelChanging
in class AjaxEditableLabel
Component.onModelChanging()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |