object WiringUI
Surface a user interface on top of Wiring
- Alphabetic
- By Inheritance
- WiringUI
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addHistJsFunc[T](cell: Cell[T], f: (Box[T], T) ⇒ JsCmd): Unit
Associate a Cell and a function that converts from the cell's value to a JavaScript command to be sent to the browser as part of the page's post-processing.
Associate a Cell and a function that converts from the cell's value to a JavaScript command to be sent to the browser as part of the page's post-processing.
- cell
the cell to associate the JavaScript to
- f
the function that takes the cell's value and a flag indicating if this is the first time
-
def
addJsFunc[T](cell: Cell[T], f: (T, Boolean) ⇒ JsCmd): Unit
Associate a Cell and a function that converts from the cell's value to a JavaScript command to be sent to the browser as part of the page's post-processing.
Associate a Cell and a function that converts from the cell's value to a JavaScript command to be sent to the browser as part of the page's post-processing.
- cell
the cell to associate the JavaScript to
- f
the function that takes the cell's value and a flag indicating if this is the first time
-
def
apply[T](cell: Cell[T], jsEffect: (String, Boolean, JsCmd) ⇒ JsCmd)(f: (T) ⇒ (NodeSeq) ⇒ NodeSeq): (NodeSeq) ⇒ NodeSeq
Given a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, return a function that with a NodeSeq will register the postPageJavaScript that will update the element with a new value.
Given a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, return a function that with a NodeSeq will register the postPageJavaScript that will update the element with a new value.
- cell
the cell to associate with
- jsEffect
a function that wraps the SetHtml JsCmd so you can, for example, fade out the old value, set the new value and fade it in. The first parameter is the id of the element, the second is a flag that's true if this is the first time the element is being rendered (you might want to skip effects for the inital page load), and the third parameter is the SetHtml JavaScript code.
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
apply[T](in: NodeSeq, cell: Cell[T], jsEffect: (String, Boolean, JsCmd) ⇒ JsCmd)(f: (T) ⇒ (NodeSeq) ⇒ NodeSeq): NodeSeq
Given a NodeSeq, a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, register the postPageJavaScript that will update the element with a new value.
- in
the NodeSeq that contains the view markup
- cell
the cell to associate with
- jsEffect
a function that wraps the SetHtml JsCmd so you can, for example, fade out the old value, set the new value and fade it in. The first parameter is the id of the element, the second is a flag that's true if this is the first time the element is being rendered (you might want to skip effects for the inital page load), and the third parameter is the SetHtml JavaScript code.
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
apply[T](cell: Cell[T])(f: (T) ⇒ (NodeSeq) ⇒ NodeSeq): (NodeSeq) ⇒ NodeSeq
Given a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, return a function that takes a NodeSeq and registers the postPageJavaScript that will update the element with a new value.
Given a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, return a function that takes a NodeSeq and registers the postPageJavaScript that will update the element with a new value.
- cell
the cell to associate with
- f
the function that performs the drawing
- returns
a function that mutates NodeSeq (an id attribute may be added if there's none already defined)
-
def
apply[T](in: NodeSeq, cell: Cell[T])(f: (T) ⇒ (NodeSeq) ⇒ NodeSeq): NodeSeq
Given a NodeSeq, a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell and a function that can generate a NodeSeq => NodeSeq from the cell's value, register the postPageJavaScript that will update the element with a new value.
- in
the NodeSeq that contains the view markup
- cell
the cell to associate with
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asText[T](cell: Cell[T], jsEffect: (String, Boolean, JsCmd) ⇒ JsCmd): (NodeSeq) ⇒ NodeSeq
Given a NodeSeq, a Cell register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell register the postPageJavaScript that will update the element with a new value.
- cell
the cell to associate with
- jsEffect
a function that wraps the SetHtml JsCmd so you can, for example, fade out the old value, set the new value and fade it in. The first parameter is the id of the element, the second is a flag that's true if this is the first time the element is being rendered (you might want to skip effects for the inital page load), and the third parameter is the SetHtml JavaScript code.
- returns
a function that will mutate the NodeSeq (an id attribute may be added if there's none already defined)
-
def
asText[T](in: NodeSeq, cell: Cell[T], jsEffect: (String, Boolean, JsCmd) ⇒ JsCmd): NodeSeq
Given a NodeSeq, a Cell register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell register the postPageJavaScript that will update the element with a new value.
- in
the NodeSeq that contains the view markup
- cell
the cell to associate with
- jsEffect
a function that wraps the SetHtml JsCmd so you can, for example, fade out the old value, set the new value and fade it in. The first parameter is the id of the element, the second is a flag that's true if this is the first time the element is being rendered (you might want to skip effects for the inital page load), and the third parameter is the SetHtml JavaScript code.
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
asText[T](cell: Cell[T]): (NodeSeq) ⇒ NodeSeq
Given a Cell register the postPageJavaScript that will update the element with a new value.
Given a Cell register the postPageJavaScript that will update the element with a new value.
- cell
the cell to associate with
- returns
a function that will mutate the NodeSeq (an id attribute may be added if there's none already defined)
-
def
asText[T](in: NodeSeq, cell: Cell[T]): NodeSeq
Given a NodeSeq, a Cell register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell register the postPageJavaScript that will update the element with a new value.
- in
the NodeSeq that contains the view markup
- cell
the cell to associate with
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def history[T](cell: Cell[T])(f: (Box[T], T, NodeSeq) ⇒ JsCmd): (NodeSeq) ⇒ NodeSeq
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toNode[T](cell: Cell[T], jsEffect: (String, Boolean, JsCmd) ⇒ JsCmd)(f: (T, NodeSeq) ⇒ NodeSeq): (NodeSeq) ⇒ NodeSeq
Given a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
Given a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
- cell
the cell to associate with
- jsEffect
a function that wraps the SetHtml JsCmd so you can, for example, fade out the old value, set the new value and fade it in. The first parameter is the id of the element, the second is a flag that's true if this is the first time the element is being rendered (you might want to skip effects for the inital page load), and the third parameter is the SetHtml JavaScript code.
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
toNode[T](in: NodeSeq, cell: Cell[T], jsEffect: (String, Boolean, JsCmd) ⇒ JsCmd)(f: (T, NodeSeq) ⇒ NodeSeq): NodeSeq
Given a NodeSeq, a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
- in
the NodeSeq that contains the view markup
- cell
the cell to associate with
- jsEffect
a function that wraps the SetHtml JsCmd so you can, for example, fade out the old value, set the new value and fade it in. The first parameter is the id of the element, the second is a flag that's true if this is the first time the element is being rendered (you might want to skip effects for the inital page load), and the third parameter is the SetHtml JavaScript code.
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
toNode[T](cell: Cell[T])(f: (T, NodeSeq) ⇒ NodeSeq): (NodeSeq) ⇒ NodeSeq
Given a NodeSeq, a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
- cell
the cell to associate with
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
toNode[T](in: NodeSeq, cell: Cell[T])(f: (T, NodeSeq) ⇒ NodeSeq): NodeSeq
Given a NodeSeq, a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
Given a NodeSeq, a Cell and a function that can generate a NodeSeq from the cell's value and the template value, register the postPageJavaScript that will update the element with a new value.
- in
the NodeSeq that contains the view markup
- cell
the cell to associate with
- f
the function that performs the drawing
- returns
the mutated NodeSeq (an id attribute may be added if there's none already defined)
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )