Modal Component Container
class ModalComponentContainer(metadata: ComponentMetadata, mainContainer: InternalComponentContainer) : InternalComponentContainer
Content copied to clipboard
This InternalComponentContainer implements the logic of using Modal containers. This means that it maintains a stack of modals on top of a mainContainer, each blocking all other containers below it. There can be only one container active at a given time. If no modals are open, the mainContainer is active.
Constructors
ModalComponentContainer
Link copied to clipboard
fun ModalComponentContainer(metadata: ComponentMetadata, mainContainer: InternalComponentContainer = buildContainer(
metadata = metadata
))
Content copied to clipboard
Types
Functions
activate
Link copied to clipboard
addComponent
Link copied to clipboard
@Synchronized()
Content copied to clipboard
Adds a child Component to this ComponentContainer.
addComponents
Link copied to clipboard
open fun addComponents(vararg components: Builder<Component>): List<AttachedComponent>
Content copied to clipboard
open fun addComponents(vararg components: Component): List<AttachedComponent>
Content copied to clipboard
addFragment
Link copied to clipboard
addFragments
Link copied to clipboard
open fun addFragments(vararg fragments: Fragment): List<AttachedComponent>
Content copied to clipboard
addModal
Link copied to clipboard
deactivate
Link copied to clipboard
dispatch
Link copied to clipboard
@Synchronized()
Content copied to clipboard
Dispatches the given UIEvent and propagates it throughout the UI controls this UIEventDispatcher has.
isMainContainerActive
Link copied to clipboard
Properties
flattenedTree
Link copied to clipboard
Holds the component tree rooted at this RootContainer flattened into an ObservableList.
renderables
Link copied to clipboard
Contains the Renderable objects ordered from bottom to top.
theme
Link copied to clipboard
themeProperty
Link copied to clipboard
Sources
(source)
Link copied to clipboard