public class DefaultSection extends SectionContainerImpl implements Section
| Constructor and Description |
|---|
DefaultSection(Form owner,
DefaultSectionDef def) |
| Modifier and Type | Method and Description |
|---|---|
void |
eachField(FieldVisitor visitor)
Visits all fields that is held by this container regardless of depth.
|
java.lang.String |
getDependsOn() |
java.lang.String |
getDependsOnValue() |
java.lang.String |
getDescription() |
java.lang.String |
getDomId() |
Field |
getFieldById(java.lang.String id) |
java.util.List<Field> |
getFields() |
java.lang.String |
getLabel() |
java.lang.String |
getSectionOptions() |
boolean |
hasFields() |
void |
toJSON(com.technia.tvc.core.util.json.JSONWriter writer) |
addSection, getHasSections, getSectionCount, getSections, getTotalFieldCount, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSectionspublic DefaultSection(Form owner, DefaultSectionDef def)
public boolean hasFields()
hasFields in interface FieldContainerpublic java.lang.String getLabel()
public java.lang.String getDescription()
getDescription in interface Sectionpublic java.lang.String getDependsOn()
public java.lang.String getDependsOnValue()
public java.lang.String getDomId()
public java.lang.String getSectionOptions()
public void eachField(FieldVisitor visitor)
SectionContainereachField in interface SectionContainereachField in class SectionContainerImplvisitor - The visitorpublic java.util.List<Field> getFields()
getFields in interface FieldContainerpublic Field getFieldById(java.lang.String id)
getFieldById in interface FieldContainergetFieldById in class SectionContainerImplid - The field IDpublic void toJSON(com.technia.tvc.core.util.json.JSONWriter writer)
toJSON in interface com.technia.tvc.core.util.json.JSONWriteable