org.denigma.binding.binders.collections

MapItemsBinder

Related Doc: package collections

class MapItemsBinder extends GeneralBinder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MapItemsBinder
  2. GeneralBinder
  3. Extractor
  4. EventBinding
  5. ScalaTagsBinder
  6. PrimitivesBinder
  7. PropertyBinder
  8. ClassBinder
  9. VisibilityBinder
  10. BasicBinding
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapItemsBinder(view: BindableView, reactiveMap: Map[String, Var[String]])

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 bindAttributes(el: HTMLElement, ats: Map[String, String]): Unit

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

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

    Definition Classes
    ClassBinder
  9. def bindClick(el: HTMLElement, key: String, ev: Var[MouseEvent]): Unit

    Definition Classes
    EventBinding
  10. def bindDataAttributes(el: HTMLElement, ats: Map[String, String]): Unit

    Definition Classes
    GeneralBinder
  11. def bindEvents(el: HTMLElement, ats: Map[String, String]): Unit

    Definition Classes
    EventBinding
  12. def bindHTML(el: HTMLElement, ats: Map[String, String]): Unit

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

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

    Binds html property

    Binds html property

    el
    key
    att

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

    Attributes
    protected
    Definition Classes
    PropertyBinder
  16. def bindItemProperty(el: HTMLElement, key: String, att: String): Unit

    Binds property value to attribute

    Binds property value to attribute

    el

    Element

    key

    name of the binding key

    att

    binding attribute

  17. def bindProperties(el: HTMLElement, ats: Map[String, String]): Unit

    Binds

    Binds

    el
    ats

    Definition Classes
    MapItemsBinderGeneralBinderPrimitivesBinder
  18. 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
  19. 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
  20. def bindText(el: HTMLElement, key: String, str: Rx[String]): Unit

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

    Definition Classes
    BasicBinding
  22. var bools: Map[String, Rx[Boolean]]

  23. 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
  24. 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
  25. def classUnless(element: HTMLElement, className: String, cond: String): Unit

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

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

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

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

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

    Definition Classes
    EventBinding
  31. def extractAny[T](t: T)(implicit arg0: ClassToMap[T]): Map[String, Any]

    Definition Classes
    PrimitivesBinder
  32. def extractBooleanRx[T](t: T)(implicit arg0: BooleanRxMap[T]): Map[String, Rx[Boolean]]

    Definition Classes
    PrimitivesBinder
  33. def extractEvents[T](t: T)(implicit arg0: EventMap[T]): Map[String, Var[Event]]

    Definition Classes
    EventBinding
  34. def extractEverything[T](value: T)(implicit arg0: MapRxMap[T], arg1: TagRxMap[T], arg2: StringRxMap[T], arg3: BooleanRxMap[T], arg4: EventMap[T], arg5: MouseEventMap[T], arg6: TextEventMap[T], arg7: KeyEventMap[T], arg8: UIEventMap[T], arg9: WheelEventMap[T], arg10: FocusEventMap[T]): Unit

    Definition Classes
    GeneralBinderExtractor
  35. def extractFocusEvents[T](t: T)(implicit arg0: FocusEventMap[T]): Map[String, Var[FocusEvent]]

    Definition Classes
    EventBinding
  36. def extractKeyEvents[T](t: T)(implicit arg0: KeyEventMap[T]): Map[String, Var[KeyboardEvent]]

    Definition Classes
    EventBinding
  37. def extractMouseEvents[T](t: T)(implicit arg0: MouseEventMap[T]): Map[String, Var[MouseEvent]]

    Definition Classes
    EventBinding
  38. def extractStringRx[T](t: T)(implicit arg0: StringRxMap[T]): Map[String, Rx[String]]

    Definition Classes
    PrimitivesBinder
  39. def extractTagRx[T](t: T)(implicit arg0: TagRxMap[T]): Map[String, Rx[scalatags.Text.Tag]]

    Definition Classes
    ScalaTagsBinder
  40. def extractTextEvents[T](t: T)(implicit arg0: TextEventMap[T]): Map[String, Var[TextEvent]]

    Definition Classes
    EventBinding
  41. def extractUIEvents[T](t: T)(implicit arg0: UIEventMap[T]): Map[String, Var[UIEvent]]

    Definition Classes
    EventBinding
  42. def extractWheelEvents[T](t: T)(implicit arg0: WheelEventMap[T]): Map[String, Var[WheelEvent]]

    Definition Classes
    EventBinding
  43. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  45. def hasGeneralBinding(view: OrganizedView): Boolean

    Attributes
    protected
    Definition Classes
    GeneralBinder
  46. def hashCode(): Int

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

    Definition Classes
    VisibilityBinder
  48. def id: String

    Definition Classes
    MapItemsBinderGeneralBinderBasicBinding
  49. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  50. def itemPartial(el: HTMLElement, key: String, value: String): PartialFunction[String, Unit]

    Attributes
    protected
  51. 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
  52. 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
  53. 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
  54. 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
  55. def makeTextHandler(el: HTMLElement, par: Rx[String]): (KeyboardEvent) ⇒ Unit

    Definition Classes
    PrimitivesBinder
  56. var mouseEvents: Map[String, Var[MouseEvent]]

    Definition Classes
    GeneralBinderEventBinding
  57. final def ne(arg0: AnyRef): Boolean

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

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

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

    Attributes
    protected
    Definition Classes
    BasicBinding
  61. def parentGeneralBinder: Option[GeneralBinder]

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

    Attributes
    protected
    Definition Classes
    BasicBinding
  63. 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
  64. 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
  65. var strings: Map[String, Rx[String]]

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

    Definition Classes
    AnyRef
  67. var tags: Map[String, Rx[scalatags.Text.Tag]]

    Definition Classes
    GeneralBinderScalaTagsBinder
  68. def toString(): String

    Definition Classes
    AnyRef → Any
  69. def upPartial(el: HTMLElement, key: String, value: String): PartialFunction[String, Unit]

    Attributes
    protected
    Definition Classes
    GeneralBinder
  70. def updateAttrByRx(key: String, el: HTMLElement, rtag: Rx[scalatags.Text.Tag]): Unit

    Updates attribute by ScalaTag

    Updates attribute by ScalaTag

    key

    key

    el

    element to update

    rtag

    tag to update from

    returns

    Definition Classes
    ScalaTagsBinder
  71. def visibilityPartial(el: HTMLElement, value: String): PartialFunction[String, Unit]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GeneralBinder

Inherited from Extractor

Inherited from EventBinding

Inherited from ScalaTagsBinder

Inherited from PrimitivesBinder

Inherited from PropertyBinder

Inherited from ClassBinder

Inherited from VisibilityBinder

Inherited from BasicBinding

Inherited from AnyRef

Inherited from Any

Ungrouped