FieldCollection

Lookup helpers for component editors within a document. Find editors by page or by component key and return typed editors when possible.

Functions

Link copied to clipboard
abstract fun all(): List<ComponentEditor>
Link copied to clipboard
abstract override fun barcode(key: String?): BarcodeEditor?
Link copied to clipboard
abstract override fun block(key: String?): BlockEditor?
Link copied to clipboard
abstract fun chart(key: String?): ChartEditor?

Find a ChartEditor by key (id or name), or null if not found.

Link copied to clipboard
abstract fun collection(key: String?): CollectionEditor?

Find a CollectionEditor by key (id or name), or null if not found.

Link copied to clipboard
abstract override fun date(key: String?): DateEditor?
Link copied to clipboard
abstract override fun dropdown(key: String?): DropdownEditor?
Link copied to clipboard
abstract override fun file(key: String?): FileEditor?
Link copied to clipboard
abstract fun find(key: String?): ComponentEditor?
Link copied to clipboard
abstract fun from(page: Page): List<ComponentEditor>

All component editors inside the provided page model.

abstract fun from(page: String): List<ComponentEditor>

All component editors inside the page identified by page id or name.

Link copied to clipboard
abstract override fun image(key: String?): ImageEditor?
Link copied to clipboard
abstract override fun multiSelect(key: String?): MultiSelectEditor?
Link copied to clipboard
abstract override fun number(key: String?): NumberEditor?
Link copied to clipboard
abstract override fun signature(key: String?): SignatureEditor?
Link copied to clipboard
abstract fun table(key: String?): TableEditor?

Find a TableEditor by key (id or name), or null if not found.

Link copied to clipboard
abstract override fun text(key: String?): TextEditor?
Link copied to clipboard
abstract override fun textArea(key: String?): TextAreaEditor?