trait NuagesAttribute[S <: Sys[S]] extends Input[S] with Parent[S] with NuagesParam[S]
- Alphabetic
- By Inheritance
- NuagesAttribute
- NuagesParam
- NuagesData
- Parent
- Input
- Disposable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
addChild(child: Obj[S])(implicit tx: S.Tx): 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
-
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; iffalse, 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.
-
abstract
def
attribute: NuagesAttribute[S]
The attribute's view.
The attribute's view.
- Definition Classes
- Input
-
abstract
def
auralObjAdded(aural: Proc[S])(implicit tx: S.Tx): Unit
- Definition Classes
- NuagesParam
-
abstract
def
auralObjRemoved(aural: Proc[S])(implicit tx: S.Tx): Unit
- Definition Classes
- NuagesParam
-
abstract
def
collect[A](pf: PartialFunction[Input[S], A])(implicit tx: S.Tx): 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
-
abstract
def
dispose()(implicit tx: S.Tx): Unit
- Definition Classes
- Disposable
-
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
-
abstract
def
input(implicit tx: S.Tx): Obj[S]
The model object of this view.
The model object of this view.
- Definition Classes
- Input
-
abstract
def
inputParent(implicit tx: S.Tx): Parent[S]
- Definition Classes
- Input
-
abstract
def
inputParent_=(p: Parent[S])(implicit tx: S.Tx): Unit
- Definition Classes
- Input
- abstract def isControl: Boolean
-
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
-
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
-
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
-
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
trueif the event was handled,falseif it was ignored and should bubble up to the parent container
- Definition Classes
- NuagesData
-
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
-
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
-
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
trueif the event was handled,falseif it was ignored and should bubble up to the parent container
- Definition Classes
- NuagesData
-
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
-
abstract
def
key: String
The scan or attribute key in
parentto point to this component.The scan or attribute key in
parentto point to this component.- Definition Classes
- NuagesParam
-
abstract
def
name: String
GUI property: name displayed.
GUI property: name displayed.
- Definition Classes
- NuagesData
-
abstract
def
numChildren(implicit tx: S.Tx): Int
- Definition Classes
- Parent
- abstract def numericValue: IndexedSeq[Double]
-
abstract
def
outline: Shape
- Definition Classes
- NuagesData
-
abstract
def
parent: NuagesObj[S]
- Definition Classes
- NuagesParam
-
abstract
def
removeChild(child: Obj[S])(implicit tx: S.Tx): 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
- abstract def removePNode(n: Node): Unit
-
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
- abstract def spec: ParamSpec
-
abstract
def
tryConsume(newOffset: Long, newValue: Obj[S])(implicit tx: S.Tx): 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. Returningfalsemeans the object cannot be consumed, for example because it is of a different type.- Definition Classes
- Input
-
abstract
def
tryReplace(newValue: Obj[S])(implicit tx: S.Tx, context: NuagesContext[S]): Option[NuagesAttribute[S]]
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
Someif 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.Noneif this was not possible and the caller should act accordingly (dispose the old view, create a fresh new view).
-
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
-
abstract
def
updateChild(before: Obj[S], now: Obj[S], dt: Long, clearRight: Boolean)(implicit tx: S.Tx): 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )