Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.forms.layout.api
Interface LayoutRow

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
LayoutRowImpl

public interface LayoutRow
extends java.io.Serializable

Layout row interface.

A layout row is a list Widget instances, built from a LayoutRowDefinition in a given mode. It gives information about the widgets presentation.

Author:
Anahide Tchertchian

Method Summary
 java.lang.String getName()
           
 java.util.Map<java.lang.String,java.io.Serializable> getProperties()
          Get properties to use in this mode.
 java.io.Serializable getProperty(java.lang.String name)
          Returns property with given name in this mode.
 int getSize()
           
 Widget[] getWidgets()
           
 boolean isAlwaysSelected()
          Return true if this row should be considered always selected
 boolean isSelectedByDefault()
          Returns true if this row should be considered selected by default
 

Method Detail

getName

java.lang.String getName()

isSelectedByDefault

boolean isSelectedByDefault()
Returns true if this row should be considered selected by default


isAlwaysSelected

boolean isAlwaysSelected()
Return true if this row should be considered always selected


getWidgets

Widget[] getWidgets()

getSize

int getSize()

getProperties

java.util.Map<java.lang.String,java.io.Serializable> getProperties()
Get properties to use in this mode.

The way that properties will be mapped to rendered components is managed by the widget type.

Since:
5.3.1

getProperty

java.io.Serializable getProperty(java.lang.String name)
Returns property with given name in this mode.

Parameters:
name - the property name.
Returns:
the property value or null if not found.
Since:
5.3.1

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.