PanelTypeSet

interface PanelTypeSet : Set<KClass<out AnyPanel>>

A set containing types of Panels. This is a helper class used to communicate to Frontends and system UIs which Panel types are available or supported.

Inherited properties

Link copied to clipboard
abstract override val size: Int

Functions

Link copied to clipboard
open fun isPanelTypeIncluded(panelType: KClass<out AnyPanel>): Boolean

Returns whether panelType in included in this set, either by an exact match or because one of the panelType's super classes is included in the set. E.g., if TaskPanel is present in the set, this method will also return true for a CustomTaskPanel that extends TaskPanel.

Link copied to clipboard
abstract operator fun minus(element: KClass<out AnyPanel>): PanelTypeSet

Returns a PanelTypeSet containing all elements of the original set except the given element.

Link copied to clipboard
abstract operator fun plus(element: KClass<out AnyPanel>): PanelTypeSet

Returns a PanelTypeSet containing all elements of the original PanelTypeSet with the given element added if it isn't already in this set.

Inherited functions

Link copied to clipboard
abstract operator override fun contains(element: KClass<out AnyPanel>): Boolean
Link copied to clipboard
abstract override fun containsAll(elements: Collection<KClass<out AnyPanel>>): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in KClass<out AnyPanel>>)
Link copied to clipboard
abstract override fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<KClass<out AnyPanel>>
Link copied to clipboard
open fun parallelStream(): Stream<KClass<out AnyPanel>>
Link copied to clipboard
open override fun spliterator(): Spliterator<KClass<out AnyPanel>>
Link copied to clipboard
open fun stream(): Stream<KClass<out AnyPanel>>