Spatial
A 3-D panel. A canvas carries out Behavior.Shown, Behavior.Selected and Behavior.Selects on any layer and Behavior.Radius on balls (Layer.Balls); Behavior.Custom is yours.
Attributes
- Source
- Interactive.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Panelclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
This panel with a rectangle choosing, in the selection selection, the keys of every item of this panel that it touches (a shift-drag adds to what is chosen). A drag turns the canvas, so a box button beside the picture makes a drag (of a mouse, a pen or a finger) draw a rectangle instead. The rectangle is on the plane of the view, and what it touches is what its outline meets there: a point whose centre is inside, a segment that crosses or lies in it, a triangle that overlaps it (marker sizes and line widths do not count, so the answer does not depend on the size of the picture); items that are not drawn at the moment are not chosen. The rectangle stays until the next click or until the view moves. Interactive.touched says what a rectangle chooses, and PageState.brush draws it in a still picture. Some item of the panel has to choose in that selection (selecting).
This panel with a rectangle choosing, in the selection selection, the keys of every item of this panel that it touches (a shift-drag adds to what is chosen). A drag turns the canvas, so a box button beside the picture makes a drag (of a mouse, a pen or a finger) draw a rectangle instead. The rectangle is on the plane of the view, and what it touches is what its outline meets there: a point whose centre is inside, a segment that crosses or lies in it, a triangle that overlaps it (marker sizes and line widths do not count, so the answer does not depend on the size of the picture); items that are not drawn at the moment are not chosen. The rectangle stays until the next click or until the view moves. Interactive.touched says what a rectangle chooses, and PageState.brush draws it in a still picture. Some item of the panel has to choose in that selection (selecting).
Attributes
- Source
- Interactive.scala
The same with change applied to the scene.
layer added to the scene, its items all reacting as behavior says.
layer added to the scene, its items all reacting as behavior says.
Attributes
- Source
- Interactive.scala
layer added to the scene, its items all reacting as reaction says.
layer added to the scene, its items all reacting as reaction says.
Attributes
- Source
- Interactive.scala
layer added to the scene, item i reacting as reactions(i) says.
The layer at index of the scene, linked to the selection selection: pointing at its item i chooses the key keys(i) there, and a click pins it (a canvas is turned by dragging, see brushable for choosing by rectangle). With halo, a translucent shape over each item (a ring around a point, a thicker line, a darker triangle) is added to the scene and appears while the item's key is chosen, whoever chose it. See Panel.Flat.selecting.
The layer at index of the scene, linked to the selection selection: pointing at its item i chooses the key keys(i) there, and a click pins it (a canvas is turned by dragging, see brushable for choosing by rectangle). With halo, a translucent shape over each item (a ring around a point, a thicker line, a darker triangle) is added to the scene and appears while the item's key is chosen, whoever chose it. See Panel.Flat.selecting.
Attributes
- Source
- Interactive.scala
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala