com.semarchy.mdm.runtime.model.logical
Class FormGridLayoutDescriptor
java.lang.Object
com.semarchy.mdm.runtime.model.logical.FormGridLayoutDescriptor
- All Implemented Interfaces:
- Serializable
public class FormGridLayoutDescriptor
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormGridLayoutDescriptor
public FormGridLayoutDescriptor(FormLabelAlignment attributeLabelAlignment,
Map<IFormSection,FormGridLayoutDescriptor.SectionGridLayoutData> gridSectionLayoutData,
Map<IFormAttribute,FormGridLayoutDescriptor.AttributeGridLayoutData> gridAttributeLayoutData)
getAttributeLabelAlignment
public FormLabelAlignment getAttributeLabelAlignment()
getSectionLayoutData
public FormGridLayoutDescriptor.SectionGridLayoutData getSectionLayoutData(IFormSection formSection)
- Parameters:
formSection
-
- Returns:
-
- Throws:
IllegalStateException
- if isVisible(IFormSection)
returns false
getAttributeLayoutData
public FormGridLayoutDescriptor.AttributeGridLayoutData getAttributeLayoutData(IFormAttribute formAttribute)
throws IllegalStateException
- Parameters:
formAttribute
-
- Returns:
-
- Throws:
IllegalStateException
- if isVisible(IFormAttribute)
returns false
isVisible
public boolean isVisible(IFormAttribute attribute)
- Parameters:
attribute
-
- Returns:
- true if the given
IFormAttribute
has a defined FormGridLayoutDescriptor.AttributeGridLayoutData
isVisible
public boolean isVisible(IFormSection formSection)
- Parameters:
attribute
-
- Returns:
- true if the given
IFormSection
has a defined FormGridLayoutDescriptor.SectionGridLayoutData
Copyright © 2015. All Rights Reserved.