com.semarchy.mdm.runtime.model.logical
Class FormGridLayoutDescriptor

java.lang.Object
  extended by com.semarchy.mdm.runtime.model.logical.FormGridLayoutDescriptor
All Implemented Interfaces:
Serializable

public class FormGridLayoutDescriptor
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class FormGridLayoutDescriptor.AttributeGridLayoutData
           
static class FormGridLayoutDescriptor.GridLabelPosition
           
static class FormGridLayoutDescriptor.SectionGridLayoutData
           
 
Constructor Summary
FormGridLayoutDescriptor(FormLabelAlignment attributeLabelAlignment, Map<IFormSection,FormGridLayoutDescriptor.SectionGridLayoutData> gridSectionLayoutData, Map<IFormAttribute,FormGridLayoutDescriptor.AttributeGridLayoutData> gridAttributeLayoutData)
           
 
Method Summary
 FormLabelAlignment getAttributeLabelAlignment()
           
 FormGridLayoutDescriptor.AttributeGridLayoutData getAttributeLayoutData(IFormAttribute formAttribute)
           
 FormGridLayoutDescriptor.SectionGridLayoutData getSectionLayoutData(IFormSection formSection)
           
 boolean isVisible(IFormAttribute attribute)
           
 boolean isVisible(IFormSection formSection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormGridLayoutDescriptor

public FormGridLayoutDescriptor(FormLabelAlignment attributeLabelAlignment,
                                Map<IFormSection,FormGridLayoutDescriptor.SectionGridLayoutData> gridSectionLayoutData,
                                Map<IFormAttribute,FormGridLayoutDescriptor.AttributeGridLayoutData> gridAttributeLayoutData)
Method Detail

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.