trait Parent[T <: Txn[T]] extends AnyRef
A logical structure that specifies the parent container
of an attribute input. For example, if a scalar input is
directly plugged into an attribute, it's parent will be
an instance of NuagesAttribute
itself. If the input is
active by being a child within a grapheme, the parent will
point to an instance of NuagesGraphemeAttrInput
.
- Alphabetic
- By Inheritance
- Parent
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addChild(child: Obj[T])(implicit tx: T): Unit
Adds a child, possibly moving it into a timeline if the underlying nuages surface is a timeline.
- abstract def numChildren(implicit tx: T): Int
- abstract def removeChild(child: Obj[T])(implicit tx: T): Unit
Removes a child, possibly moving it into a timeline if the underlying nuages surface is a timeline.
- abstract def updateChild(before: Obj[T], now: Obj[T], dt: Long, clearRight: Boolean)(implicit tx: T): Unit
Updates a child, possibly moving it into a grapheme if the underlying nuages surface is a timeline.
Updates a child, possibly moving it into a grapheme if the underlying nuages surface is a timeline. If there are future events, they should be removed by this action.
- before
reference to the currently active value
- now
new value to insert or replace
- dt
delay with respect to current position (zero for no delay)