public class Section extends Object
Element of AmpAccordion.
Constructor and Description |
---|
Section() |
Modifier and Type | Method and Description |
---|---|
boolean |
getExpanded()
Displays the section as expanded on page load.
|
SectionHeader |
getHeader()
Represents the heading for the section.
|
SectionValue |
getValue()
Represents the content of the section.
|
void |
setExpanded(boolean value)
Displays the section as expanded on page load.
|
void |
setHeader(SectionHeader value)
Represents the heading for the section.
|
void |
setValue(SectionValue value)
Represents the content of the section.
|
String |
toAmpHtml()
AmpHtml representation of section value.
|
String |
toHtml()
Html representation of section.
|
public final boolean getExpanded()
Displays the section as expanded on page load.
public final void setExpanded(boolean value)
Displays the section as expanded on page load.
public final SectionHeader getHeader()
Represents the heading for the section.
public final void setHeader(SectionHeader value)
Represents the heading for the section.
public final SectionValue getValue()
Represents the content of the section.
public final void setValue(SectionValue value)
Represents the content of the section.
public final String toAmpHtml()
AmpHtml representation of section value.
public final String toHtml()
Html representation of section.