Packages

abstract class Selection[T] extends Container

Selection provides a rectangular selection feature for multi-selecting elements on the screen.

T

the type of elements to select

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Selection
  2. Container
  3. ContainerTheme
  4. HTMLContainer
  5. HTMLContainerTheme
  6. AbstractContainer
  7. HTMLComponent
  8. HTMLComponentTheme
  9. Component
  10. ComponentTheme
  11. Theme
  12. StringifyImplicits
  13. TaskSupport
  14. Updates
  15. Updatable
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Selection(root: Element, elements: ⇒ ListSet[T], autoStyle: Boolean = true, adjustX: ⇒ Double = window.pageXOffset, adjustY: ⇒ Double = window.pageYOffset, includeChildTargets: Boolean = false)

    root

    the root element to attach events to

    elements

    function to get a list of all elements to check for selection

    autoStyle

    if true defines the default styling of the outline (defaults to true)

    adjustX

    offset adjustment to properly handle for horizontal scrolling

    adjustY

    offset adjustment to properly handle for vertical scrolling

Type Members

  1. class Attribute extends AnyRef
    Definition Classes
    HTMLComponent

Abstract Value Members

  1. abstract def boxFor(element: T): BoundingBox

Concrete Value Members

  1. object sibling
    Definition Classes
    Component
  2. object aria
    Definition Classes
    HTMLComponent
  3. object data
    Definition Classes
    HTMLComponent
  4. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def ##(): Int
    Definition Classes
    AnyRef → Any
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def addListener(base: Element, deferToRoot: Boolean = true, includeChildTargets: Boolean = false): SelectionListener[T]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val background: StyleProp[Paint]
    Definition Classes
    ComponentTheme
  10. def changeHighlighting(highlighting: ListSet[T]): Unit
    Attributes
    protected
  11. def childComponents: Vector[Component]
    Attributes
    protected
    Definition Classes
    AbstractContainerComponent
  12. lazy val children: Var[Vector[Component]]
    Definition Classes
    HTMLContainerAbstractContainer
  13. def childrenChanged(removed: Vector[Component], added: Vector[Component]): Unit
    Attributes
    protected
    Definition Classes
    AbstractContainer
  14. lazy val classList: Var[List[String]]
    Definition Classes
    HTMLComponent
  15. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  16. def componentType: String

    The type of Component.

    The type of Component. This is useful for client-side introspection and logging. Each custom Component instance should represent a unique type.

    Definition Classes
    ContainerComponent
  17. def createInstance(task: Task): TaskInstance
    Attributes
    protected
    Definition Classes
    TaskSupport
  18. val cursor: StyleProp[Cursor]
    Definition Classes
    ComponentTheme
  19. def defaultParentTheme: Theme
    Attributes
    protected
    Definition Classes
    ContainerHTMLContainerComponentTheme
  20. lazy val delta: Channel[Double]
    Definition Classes
    Updates
  21. val e: HTMLExtras[Element]
    Attributes
    protected
    Definition Classes
    HTMLComponent
  22. val element: Element
    Attributes
    protected
    Definition Classes
    HTMLContainerHTMLComponent
  23. val enabled: Var[Boolean]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  26. val event: EventSupport

    Events functionality for monitoring and even firing events on this component.

    Events functionality for monitoring and even firing events on this component.

    Definition Classes
    HTMLComponentComponent
  27. def every(delay: FiniteDuration, until: Option[FiniteDuration] = None)(f: ⇒ Unit): Unit
    Definition Classes
    Updates
  28. val existing: Boolean
    Definition Classes
    HTMLContainerHTMLComponent
  29. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def highlightAdded(element: T): Unit
  33. def highlightRemoved(element: T, isSelected: Boolean): Unit
  34. val highlighted: Var[ListSet[T]]
  35. lazy val id: Var[String]

    Generated unique identifier for this element.

    Generated unique identifier for this element.

    Definition Classes
    Component
  36. def init(): Unit

    Called automatically the first time this Component is connected to the document.

    Called automatically the first time this Component is connected to the document.

    Attributes
    protected
    Definition Classes
    AbstractContainerComponent
  37. def initialized: Boolean

    True if this Component's init method has been invoked.

    True if this Component's init method has been invoked.

    Definition Classes
    Component
  38. val interactive: StyleProp[Boolean]
    Definition Classes
    ComponentTheme
  39. def invalidateRendering(): Unit
    Attributes
    protected
    Definition Classes
    ComponentTheme
  40. def invalidateTransform(): Unit
    Attributes
    protected
    Definition Classes
    ComponentTheme
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. lazy val layout: Var[Layout]
    Definition Classes
    HTMLContainerAbstractContainer
  43. def measuredHeight: Double
    Attributes
    protected
    Definition Classes
    HTMLContainerHTMLComponentComponent
  44. def measuredWidth: Double
    Attributes
    protected
    Definition Classes
    HTMLContainerHTMLComponentComponent
  45. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def nextFrame(f: ⇒ Unit): Unit
    Definition Classes
    Updates
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. def once(delay: FiniteDuration)(f: ⇒ Unit): Unit
    Definition Classes
    Updates
  50. val opacity: StyleProp[Double]
    Definition Classes
    ComponentTheme
  51. lazy val parent: Var[Option[Component]]

    Parent to this element.

    Parent to this element.

    Definition Classes
    Component
  52. lazy val parentTheme: Var[Theme]
    Definition Classes
    Theme
  53. def pixels: Stringify[Double]
    Definition Classes
    StringifyImplicits
  54. lazy val pointerEvents: StyleProp[PointerEvents]
    Definition Classes
    HTMLComponentTheme
  55. lazy val position: HTMLComponentPosition

    Position information for placement of this component on the screen.

    Position information for placement of this component on the screen.

    Definition Classes
    HTMLComponentComponent
  56. def rateLimited(maxFrequency: FiniteDuration, frequency: FiniteDuration = 0.millis)(f: ⇒ Unit): LazyUpdate
    Definition Classes
    Updates
  57. lazy val root: Var[Option[Component]]
    Definition Classes
    Component
  58. val rootListener: SelectionListener[T]
  59. lazy val rotation: StyleProp[Double]
    Definition Classes
    HTMLComponentTheme
  60. def select(x1: Double, y1: Double, x2: Double, y2: Double, elements: ListSet[T]): ListSet[T]
  61. def selectHighlighted(toggle: Boolean): Unit
    Attributes
    protected
  62. val selected: Var[ListSet[T]]
  63. def selectionAdded(element: T): Unit
  64. def selectionRemoved(element: T): Unit
  65. lazy val size: HTMLComponentSize

    Size information for determining the dimensions of this component.

    Size information for determining the dimensions of this component.

    Definition Classes
    HTMLComponentComponent
  66. def start(task: Task): TaskInstance
    Definition Classes
    TaskSupport
  67. lazy val store: Store
    Definition Classes
    Component
  68. implicit def stringifyBoolean: Stringify[Boolean]
    Definition Classes
    StringifyImplicits
  69. implicit def stringifyButtonSize: Stringify[ButtonSize]
    Definition Classes
    StringifyImplicits
  70. implicit def stringifyButtonType: Stringify[ButtonType]
    Definition Classes
    StringifyImplicits
  71. implicit val stringifyColor: Stringify[Color]
    Definition Classes
    StringifyImplicits
  72. implicit def stringifyCursor: Stringify[Cursor]
    Definition Classes
    StringifyImplicits
  73. implicit def stringifyDouble: Stringify[Double]
    Definition Classes
    StringifyImplicits
  74. implicit def stringifyFontFamily: Stringify[FontFamily]
    Definition Classes
    StringifyImplicits
  75. implicit def stringifyFontWeight: Stringify[FontWeight]
    Definition Classes
    StringifyImplicits
  76. implicit def stringifyHTMLBorder: Stringify[HTMLBorder]
    Definition Classes
    StringifyImplicits
  77. implicit def stringifyInt: Stringify[Int]
    Definition Classes
    StringifyImplicits
  78. implicit def stringifyOverflow: Stringify[Overflow]
    Definition Classes
    StringifyImplicits
  79. implicit def stringifyPaint: Stringify[Paint]
    Definition Classes
    StringifyImplicits
  80. implicit def stringifyPointerEvents: Stringify[PointerEvents]
    Definition Classes
    StringifyImplicits
  81. implicit def stringifyPosition: Stringify[Position]
    Definition Classes
    StringifyImplicits
  82. implicit def stringifyString: Stringify[String]
    Definition Classes
    StringifyImplicits
  83. implicit def stringifyVisibility: Stringify[Visibility]
    Definition Classes
    StringifyImplicits
  84. implicit def stringifyWhiteSpace: Stringify[WhiteSpace]
    Definition Classes
    StringifyImplicits
  85. def style[T](name: String, default: ⇒ T, connect: Option[StyleConnect[T]], updatesTransform: Boolean = false, updatesRendering: Boolean = false, ignoreParent: Boolean = false): StyleProp[T]
    Attributes
    protected[io.youi]
    Definition Classes
    Theme
  86. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  87. val time: Var[Long]
  88. def toString(): String
    Definition Classes
    Component → AnyRef → Any
  89. def updatables: List[Updatable]

    List of Updatable instances this Component represents.

    List of Updatable instances this Component represents.

    Attributes
    protected
    Definition Classes
    Component
  90. def update(delta: Double): Unit
    Definition Classes
    AbstractContainerComponentUpdatesUpdatable
  91. def updateHighlighting(x1: Double, y1: Double, x2: Double, y2: Double): Unit
    Attributes
    protected
  92. def updateRendering(): Unit
    Attributes
    protected
    Definition Classes
    Theme
  93. def updateTasks(): Boolean
    Definition Classes
    ComponentTaskSupport
  94. def updateTransform(): Unit
    Attributes
    protected
    Definition Classes
    ComponentTheme
  95. val visibility: StyleProp[Visibility]
    Definition Classes
    ComponentTheme
  96. val visible: Val[Boolean]
    Definition Classes
    Component
  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  100. val x1: Var[Double]
  101. val x2: Var[Double]
  102. val y1: Var[Double]
  103. val y2: Var[Double]
  104. object padding
    Definition Classes
    ComponentTheme
  105. object htmlBorder
    Definition Classes
    HTMLComponentTheme
  106. object overflow
    Definition Classes
    HTMLComponentTheme

Inherited from Container

Inherited from ContainerTheme

Inherited from HTMLContainer[Component]

Inherited from HTMLContainerTheme

Inherited from AbstractContainer[Component]

Inherited from HTMLComponent[Element]

Inherited from HTMLComponentTheme

Inherited from Component

Inherited from ComponentTheme

Inherited from Theme

Inherited from StringifyImplicits

Inherited from TaskSupport

Inherited from Updates

Inherited from Updatable

Inherited from AnyRef

Inherited from Any

Ungrouped