Packages

trait NuagesAttribute[T <: Txn[T]] extends Input[T] with Parent[T] with NuagesParam[T]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NuagesAttribute
  2. NuagesParam
  3. NuagesData
  4. Parent
  5. Input
  6. Disposable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. 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.

    Adds a child, possibly moving it into a timeline if the underlying nuages surface is a timeline.

    Definition Classes
    Parent
  2. abstract def addPNode(n: Node, isFree: Boolean): Unit

    Connects a node with the attribute view.

    Connects a node with the attribute view.

    n

    the node; the view will add an edge from this node to itself (either its center, or if there is a 'summary' node, to that node)

    isFree

    if true, the node has "free movement", i.e. should be integrated in the overall aggregate view of this attribute; if false, the node is part of another structure, e.g. corresponds with the output of another proc, and thus should not be added to the attribute's aggregate.

  3. abstract def attribute: NuagesAttribute[T]

    The attribute's view.

    The attribute's view.

    Definition Classes
    Input
  4. abstract def auralObjAdded(aural: Proc[T])(implicit tx: T): Unit
    Definition Classes
    NuagesParam
  5. abstract def auralObjRemoved(aural: Proc[T])(implicit tx: T): Unit
    Definition Classes
    NuagesParam
  6. abstract def collect[A](pf: PartialFunction[Input[T], A])(implicit tx: T): Iterator[A]

    Runs a deep collection for particular input.

    Runs a deep collection for particular input. This will perform a nested search for collection views such as grapheme or timeline.

    pf

    the matcher function to apply to the leaves of the traversal

    returns

    an iterator over all elements that were successfully matched

    Definition Classes
    Input
  7. abstract def dispose()(implicit tx: T): Unit
    Definition Classes
    Disposable
  8. abstract val fixed: Boolean

    GUI property: whether the node is allowed to move around as part of the dynamic layout (false) or not (true).

    GUI property: whether the node is allowed to move around as part of the dynamic layout (false) or not (true).

    Definition Classes
    NuagesData
  9. abstract def input(implicit tx: T): Obj[T]

    The model object of this view.

    The model object of this view.

    Definition Classes
    Input
  10. abstract def inputParent(implicit tx: T): Parent[T]
    Definition Classes
    Input
  11. abstract def inputParent_=(p: Parent[T])(implicit tx: T): Unit
    Definition Classes
    Input
  12. abstract def inputView: Input[T]
  13. abstract def isControl: Boolean
  14. abstract def itemDragged(vi: VisualItem, e: MouseEvent, pt: Point2D): Unit

    Called when the pointer device has dragged the item.

    Called when the pointer device has dragged the item.

    Definition Classes
    NuagesData
  15. abstract def itemEntered(vi: VisualItem, e: MouseEvent, pt: Point2D): Unit

    Called when the pointer device has entered the item.

    Called when the pointer device has entered the item.

    Definition Classes
    NuagesData
  16. abstract def itemExited(vi: VisualItem, e: MouseEvent, pt: Point2D): Unit

    Called when the pointer device has exited the item.

    Called when the pointer device has exited the item.

    Definition Classes
    NuagesData
  17. abstract def itemKeyPressed(vi: VisualItem, e: Pressed): Boolean

    Called when a key is pressed over the item.

    Called when a key is pressed over the item.

    returns

    true if the event was handled, false if it was ignored and should bubble up to the parent container

    Definition Classes
    NuagesData
  18. abstract def itemKeyReleased(vi: VisualItem, e: Pressed): Unit

    Called when a key is released over the item.

    Called when a key is released over the item.

    Definition Classes
    NuagesData
  19. abstract def itemKeyTyped(vi: VisualItem, e: Typed): Unit

    Called when a key has been typed over the item.

    Called when a key has been typed over the item.

    Definition Classes
    NuagesData
  20. abstract def itemPressed(vi: VisualItem, e: MouseEvent, pt: Point2D): Boolean

    Called when the pointer device has pressed the item.

    Called when the pointer device has pressed the item.

    returns

    true if the event was handled, false if it was ignored and should bubble up to the parent container

    Definition Classes
    NuagesData
  21. abstract def itemReleased(vi: VisualItem, e: MouseEvent, pt: Point2D): Unit

    Called when the pointer device has released the item.

    Called when the pointer device has released the item.

    Definition Classes
    NuagesData
  22. abstract def key: String

    The scan or attribute key in parent to point to this component.

    The scan or attribute key in parent to point to this component.

    Definition Classes
    NuagesParam
  23. abstract def name: String

    GUI property: name displayed.

    GUI property: name displayed.

    Definition Classes
    NuagesData
  24. abstract def numChildren(implicit tx: T): Int
    Definition Classes
    Parent
  25. abstract def numericValue: IndexedSeq[Double]

    The current shown value on the UI, when patched to an input, or null if unknown.

    The current shown value on the UI, when patched to an input, or null if unknown. In order to obtain the numeric value in all cases, use inputView and see if it is NuagesAttribute.Numeric.

  26. abstract def outline: Shape
    Definition Classes
    NuagesData
  27. abstract def parent: NuagesObj[T]
    Definition Classes
    NuagesParam
  28. 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.

    Removes a child, possibly moving it into a timeline if the underlying nuages surface is a timeline.

    Definition Classes
    Parent
  29. abstract def removePNode(n: Node): Unit
  30. abstract def render(g: Graphics2D, vi: VisualItem): Unit

    Asks the receiver to paint its GUI representation.

    Asks the receiver to paint its GUI representation.

    Definition Classes
    NuagesData
  31. abstract def spec: ParamSpec
  32. abstract def tryConsume(newOffset: Long, newValue: Obj[T])(implicit tx: T): Boolean

    Tries to migrate the passed object to this input view.

    Tries to migrate the passed object to this input view. That is, if the view can exchange its model for this new object, it should do so and return true. Returning false means the object cannot be consumed, for example because it is of a different type.

    Definition Classes
    Input
  33. abstract def tryReplace(newValue: Obj[T])(implicit tx: T, context: NuagesContext[T]): Option[NuagesAttribute[T]]

    Attempts to replace the contents of the view.

    Attempts to replace the contents of the view.

    newValue

    the new value to attempt to associate with the view

    returns

    Some if either the old view accepted the new value or if a new view was created that could "consume" the old view. This may happen for example if the new value is a container with a single element and the old view can replace its own single element. None if this was not possible and the caller should act accordingly (dispose the old view, create a fresh new view).

  34. abstract def update(shp: Shape): Unit

    Called from drag-control: updates the current geometric shape of the corresponding visual item.

    Called from drag-control: updates the current geometric shape of the corresponding visual item.

    Definition Classes
    NuagesData
  35. 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)

    Definition Classes
    Parent

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NuagesParam[T]

Inherited from NuagesData[T]

Inherited from Parent[T]

Inherited from Input[T]

Inherited from Disposable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped