Trait/Object

io.youi.component

Component

Related Docs: object Component | package component

Permalink

trait Component extends TaskSupport with ComponentTheme

Component represents the root type for all on-screen elements. This includes both HTML and Canvas.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Component
  2. ComponentTheme
  3. Theme
  4. TaskSupport
  5. Updates
  6. Updatable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def componentType: String

    Permalink

    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.

  2. abstract def event: EventSupport

    Permalink

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

  3. abstract def measuredHeight: Double

    Permalink
    Attributes
    protected
  4. abstract def measuredWidth: Double

    Permalink
    Attributes
    protected
  5. abstract def theme: Var[_ <: ComponentTheme]

    Permalink

    Theme associated with this Component.

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. val background: Var[Paint]

    Permalink
    Definition Classes
    ComponentTheme
  6. val border: Var[Border]

    Permalink
    Definition Classes
    ComponentTheme
  7. val cache: Var[Boolean]

    Permalink
    Definition Classes
    ComponentTheme
  8. def childComponents: Vector[Component]

    Permalink
    Attributes
    protected
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def connect[T](v: Var[T], get: ⇒ Option[T], set: (T) ⇒ Unit, onChange: ⇒ Unit = ()): Var[T]

    Permalink
    Attributes
    protected[io.youi.component]
  11. def createInstance(task: Task): TaskInstance

    Permalink
    Attributes
    protected
    Definition Classes
    TaskSupport
  12. val cursor: Var[Cursor]

    Permalink
    Definition Classes
    ComponentTheme
  13. def defaultThemeParent: Option[Theme]

    Permalink
    Attributes
    protected
    Definition Classes
    ComponentThemeTheme
  14. lazy val delta: Channel[Double]

    Permalink
    Definition Classes
    Updates
  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def every(delay: FiniteDuration, until: Option[FiniteDuration] = None)(f: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Updates
  18. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. lazy val id: Var[String]

    Permalink

    Generated unique identifier for this element.

  22. def init(): Unit

    Permalink

    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
  23. def initialized: Boolean

    Permalink

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

  24. val interactive: Var[Boolean]

    Permalink
    Definition Classes
    ComponentTheme
  25. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  27. def nextFrame(f: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Updates
  28. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  30. def once(delay: FiniteDuration)(f: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Updates
  31. val opacity: Var[Double]

    Permalink
    Definition Classes
    ComponentTheme
  32. object padding

    Permalink
    Definition Classes
    ComponentTheme
  33. lazy val parent: Var[Option[Component]]

    Permalink

    Parent to this element.

  34. lazy val parentTheme: Var[Option[Theme]]

    Permalink
    Attributes
    protected
    Definition Classes
    Theme
  35. lazy val position: ComponentPosition

    Permalink

    Position information for placement of this component on the screen.

  36. def prop[T](get: ⇒ T, set: (T) ⇒ Unit = (_: T) => (), updatesTransform: Boolean = false, updatesRendering: Boolean = false): Var[T]

    Permalink
    Attributes
    protected[io.youi]
    Definition Classes
    ComponentTheme
  37. def resetMeasured(): Unit

    Permalink
  38. lazy val root: Var[Option[Component]]

    Permalink
  39. object sibling

    Permalink
  40. lazy val size: ComponentSize

    Permalink

    Size information for determining the dimensions of this component.

  41. def start(task: Task): TaskInstance

    Permalink
    Definition Classes
    TaskSupport
  42. lazy val store: Store

    Permalink
  43. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Component → AnyRef → Any
  45. def updatables: List[Updatable]

    Permalink

    List of Updatable instances this Component represents.

    List of Updatable instances this Component represents.

    Attributes
    protected
  46. def update(delta: Double): Unit

    Permalink
    Definition Classes
    ComponentUpdatesUpdatable
  47. def updateRendering(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ComponentTheme
  48. def updateTasks(): Boolean

    Permalink
    Definition Classes
    TaskSupport
  49. def updateTransform(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ComponentTheme
  50. val visible: Var[Boolean]

    Permalink
    Definition Classes
    ComponentTheme
  51. final def wait(): Unit

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

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

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

Inherited from ComponentTheme

Inherited from Theme

Inherited from TaskSupport

Inherited from Updates

Inherited from Updatable

Inherited from AnyRef

Inherited from Any

Ungrouped