Widget

class Widget(widgets: Array<IWidget?>, index: Int) : Identifiable, Validatable, Iterable<Component?> , Nillable<Component?>

Widget

Constructors

Widget
Link copied to clipboard
fun Widget(index: Int, subIndex: Int)
Widget
Link copied to clipboard
fun Widget(widgets: Array<IWidget?>, index: Int)

Types

Companion
Link copied to clipboard
object Companion

Functions

component
Link copied to clipboard
fun component(index: Int): Component

Gets the component at the specified index.

componentCount
Link copied to clipboard
fun componentCount(): Int
components
Link copied to clipboard
fun components(): Array<Component>

An array of the nested components within the widget.

equals
Link copied to clipboard
open operator override fun equals(o: Any?): Boolean
forEach
Link copied to clipboard
open fun forEach(p0: Consumer<in Component?>)
hashCode
Link copied to clipboard
open override fun hashCode(): Int
id
Link copied to clipboard
open override fun id(): Int

{@inheritDoc}

iterator
Link copied to clipboard
open operator override fun iterator(): Iterator<Component>
nil
Link copied to clipboard
open override fun nil(): Component

A "null" instance. An object with no function. All methods will not evaluate to anything.

spliterator
Link copied to clipboard
open fun spliterator(): Spliterator<Component?>
toString
Link copied to clipboard
open override fun toString(): String
valid
Link copied to clipboard
open override fun valid(): Boolean

{@inheritDoc}

Properties

index
Link copied to clipboard
val index: Int
widgets
Link copied to clipboard
val widgets: Array<IWidget?>