Section

Inheritance: java.lang.Object

public class Section

Element of AmpAccordion.

Constructors

Constructor Description
Section()

Methods

Method Description
getExpanded() Displays the section as expanded on page load.
setExpanded(boolean value) Displays the section as expanded on page load.
getHeader() Represents the heading for the section.
setHeader(SectionHeader value) Represents the heading for the section.
getValue() Represents the content of the section.
setValue(SectionValue value) Represents the content of the section.
toAmpHtml() AmpHtml representation of section value.
toHtml() Html representation of section.

Section()

public Section()

getExpanded()

public final boolean getExpanded()

Displays the section as expanded on page load.

Returns: boolean

setExpanded(boolean value)

public final void setExpanded(boolean value)

Displays the section as expanded on page load.

Parameters:

Parameter Type Description
value boolean

getHeader()

public final SectionHeader getHeader()

Represents the heading for the section.

Returns: SectionHeader

setHeader(SectionHeader value)

public final void setHeader(SectionHeader value)

Represents the heading for the section.

Parameters:

Parameter Type Description
value SectionHeader

getValue()

public final SectionValue getValue()

Represents the content of the section.

Returns: SectionValue

setValue(SectionValue value)

public final void setValue(SectionValue value)

Represents the content of the section.

Parameters:

Parameter Type Description
value SectionValue

toAmpHtml()

public final String toAmpHtml()

AmpHtml representation of section value.

Returns: java.lang.String -

toHtml()

public final String toHtml()

Html representation of section.

Returns: java.lang.String -