org.wicketopia.editor.provider
Class AbstractDropDownChoicePropertyEditorProvider

java.lang.Object
  extended by org.wicketopia.editor.provider.AbstractDropDownChoicePropertyEditorProvider
All Implemented Interfaces:
PropertyEditorProvider
Direct Known Subclasses:
EntityDropDownChoicePropertyEditorProvider

public abstract class AbstractDropDownChoicePropertyEditorProvider
extends Object
implements PropertyEditorProvider


Constructor Summary
AbstractDropDownChoicePropertyEditorProvider()
           
 
Method Summary
protected abstract
<T> org.apache.wicket.model.IModel<? extends List<? extends T>>
createChoicesModel(Class<T> type, Context context)
           
protected
<T> org.apache.wicket.markup.html.form.DropDownChoice<T>
createDropDownChoice(String componentId, Class<T> propertyType, org.apache.wicket.model.IModel<?> propertyModel, Context context)
           
 EditorBuilder createPropertyEditor(String componentId, org.metastopheles.PropertyMetaData propertyMetadata, org.apache.wicket.model.IModel<?> propertyModel, Context context)
           
protected abstract
<T> org.apache.wicket.markup.html.form.IChoiceRenderer<T>
createRenderer(org.apache.wicket.markup.html.form.DropDownChoice<T> ddc, Class<T> type, Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDropDownChoicePropertyEditorProvider

public AbstractDropDownChoicePropertyEditorProvider()
Method Detail

createChoicesModel

protected abstract <T> org.apache.wicket.model.IModel<? extends List<? extends T>> createChoicesModel(Class<T> type,
                                                                                                      Context context)

createRenderer

protected abstract <T> org.apache.wicket.markup.html.form.IChoiceRenderer<T> createRenderer(org.apache.wicket.markup.html.form.DropDownChoice<T> ddc,
                                                                                            Class<T> type,
                                                                                            Context context)

createPropertyEditor

public final EditorBuilder createPropertyEditor(String componentId,
                                                org.metastopheles.PropertyMetaData propertyMetadata,
                                                org.apache.wicket.model.IModel<?> propertyModel,
                                                Context context)
Specified by:
createPropertyEditor in interface PropertyEditorProvider

createDropDownChoice

protected <T> org.apache.wicket.markup.html.form.DropDownChoice<T> createDropDownChoice(String componentId,
                                                                                        Class<T> propertyType,
                                                                                        org.apache.wicket.model.IModel<?> propertyModel,
                                                                                        Context context)


Copyright © 2010-2013. All Rights Reserved.