ExtendablePanelContainerElementList

interface ExtendablePanelContainerElementList<SD, BD> : List<PanelContainerElement<SD>>

Allows extending a PanelContainerElement list with PanelContainerElement.BasicElement elements with BD as basic element data type.

Parameters

SD

The type of the panel sub-container data. The data is derived from the panel container data.

BD

The type of the basic element data. The data is derived from the panel container data.

Inherited properties

Link copied to clipboard
abstract override val size: Int

Functions

Link copied to clipboard
abstract fun append(elementData: BD)

Appends PanelContainerElement.BasicElement at the end of the list.

Link copied to clipboard
abstract fun insertAfter(index: Int, elementData: BD)

Inserts PanelContainerElement.BasicElement after the element at index.

Link copied to clipboard
abstract fun insertBefore(index: Int, elementData: BD)

Inserts PanelContainerElement.BasicElement before the element at index.

Link copied to clipboard
abstract fun prepend(elementData: BD)

Prepends PanelContainerElement.BasicElement with elementData at the beginning of the list.

Inherited functions

Link copied to clipboard
abstract operator override fun contains(element: PanelContainerElement<SD>): Boolean
Link copied to clipboard
abstract override fun containsAll(elements: Collection<PanelContainerElement<SD>>): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in PanelContainerElement<SD>>)
Link copied to clipboard
abstract operator fun get(index: Int): PanelContainerElement<SD>
Link copied to clipboard
abstract fun indexOf(element: PanelContainerElement<SD>): Int
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<PanelContainerElement<SD>>
Link copied to clipboard
abstract fun lastIndexOf(element: PanelContainerElement<SD>): Int
Link copied to clipboard
abstract fun listIterator(): ListIterator<PanelContainerElement<SD>>
abstract fun listIterator(index: Int): ListIterator<PanelContainerElement<SD>>
Link copied to clipboard
open fun parallelStream(): Stream<PanelContainerElement<SD>>
Link copied to clipboard
open override fun spliterator(): Spliterator<PanelContainerElement<SD>>
Link copied to clipboard
open fun stream(): Stream<PanelContainerElement<SD>>
Link copied to clipboard
abstract fun subList(fromIndex: Int, toIndex: Int): List<PanelContainerElement<SD>>