org.denigma.binding.binders

PrimitivesBinder

Related Doc: package binders

trait PrimitivesBinder extends BasicBinding with VisibilityBinder with ClassBinder with PropertyBinder

Binds separate properties to HTML nodes

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PrimitivesBinder
  2. PropertyBinder
  3. ClassBinder
  4. VisibilityBinder
  5. BasicBinding
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bindAttributes(el: HTMLElement, ats: Map[String, String]): Unit

    Definition Classes
    BasicBinding
  2. abstract def bools: Map[String, Rx[Boolean]]

  3. abstract def id: String

    Definition Classes
    BasicBinding
  4. abstract def strings: Map[String, Rx[String]]

    Definition Classes
    PrimitivesBinderPropertyBinderClassBinder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def bindAttribute(el: HTMLElement, key: String, value: String, mp: Map[String, Rx[String]]): Boolean

    el

    element

    key

    key

    value

    value

    mp

    map

    Definition Classes
    PropertyBinder
  6. def bindCheckBox(el: HTMLElement, key: String, rx: Rx[Boolean]): Unit

    Attributes
    protected
    Definition Classes
    PropertyBinder
  7. def bindClass(element: HTMLElement, prop: String): Unit

    Definition Classes
    ClassBinder
  8. def bindInner(el: HTMLElement, key: String, str: Rx[String]): Unit

    Definition Classes
    PropertyBinder
  9. def bindInnerHTML(el: HTMLElement, key: String, att: String): Unit

    Binds html property

    Binds html property

    el
    key
    att

    Definition Classes
    PropertyBinder
  10. def bindInput(el: HTMLElement, key: String, str: Rx[String]): Unit

    Attributes
    protected
    Definition Classes
    PropertyBinder
  11. def bindProperties(el: HTMLElement, ats: Map[String, String]): Unit

  12. def bindProperty(el: HTMLElement, key: String, att: String): Boolean

    Bind property

    Bind property

    el

    html element

    key

    name of the property

    att

    value of attribute

    returns

    Definition Classes
    PropertyBinder
  13. def bindRx[T](key: String, el: HTMLElement, rx: Rx[T])(assign: (HTMLElement, T) ⇒ Unit): Unit

    Binds value to reactive property

    Binds value to reactive property

    T

    type param

    key

    key to witch to bind to

    el

    html element

    rx

    reactive variable

    assign

    assign function that assigns value to html element

    returns

    Definition Classes
    BasicBinding
  14. def bindText(el: HTMLElement, key: String, str: Rx[String]): Unit

    Attributes
    protected
    Definition Classes
    PropertyBinder
  15. def bindVar[T](key: String, el: HTMLElement, v: Var[T])(assign: (HTMLElement, Var[T]) ⇒ Unit): Unit

    Definition Classes
    BasicBinding
  16. def classIf(element: HTMLElement, className: String, cond: String): Unit

    Shows only if condition is true

    Shows only if condition is true

    element

    html element

    className

    name of the class that will be added if conditional is true

    cond

    conditional rx

    Attributes
    protected
    Definition Classes
    ClassBinder
  17. def classPartial(el: HTMLElement, value: String): PartialFunction[String, Unit]

    Partial function for class

    Partial function for class

    el
    value
    returns

    Attributes
    protected
    Definition Classes
    ClassBinder
  18. def classUnless(element: HTMLElement, className: String, cond: String): Unit

    Attributes
    protected
    Definition Classes
    ClassBinder
  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def dataAttributesOnly(ats: Map[String, String]): Map[String, String]

    Attributes
    protected
    Definition Classes
    BasicBinding
  21. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  23. def extractAny[T](t: T)(implicit arg0: ClassToMap[T]): Map[String, Any]

  24. def extractBooleanRx[T](t: T)(implicit arg0: BooleanRxMap[T]): Map[String, Rx[Boolean]]

  25. def extractStringRx[T](t: T)(implicit arg0: StringRxMap[T]): Map[String, Rx[String]]

  26. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  29. def hideIf(element: HTMLElement, hide: String, disp: String): Unit

    Definition Classes
    VisibilityBinder
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def makeAttHandler[T <: Event](el: HTMLElement, par: Rx[String], atname: String): (T) ⇒ Unit

    Creates attribute handler for the event

    Creates attribute handler for the event

    T

    type of event

    el

    html element

    par

    parameter

    atname

    attribute name

    returns

    Definition Classes
    PropertyBinder
  32. def makeEventHandler[TEV <: Event, TV](el: HTMLElement, par: Rx[TV])(assign: (TEV, Var[TV], HTMLElement) ⇒ Unit): (TEV) ⇒ Unit

    Creates and even handler that can be attached to different listeners

    Creates and even handler that can be attached to different listeners

    TEV

    type of event

    TV

    type of rx

    el

    element

    par

    rx parameter

    assign

    function that assigns var values to some element properties

    returns

    Definition Classes
    BasicBinding
  33. def makeId(el: HTMLElement, title: String): String

    Makes id for the binding element

    Makes id for the binding element

    el

    html element

    title

    title of id

    returns

    Definition Classes
    BasicBinding
  34. def makePropHandler[T <: Event](el: HTMLElement, par: Rx[String], pname: String): (T) ⇒ Unit

    Creates a handler that changes rx value according to element property

    Creates a handler that changes rx value according to element property

    T
    el
    par
    pname

    property name

    returns

    Definition Classes
    PropertyBinder
  35. def makeTextHandler(el: HTMLElement, par: Rx[String]): (KeyboardEvent) ⇒ Unit

  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  39. def otherPartial: PartialFunction[String, Unit]

    Attributes
    protected
    Definition Classes
    BasicBinding
  40. def processUrl(url: String, relativeURI: Boolean = true): String

    Attributes
    protected
    Definition Classes
    BasicBinding
  41. def propertyPartial(el: HTMLElement, key: String, value: String): PartialFunction[String, Unit]

    Partial function that is usually added to bindProperties

    Partial function that is usually added to bindProperties

    el
    key
    value
    returns

    Attributes
    protected
    Definition Classes
    PropertyBinder
  42. def showIf(element: HTMLElement, show: String, disp: String): Unit

    Shows element if condition is satisfied

    Shows element if condition is satisfied

    element

    Element that should be shown

    show
    disp

    Definition Classes
    VisibilityBinder
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. def visibilityPartial(el: HTMLElement, value: String): PartialFunction[String, Unit]

    Definition Classes
    VisibilityBinder
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PropertyBinder

Inherited from ClassBinder

Inherited from VisibilityBinder

Inherited from BasicBinding

Inherited from AnyRef

Inherited from Any

Ungrouped