object JsCmds

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsCmds
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class After (time: util.Helpers.TimeSpan, toDo: JsCmd) extends JsCmd with Product with Serializable
  2. case class Alert (text: String) extends JsCmd with Product with Serializable
  3. case class CmdPair (left: JsCmd, right: JsCmd) extends JsCmd with Product with Serializable
  4. case class Confirm (text: String, yes: JsCmd) extends JsCmd with Product with Serializable
  5. case class Focus (id: String) extends JsCmd with Product with Serializable

    Sets the focus on the element denominated by the id

  6. trait HasTime extends AnyRef
  7. case class JsCrVar (name: String, right: JsExp) extends JsCmd with Product with Serializable

    Creates a JavaScript var named by 'name' and assigns it the value of 'right' expression.

  8. case class JsDoWhile (body: JsExp, condition: JsExp) extends JsCmd with Product with Serializable
  9. case class JsFor (initialExp: JsExp, condition: JsExp, incrementExp: JsExp, body: JsExp) extends JsCmd with Product with Serializable
  10. case class JsForIn (initialExp: JsExp, reference: String, body: JsCmd) extends JsCmd with Product with Serializable
  11. case class JsSchedule (what: JsCmd) extends JsCmd with Product with Serializable

    JsSchedule the execution of the JsCmd using setTimeout()

    JsSchedule the execution of the JsCmd using setTimeout()

    what

    the code to execute

  12. case class JsTry (what: JsCmd, alert: Boolean) extends JsCmd with Product with Serializable
  13. case class JsWhile (condition: JsExp, body: JsExp) extends JsCmd with Product with Serializable
  14. case class JsWith (reference: String, body: JsExp) extends JsCmd with Product with Serializable
  15. case class Prompt (text: String, default: String = "") extends JsExp with Product with Serializable
  16. case class RedirectTo (where: String) extends JsCmd with Product with Serializable
  17. case class Replace (id: String, content: NodeSeq) extends JsCmd with Product with Serializable

    Replaces the node having the provided id with the markup given by node

    Replaces the node having the provided id with the markup given by node

    id

    - the id of the node that will be replaced

  18. case class ReplaceOptions (select: String, opts: List[(String, String)], dflt: Box[String]) extends JsCmd with Product with Serializable

    Update a Select with new Options

  19. case class Run (text: String) extends JsCmd with Product with Serializable
  20. case class SetElemById (id: String, right: JsExp, thenStr: String*) extends JsCmd with Product with Serializable

    Assigns the value of 'right' to the members of the element having this 'id', chained by 'then' sequences

  21. case class SetExp (left: JsExp, right: JsExp) extends JsCmd with Product with Serializable

    Assigns the value computed by the 'right' expression to the 'left' expression.

  22. case class SetHtml (uid: String, content: NodeSeq) extends JsCmd with Product with Serializable

    Replaces the content of the node with the provided id with the markup given by content

    Replaces the content of the node with the provided id with the markup given by content

    This is analogous to assigning a new value to a DOM object's innerHtml property in Javascript.

    content

    - the new content

  23. case class SetValById (id: String, right: JsExp) extends JsCmd with Product with Serializable

    Sets the value to the element having the 'id' attribute with the result of the 'right' expression

  24. case class SetValueAndFocus (id: String, value: String) extends JsCmd with Product with Serializable

    Sets the value of an element and sets the focus

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. def JsHideId(what: String): JsCmd
  5. def JsShowId(what: String): JsCmd
  6. def Noop: JsCmd
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit def cmdToString(in: JsCmd): String
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. implicit def jsExpToJsCmd(in: JsExp): JsCmd
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. implicit def seqJsToJs(in: Seq[JsCmd]): JsCmd
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. object Function

    Creates a JavaScript function with a name, a parameters list and a function body

  27. object JsBreak extends JsCmd with Product with Serializable
  28. object JsContinue extends JsCmd with Product with Serializable
  29. object JsIf extends Product with Serializable
  30. object JsReturn
  31. object OnLoad

    Execute the 'what' code when the page is ready for use

  32. object RedirectTo extends Serializable

    A companion object with a helpful alternative constructor

  33. object Reload extends JsCmd with Product with Serializable

    Reload the current page

  34. object Script
  35. object _Noop extends JsCmd with Product with Serializable

Deprecated Value Members

  1. object FocusOnLoad

    Makes the parameter the selected HTML element on load of the page

    Makes the parameter the selected HTML element on load of the page

    returns

    the element and a script that will give the element focus

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Use S.appendJs(Focus(id))

Inherited from AnyRef

Inherited from Any

Ungrouped