|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
---|
equals, 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 WidgetTypeHandler
ctx
- 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.
WidgetException
public String getProperty(String name)
WidgetTypeHandler
getProperty
in interface WidgetTypeHandler
public String getRequiredProperty(String name) throws WidgetException
WidgetException
public void setProperties(Map<String,String> properties)
WidgetTypeHandler
setProperties
in interface WidgetTypeHandler
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |