org.wicketopia
Class Wicketopia
java.lang.Object
org.wicketopia.Wicketopia
public class Wicketopia
- extends Object
Method Summary |
void |
addBeanMetaDataDecorator(org.metastopheles.MetaDataDecorator<org.metastopheles.BeanMetaData> decorator)
|
void |
addEditorTypeOverride(Class<?> propertyType,
String typeName)
|
void |
addMethodMetaDataDecorator(org.metastopheles.MetaDataDecorator<org.metastopheles.MethodMetaData> decorator)
|
void |
addPlugin(WicketopiaPlugin plugin)
|
void |
addPropertyEditorProvider(String typeName,
PropertyEditorProvider provider)
|
void |
addPropertyMetaDataDecorator(org.metastopheles.MetaDataDecorator<org.metastopheles.PropertyMetaData> decorator)
|
void |
addPropertyViewerProvider(String typeName,
PropertyViewerProvider provider)
|
void |
addViewerTypeOverride(Class<?> propertyType,
String typeName)
|
String |
calculateDefaultDisplayName(org.metastopheles.BeanMetaData beanMetaData)
|
String |
calculateDefaultDisplayName(org.metastopheles.PropertyMetaData propertyMetaData)
|
String |
calculateDisplayNameMessageKey(org.metastopheles.BeanMetaData beanMetaData)
|
String |
calculateDisplayNameMessageKey(org.metastopheles.PropertyMetaData propertyMetaData)
|
<T> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>> |
|
createColumns(Class<T> beanType,
PropertyComponentFactory<T> factory,
Context context,
String... properties)
|
|
createEditorFactory(Class<T> beanType)
|
org.apache.wicket.Component |
createPropertyEditor(String id,
org.metastopheles.PropertyMetaData propertyMetadata,
org.apache.wicket.model.IModel<?> propertyModel,
Context context)
|
org.apache.wicket.Component |
createPropertyViewer(String id,
org.metastopheles.PropertyMetaData propertyMetaData,
org.apache.wicket.model.IModel<?> propertyModel,
Context context)
|
|
createViewerFactory(Class<T> beanType)
|
static Wicketopia |
get()
|
org.apache.wicket.protocol.http.WebApplication |
getApplication()
|
org.metastopheles.BeanMetaData |
getBeanMetaData(Class<?> beanClass)
|
PropertyEditorProvider |
getEditorProvider(org.metastopheles.PropertyMetaData propertyMetaData)
|
TypeMapping |
getEditorTypeMapping()
|
|
getPlugin(Class<P> pluginType)
Retrieves a plugin by type |
PropertyViewerProvider |
getViewerProvider(org.metastopheles.PropertyMetaData propertyMetaData)
|
TypeMapping |
getViewerTypeMapping()
|
List<String> |
getVisibleProperties(Class<?> beanType,
Context context,
String... properties)
|
static void |
install()
Installs Wicketopia into the currently-running web application using all default settings. |
void |
install(org.apache.wicket.protocol.http.WebApplication application)
|
void |
setBeanMetaDataFactory(org.metastopheles.BeanMetaDataFactory beanMetaDataFactory)
|
void |
setEditorTypeMapping(TypeMapping editorTypeMapping)
|
void |
setViewerTypeMapping(TypeMapping viewerTypeMapping)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Wicketopia
public Wicketopia()
Wicketopia
public Wicketopia(List<WicketopiaPlugin> plugins)
Wicketopia
public Wicketopia(WicketopiaPlugin... plugins)
get
public static Wicketopia get()
install
public static void install()
- Installs Wicketopia into the currently-running web application using all default settings.
getApplication
public org.apache.wicket.protocol.http.WebApplication getApplication()
getEditorTypeMapping
public TypeMapping getEditorTypeMapping()
setEditorTypeMapping
public void setEditorTypeMapping(TypeMapping editorTypeMapping)
getViewerTypeMapping
public TypeMapping getViewerTypeMapping()
setViewerTypeMapping
public void setViewerTypeMapping(TypeMapping viewerTypeMapping)
setBeanMetaDataFactory
public void setBeanMetaDataFactory(org.metastopheles.BeanMetaDataFactory beanMetaDataFactory)
addBeanMetaDataDecorator
public void addBeanMetaDataDecorator(org.metastopheles.MetaDataDecorator<org.metastopheles.BeanMetaData> decorator)
addEditorTypeOverride
public void addEditorTypeOverride(Class<?> propertyType,
String typeName)
addMethodMetaDataDecorator
public void addMethodMetaDataDecorator(org.metastopheles.MetaDataDecorator<org.metastopheles.MethodMetaData> decorator)
addPlugin
public void addPlugin(WicketopiaPlugin plugin)
addPropertyEditorProvider
public void addPropertyEditorProvider(String typeName,
PropertyEditorProvider provider)
addPropertyMetaDataDecorator
public void addPropertyMetaDataDecorator(org.metastopheles.MetaDataDecorator<org.metastopheles.PropertyMetaData> decorator)
addPropertyViewerProvider
public void addPropertyViewerProvider(String typeName,
PropertyViewerProvider provider)
addViewerTypeOverride
public void addViewerTypeOverride(Class<?> propertyType,
String typeName)
calculateDefaultDisplayName
public String calculateDefaultDisplayName(org.metastopheles.BeanMetaData beanMetaData)
calculateDefaultDisplayName
public String calculateDefaultDisplayName(org.metastopheles.PropertyMetaData propertyMetaData)
calculateDisplayNameMessageKey
public String calculateDisplayNameMessageKey(org.metastopheles.BeanMetaData beanMetaData)
calculateDisplayNameMessageKey
public String calculateDisplayNameMessageKey(org.metastopheles.PropertyMetaData propertyMetaData)
createColumns
public <T> List<org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<T,String>> createColumns(Class<T> beanType,
PropertyComponentFactory<T> factory,
Context context,
String... properties)
createEditorFactory
public <T> PropertyComponentFactory<T> createEditorFactory(Class<T> beanType)
createPropertyEditor
public org.apache.wicket.Component createPropertyEditor(String id,
org.metastopheles.PropertyMetaData propertyMetadata,
org.apache.wicket.model.IModel<?> propertyModel,
Context context)
createPropertyViewer
public org.apache.wicket.Component createPropertyViewer(String id,
org.metastopheles.PropertyMetaData propertyMetaData,
org.apache.wicket.model.IModel<?> propertyModel,
Context context)
createViewerFactory
public <T> PropertyComponentFactory<T> createViewerFactory(Class<T> beanType)
getBeanMetaData
public org.metastopheles.BeanMetaData getBeanMetaData(Class<?> beanClass)
getEditorProvider
public PropertyEditorProvider getEditorProvider(org.metastopheles.PropertyMetaData propertyMetaData)
getPlugin
public <P extends WicketopiaPlugin> P getPlugin(Class<P> pluginType)
- Retrieves a plugin by type
- Type Parameters:
P
- the plugin type- Parameters:
pluginType
- the plugin type
- Returns:
- the plugin
getViewerProvider
public PropertyViewerProvider getViewerProvider(org.metastopheles.PropertyMetaData propertyMetaData)
getVisibleProperties
public List<String> getVisibleProperties(Class<?> beanType,
Context context,
String... properties)
install
public void install(org.apache.wicket.protocol.http.WebApplication application)
Copyright © 2010-2013. All Rights Reserved.