|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Widget
Widget interface.
A widget is built from a WidgetDefinition in a given mode.
| Method Summary | |
|---|---|
FieldDefinition[] |
getFieldDefinitions()
Returns the list of fields managed by this widget. |
String |
getHelpLabel()
Return the help label to use in this mode. |
String |
getId()
Returns the widget id, unique within the facelet context. |
String |
getLabel()
Returns the label to use in this mode. |
String |
getLayoutName()
Returns the layout name. |
String |
getMode()
Returns the widget mode. |
String |
getName()
Returns the widget name used to identify it within a layout. |
Map<String,Serializable> |
getProperties()
Get properties to use in this mode. |
Serializable |
getProperty(String name)
Returns property with given name in this mode. |
Widget[] |
getSubWidgets()
Returns sub widgets. |
String |
getType()
Returns the widget type used to render it. |
String |
getValueName()
Gets the value name used to compute tag attributes. |
boolean |
isRequired()
Returns true if the widget is required. |
boolean |
isTranslated()
Returns true if all labels are messages that need to be translated. |
void |
setId(String id)
Sets the widget id, unique within the facelet context. |
void |
setValueName(String valueName)
Sets the value name used to compute tag attributes. |
| Method Detail |
|---|
String getId()
void setId(String id)
String getName()
String getLayoutName()
String getType()
String getValueName()
void setValueName(String valueName)
FieldDefinition[] getFieldDefinitions()
String getMode()
This mode can be different from the layout mode.
String getLabel()
String getHelpLabel()
boolean isTranslated()
Map<String,Serializable> getProperties()
The way that properties will be mapped to rendered components is managed by the widget type.
Serializable getProperty(String name)
name - the property name.
boolean isRequired()
This is a short link for the "required" property, already evaluated from an EL expression (if needed). Defaults to false.
Widget[] getSubWidgets()
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||