public class LayoutDescriptor extends Object
Constructor and Description |
---|
LayoutDescriptor() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAliases() |
String[] |
getCategories()
Returns the categories for this layout, so that it can be stored in the corresponding registries.
|
int |
getColumns() |
protected LayoutRowDefinition[] |
getDefinitions(LayoutRowDescriptor[] rows) |
LayoutDefinition |
getLayoutDefinition() |
String |
getName() |
Map<String,Map<String,Serializable>> |
getProperties() |
Map<String,Serializable> |
getProperties(String layoutMode) |
LayoutRowDefinition[] |
getRows() |
String |
getTemplate(String mode) |
Map<String,String> |
getTemplates() |
String |
getType() |
String |
getTypeCategory() |
WidgetDefinition |
getWidgetDefinition(String name) |
protected WidgetDefinition |
getWidgetDefinition(WidgetDescriptor desc) |
public LayoutDescriptor()
public String getTypeCategory()
public String getTemplate(String mode)
public Map<String,String> getTemplates()
protected LayoutRowDefinition[] getDefinitions(LayoutRowDescriptor[] rows)
public LayoutRowDefinition[] getRows()
public int getColumns()
protected WidgetDefinition getWidgetDefinition(WidgetDescriptor desc)
public WidgetDefinition getWidgetDefinition(String name)
public Map<String,Serializable> getProperties(String layoutMode)
public Map<String,Map<String,Serializable>> getProperties()
public String[] getCategories()
public List<String> getAliases()
public LayoutDefinition getLayoutDefinition()
Copyright © 2015 Nuxeo SA. All rights reserved.