Alert

open class Alert(    caption: String? = null,     text: String? = null,     rich: Boolean = false,     align: <ERROR CLASS>? = null,     size: ModalSize? = null,     animation: Boolean = true,     centered: Boolean = false,     callback: () -> Unit? = null) : Modal

Alert window based on Bootstrap modal.

Parameters

caption

window title

text

window content text.

rich

determines if text can contain HTML code

align

text align

size

modal window size

animation

determines if animations are used

centered

determines if modal dialog is vertically centered

callback

a function called after closing window with OK button

Constructors

Link copied to clipboard
fun Alert(    caption: String? = null,     text: String? = null,     rich: Boolean = false,     align: <ERROR CLASS>? = null,     size: ModalSize? = null,     animation: Boolean = true,     centered: Boolean = false,     callback: () -> Unit? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun add(child: <ERROR CLASS>): Modal
open fun add(position: Int, child: <ERROR CLASS>): Modal
Link copied to clipboard
open fun addAll(children: List<<ERROR CLASS>>): Modal
Link copied to clipboard
open fun addButton(button: <ERROR CLASS>): Modal

Adds given button to the bottom section of dialog window.

Link copied to clipboard
open fun afterInsert(node: <ERROR CLASS>)
Link copied to clipboard
open fun buildClassSet(classSetBuilder: <ERROR CLASS>)
Link copied to clipboard
open fun clearParent(): <ERROR CLASS>
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun disposeAll(): Modal
Link copied to clipboard
open fun getChildren(): List<<ERROR CLASS>>
Link copied to clipboard
open fun getRoot(): <ERROR CLASS>?
Link copied to clipboard
open override fun hide(): <ERROR CLASS>
Link copied to clipboard
fun hideBootstrap()

Hide modal window with Bootstrap function.

Link copied to clipboard
open fun remove(child: <ERROR CLASS>): Modal
Link copied to clipboard
open fun removeAll(): Modal
Link copied to clipboard
open fun removeAllButtons(): Modal

Removes all buttons from the bottom section of dialog window.

Link copied to clipboard
open fun removeAt(position: Int): Modal
Link copied to clipboard
open fun removeButton(button: <ERROR CLASS>): Modal

Removes given button from the bottom section of dialog window.

Link copied to clipboard
fun showBootstrap()

Show modal window with Bootstrap function.

Link copied to clipboard
open fun toggle()

Toggle modal window visibility.

Properties

Link copied to clipboard
var align: <ERROR CLASS>

Text align.

Link copied to clipboard
var animation: <ERROR CLASS>

Determines if animations are used.

Link copied to clipboard
var caption: <ERROR CLASS>

Window caption text.

Link copied to clipboard
var centered: <ERROR CLASS>

Determines if modal dialog is vertically centered.

Link copied to clipboard
var closeButton: <ERROR CLASS>

Determines if Close button is visible.

Link copied to clipboard
val footer: <ERROR CLASS>

The modal dialog footer component.

Link copied to clipboard
val header: <ERROR CLASS>

The modal dialog header component.

Link copied to clipboard
open var parent: <ERROR CLASS>?
Link copied to clipboard
var rich: <ERROR CLASS>

Determines if text can contain HTML code.

Link copied to clipboard
var scrollable: <ERROR CLASS>

Determines if modal body is scrollable.

Link copied to clipboard
var size: <ERROR CLASS>

Window size.

Link copied to clipboard
var text: <ERROR CLASS>

Window content text.