Trait

de.sciss.nuages.impl

PassAttrInput

Related Doc: package impl

Permalink

trait PassAttrInput[S <: Sys[S]] extends Input[S] with NuagesData[S]

An attribute input view that can populate its state from another one. In practise, it means that the Prefuse node is re-used, and state such as drag and fixed are copied.

Linear Supertypes
NuagesData[S], Input[S], Disposable[S.Tx], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PassAttrInput
  2. NuagesData
  3. Input
  4. Disposable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Repr[~ <: Sys[~]]

    Permalink

Abstract Value Members

  1. abstract def attribute: NuagesAttribute[S]

    Permalink

    The attribute's view.

    The attribute's view.

    Definition Classes
    Input
  2. abstract def collect[A](pf: PartialFunction[Input[S], A])(implicit tx: S.Tx): Iterator[A]

    Permalink

    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
  3. abstract def dispose()(implicit tx: S.Tx): Unit

    Permalink
    Definition Classes
    Disposable
  4. abstract def dragOption: Option[NumericAdjustment]

    Permalink
  5. abstract val fixed: Boolean

    Permalink

    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
  6. abstract def init(obj: Repr[S], parent: Parent[S])(implicit tx: S.Tx): Unit

    Permalink
  7. abstract def input(implicit tx: S.Tx): Obj[S]

    Permalink

    The model object of this view.

    The model object of this view.

    Definition Classes
    Input
  8. abstract def inputParent(implicit tx: S.Tx): Parent[S]

    Permalink
    Definition Classes
    Input
  9. abstract def inputParent_=(p: Parent[S])(implicit tx: S.Tx): Unit

    Permalink
    Definition Classes
    Input
  10. abstract def itemDragged(vi: VisualItem, e: MouseEvent, pt: Point2D): Unit

    Permalink

    Called when the pointer device has dragged the item.

    Called when the pointer device has dragged the item.

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

    Permalink

    Called when the pointer device has entered the item.

    Called when the pointer device has entered the item.

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

    Permalink

    Called when the pointer device has exited the item.

    Called when the pointer device has exited the item.

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

    Permalink

    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
  14. abstract def itemKeyReleased(vi: VisualItem, e: Pressed): Unit

    Permalink

    Called when a key is released over the item.

    Called when a key is released over the item.

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

    Permalink

    Called when a key has been typed over the item.

    Called when a key has been typed over the item.

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

    Permalink

    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
  17. abstract def itemReleased(vi: VisualItem, e: MouseEvent, pt: Point2D): Unit

    Permalink

    Called when the pointer device has released the item.

    Called when the pointer device has released the item.

    Definition Classes
    NuagesData
  18. abstract def name: String

    Permalink

    GUI property: name displayed.

    GUI property: name displayed.

    Definition Classes
    NuagesData
  19. abstract def numChildren(implicit tx: S.Tx): Int

    Permalink
    Definition Classes
    Input
  20. abstract def outline: Shape

    Permalink
    Definition Classes
    NuagesData
  21. abstract def pNode: Node

    Permalink
  22. abstract def passFrom(that: PassAttrInput[S])(implicit tx: S.Tx): Unit

    Permalink
  23. abstract def passedTo(that: PassAttrInput[S])(implicit tx: S.Tx): Unit

    Permalink
  24. abstract def render(g: Graphics2D, vi: VisualItem): Unit

    Permalink

    Asks the receiver to paint its GUI representation.

    Asks the receiver to paint its GUI representation.

    Definition Classes
    NuagesData
  25. abstract def tryConsume(newOffset: Long, newValue: Obj[S])(implicit tx: S.Tx): Boolean

    Permalink

    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
  26. abstract def update(shp: Shape): Unit

    Permalink

    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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NuagesData[S]

Inherited from Input[S]

Inherited from Disposable[S.Tx]

Inherited from AnyRef

Inherited from Any

Ungrouped