GalleryTemplateData

class GalleryTemplateData


The semantic data required to build Gallery Template layouts

Summary

Public constructors

GalleryTemplateData(
    mainTextBlock: TextBlock,
    mainImageBlock: ImageBlock,
    galleryImageBlock: ImageBlock,
    header: HeaderBlock?,
    mainActionBlock: ActionBlock?
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

ImageBlock

The gallery block for a list of gallery images.

HeaderBlock?

The header of the template.

ActionBlock?

The head block for a list of action buttons for the main gallery object.

ImageBlock

The head block for an image of the main gallery object.

TextBlock

The head block for title, body, and other texts of the main gallery object.

Public constructors

GalleryTemplateData

Added in 1.0.0-alpha06
GalleryTemplateData(
    mainTextBlock: TextBlock,
    mainImageBlock: ImageBlock,
    galleryImageBlock: ImageBlock,
    header: HeaderBlock? = null,
    mainActionBlock: ActionBlock? = null
)
Parameters
mainTextBlock: TextBlock

The head block for title, body, and other texts of the main gallery object.

mainImageBlock: ImageBlock

The head block for an image of the main gallery object.

galleryImageBlock: ImageBlock

The gallery block for a list of gallery images.

header: HeaderBlock? = null

The header of the template.

mainActionBlock: ActionBlock? = null

The head block for a list of action buttons for the main gallery object.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

galleryImageBlock

Added in 1.0.0-alpha06
val galleryImageBlockImageBlock

The gallery block for a list of gallery images.

header

Added in 1.0.0-alpha06
val headerHeaderBlock?

The header of the template.

mainActionBlock

Added in 1.0.0-alpha06
val mainActionBlockActionBlock?

The head block for a list of action buttons for the main gallery object.

mainImageBlock

Added in 1.0.0-alpha06
val mainImageBlockImageBlock

The head block for an image of the main gallery object.

mainTextBlock

Added in 1.0.0-alpha06
val mainTextBlockTextBlock

The head block for title, body, and other texts of the main gallery object.