Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.descriptors
Class LayoutRowDescriptor

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.descriptors.LayoutRowDescriptor
All Implemented Interfaces:
Serializable, LayoutRowDefinition
Direct Known Subclasses:
LayoutColumnDescriptor

public class LayoutRowDescriptor
extends Object
implements LayoutRowDefinition

Layout row descriptor.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
LayoutRowDescriptor()
           
 
Method Summary
 String getName()
          Returns the row name
 Map<String,Map<String,Serializable>> getProperties()
          Returns properties by mode.
 Map<String,Serializable> getProperties(String layoutMode)
          Returns a map of properties to use in a given mode.
 int getSize()
          Returns the row size
 String[] getWidgets()
          Returns the list of widget names to use at a given row.
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutRowDescriptor

public LayoutRowDescriptor()
Method Detail

getName

public String getName()
Description copied from interface: LayoutRowDefinition
Returns the row name

Specified by:
getName in interface LayoutRowDefinition

isSelectedByDefault

public boolean isSelectedByDefault()
Description copied from interface: LayoutRowDefinition
Returns true if this row should be considered selected by default

Specified by:
isSelectedByDefault in interface LayoutRowDefinition

isAlwaysSelected

public boolean isAlwaysSelected()
Description copied from interface: LayoutRowDefinition
Return true if this row should be considered always selected

Specified by:
isAlwaysSelected in interface LayoutRowDefinition

getSize

public int getSize()
Description copied from interface: LayoutRowDefinition
Returns the row size

Specified by:
getSize in interface LayoutRowDefinition

getWidgets

public String[] getWidgets()
Description copied from interface: LayoutRowDefinition
Returns the list of widget names to use at a given row.

For instance, this could describe a layout like: ['title'], or ['creationDate', '', 'modificationDate'].

Specified by:
getWidgets in interface LayoutRowDefinition

getProperties

public Map<String,Serializable> getProperties(String layoutMode)
Description copied from interface: LayoutRowDefinition
Returns a map of properties to use in a given mode.

Specified by:
getProperties in interface LayoutRowDefinition

getProperties

public Map<String,Map<String,Serializable>> getProperties()
Description copied from interface: LayoutRowDefinition
Returns properties by mode.

Specified by:
getProperties in interface LayoutRowDefinition

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.