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 theme: Var[_ <: ComponentTheme]

    Permalink

    Theme associated with this Component.

  2. abstract def type: 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.

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 createInstance(task: Task): TaskInstance

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. lazy val event: Events

    Permalink

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

  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. object sibling

    Permalink
  38. lazy val size: ComponentSize

    Permalink

    Size information for determining the dimensions of this component.

  39. def start(task: Task): TaskInstance

    Permalink
    Definition Classes
    TaskSupport
  40. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

    List of Updatable instances this Component represents.

    List of Updatable instances this Component represents.

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. 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