|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.markup.html.WebMarkupContainer
org.apache.wicket.markup.html.panel.Panel
org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLabel<T>
org.apache.wicket.extensions.ajax.markup.html.AjaxEditableChoiceLabel<T>
T - public class AjaxEditableChoiceLabel<T>
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 |
| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.markup.html.panel.Panel |
|---|
PANEL |
| Fields inherited from class org.apache.wicket.Component |
|---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
| Constructor Summary | |
|---|---|
AjaxEditableChoiceLabel(String id)
Construct. |
|
AjaxEditableChoiceLabel(String id,
IModel<T> model)
Construct. |
|
AjaxEditableChoiceLabel(String id,
IModel<T> model,
IModel<? extends List<? extends T>> choices)
Construct. |
|
AjaxEditableChoiceLabel(String id,
IModel<T> model,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
Construct. |
|
AjaxEditableChoiceLabel(String id,
IModel<T> model,
List<? extends T> choices)
Construct. |
|
AjaxEditableChoiceLabel(String id,
IModel<T> model,
List<? extends T> choices,
IChoiceRenderer<T> renderer)
Construct. |
|
AjaxEditableChoiceLabel(String id,
List<? extends T> choices)
Construct. |
|
| Method Summary | |
|---|---|
protected FormComponent<T> |
newEditor(MarkupContainer parent,
String componentId,
IModel<T> model)
Create a new form component instance to serve as editor. |
protected WebComponent |
newLabel(MarkupContainer parent,
String componentId,
IModel<T> model)
Create a new form component instance to serve as label. |
protected void |
onDetach()
Called to allow a component to detach resources after use. |
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, setDefaultModel, setLabel, setRequired, setType |
| Methods inherited from class org.apache.wicket.markup.html.panel.Panel |
|---|
newMarkupSourcingStrategy |
| Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer |
|---|
getWebPage, getWebRequest |
| Methods inherited from class org.apache.wicket.MarkupContainer |
|---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, hasAssociatedMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onMarkupAttached, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AjaxEditableChoiceLabel(String id)
id - The component id
public AjaxEditableChoiceLabel(String id,
IModel<T> model)
id - The component idmodel - The model
public AjaxEditableChoiceLabel(String id,
List<? extends T> choices)
id - The component idchoices - The collection of choices in the dropdown
public AjaxEditableChoiceLabel(String id,
IModel<T> model,
IModel<? extends List<? extends T>> choices)
id - The component idmodel - The modelchoices - The collection of choices in the dropdown
public AjaxEditableChoiceLabel(String id,
IModel<T> model,
IModel<? extends List<? extends T>> choices,
IChoiceRenderer<T> renderer)
id - The component idmodel - The modelchoices - The collection of choices in the dropdownrenderer - The rendering engine
public AjaxEditableChoiceLabel(String id,
IModel<T> model,
List<? extends T> choices)
id - The component idmodel - The modelchoices - The collection of choices in the dropdown
public AjaxEditableChoiceLabel(String id,
IModel<T> model,
List<? extends T> choices,
IChoiceRenderer<T> renderer)
id - The component idmodel - The modelchoices - The collection of choices in the dropdownrenderer - The rendering engine| Method Detail |
|---|
protected FormComponent<T> newEditor(MarkupContainer parent,
String componentId,
IModel<T> model)
newEditor in class AjaxEditableLabel<T>parent - The parent componentcomponentId - Id that should be used by the componentmodel - The model
protected WebComponent newLabel(MarkupContainer parent,
String componentId,
IModel<T> model)
newLabel in class AjaxEditableLabel<T>parent - The parent componentcomponentId - Id that should be used by the componentmodel - The model
protected void onModelChanged()
onModelChanged in class AjaxEditableLabel<T>protected void onModelChanging()
onModelChanging in class AjaxEditableLabel<T>protected void onDetach()
onDetach in class Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||