Child

open class Child(addition: Boolean, removal: Boolean, change: Boolean) : Type

Represents the type of events raised when something happens to some child of a watched data node.

Subclasses of the Child event type may be combined using the Child.plus and Child.minus operators to watch several elementary events at once.

Constructors

Child
Link copied to clipboard
fun Child(addition: Boolean = false, removal: Boolean = false, change: Boolean = false)

Types

Addition
Link copied to clipboard
object Addition : Child
Events of the Child type that are raised when a new child is added to a data node.
Change
Link copied to clipboard
object Change : Child
Events of the Child type that are raised when the value of a child of a data node changes.
Removal
Link copied to clipboard
object Removal : Child
Events of the Child type that are raised when a child is removed from a data node.

Functions

minus
Link copied to clipboard
operator fun minus(other: Child): Child
Subtracts a Child event type from another Child event type.
plus
Link copied to clipboard
operator fun plus(other: Child): Child
Combines two Child event types.

Properties

addition
Link copied to clipboard
val addition: Boolean = false
true if this Child instance includes events that are raised when a new child is added to a data node.
change
Link copied to clipboard
val change: Boolean = false
true if this Child instance includes events that are raised when the value of a child of a data node changes.
removal
Link copied to clipboard
val removal: Boolean = false
true if this Child instance includes events that are raised when a child is removed from a data node.

Inheritors

Child
Link copied to clipboard
Child
Link copied to clipboard
Child
Link copied to clipboard