|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutDefinition
Layout definition interface.
Method Summary | |
---|---|
int |
getColumns()
Returns the maximum number of columns. |
String |
getName()
Returns the layout name used to identify it within the layout service. |
Map<String,Map<String,Serializable>> |
getProperties()
Returns a map of properties by mode. |
Map<String,Serializable> |
getProperties(String layoutMode)
Returns a map of properties to use in a given mode. |
LayoutRowDefinition[] |
getRows()
Returns the list of widget names to use at a given row. |
String |
getTemplate(String mode)
Returns template to use in a given mode. |
Map<String,String> |
getTemplates()
Returns templates by mode |
WidgetDefinition |
getWidgetDefinition(String name)
Returns the widget definition with given name. |
Method Detail |
---|
String getName()
String getTemplate(String mode)
Map<String,String> getTemplates()
WidgetDefinition getWidgetDefinition(String name)
Returns null if a widget with this name is not found within the layout.
LayoutRowDefinition[] getRows()
For instance, this could describe a layout like: [['title'], ['description'], ['creationDate', '', 'modificationDate'], ['subject']].
int getColumns()
Map<String,Serializable> getProperties(String layoutMode)
Map<String,Map<String,Serializable>> getProperties()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |