|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Layout
Layout interface.
A layout is a group of Widget
instances, built from a
LayoutDefinition
in a given mode.
Method Summary | |
---|---|
int |
getColumns()
Returns the maximum number of columns. |
String |
getId()
Returns the layout id, unique within the facelet context. |
String |
getMode()
Returns the layout mode. |
String |
getName()
Returns the layout name used to identify it within the layout service. |
Map<String,Serializable> |
getProperties()
Get properties to use in this mode. |
Serializable |
getProperty(String name)
Returns property with given name in this mode. |
LayoutRow[] |
getRows()
Returns the table of widgets. |
String |
getTemplate()
Returns the template used to render widgets. |
Widget |
getWidget(String name)
Returns widget with given name. |
Map<String,Widget> |
getWidgetMap()
Returns a widget map, with widget name as key. |
void |
setId(String id)
Sets the layout id, unique within the facelet context. |
void |
setProperty(String name,
Serializable value)
Sets property with given name on the layout. |
Method Detail |
---|
String getId()
void setId(String id)
String getName()
String getMode()
String getTemplate()
LayoutRow[] getRows()
This list is computed from the LayoutDefinition
rows.
Widgets that are not found are ignored.
int getColumns()
Widget getWidget(String name)
Only widgets of the first level are retrieved.
Map<String,Widget> getWidgetMap()
Only widgets of the first level are retrieved.
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.
void setProperty(String name, Serializable value)
name
- the property name.value
- the property value or null if not found.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |