|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.platform.forms.layout.facelets.plugins.AbstractWidgetTypeHandler
public abstract class AbstractWidgetTypeHandler
Abstract widget type handler.
| Constructor Summary | |
|---|---|
AbstractWidgetTypeHandler()
|
|
| Method Summary | |
|---|---|
abstract com.sun.facelets.FaceletHandler |
getFaceletHandler(com.sun.facelets.FaceletContext ctx,
com.sun.facelets.tag.TagConfig tagConfig,
Widget widget,
com.sun.facelets.FaceletHandler[] subHandlers)
Returns the facelet handler that will be applied for given widget and template in this context. |
String |
getProperty(String name)
Returns a property value given its name. |
String |
getRequiredProperty(String name)
Helper method, throws an exception if property value is null. |
void |
setProperties(Map<String,String> properties)
Set properties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractWidgetTypeHandler()
| Method Detail |
|---|
public abstract com.sun.facelets.FaceletHandler getFaceletHandler(com.sun.facelets.FaceletContext ctx,
com.sun.facelets.tag.TagConfig tagConfig,
Widget widget,
com.sun.facelets.FaceletHandler[] subHandlers)
throws WidgetException
WidgetTypeHandler
getFaceletHandler in interface WidgetTypeHandlerctx - the facelet context in which this handler will be applied.tagConfig - the tag configuration this facelet will be applied for.widget - the widget giving properties the handler will take into
account.subHandlers - facelet handlers for sub widgets.
WidgetExceptionpublic String getProperty(String name)
WidgetTypeHandler
getProperty in interface WidgetTypeHandler
public String getRequiredProperty(String name)
throws WidgetException
WidgetExceptionpublic void setProperties(Map<String,String> properties)
WidgetTypeHandler
setProperties in interface WidgetTypeHandler
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||