public static class DataLayout.Section extends java.lang.Object implements DataLayout.DataFormLayoutElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
Section(java.lang.String label)
Section constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getLabel()
Gets the value of the label property.
|
java.util.List<DataLayout.DataFormLayoutElement> |
getSectionLayout()
Gets the value of the sectionLayout property.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT
public Section(java.lang.String label)
label
- public java.util.List<DataLayout.DataFormLayoutElement> getSectionLayout()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you
make to the returned list will be present inside the object. This is why there is not a set
method for the sectionLayout property.
For example, to add a new item, do as follows:
getSectionLayout().add(newItem);
Objects of the following type(s) are allowed in the list: String
,
DataLayout.Section
, DataLayout.Fieldref
and DataLayout.Reportedref
public XmlStringBuilder toXML()
Element
public java.lang.String getLabel()
String
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement