Packages

abstract class HTML extends AnyRef

a partial implementation of HTML designed for easily building and emitting HTML documents

see archives.HTMLExporter for a usage example

Source
HTML.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HTML
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HTML()

Type Members

  1. class Element extends AnyRef

    Most HTML tags inherit from this class

Abstract Value Members

  1. abstract def out(s: String): Unit

    continuation function called on the text snippets making up the HTML document

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. def a(ref: String)(body: ⇒ Unit): Unit

    anchor element

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val body: Element
  7. def br: Unit

    br element

  8. val button: Element
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. val code: Element
  11. def css(src: String): Unit

    produces a link tag for a css file

    produces a link tag for a css file

    src

    the href attribute (i.e., the css file)

  12. val div: Element
  13. def embed(src: String): Unit

    embed element

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def form(action: String = "", cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
  18. def freshid: String

    returns

    a fresh id

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val h1: Element
  21. val h2: Element
  22. val h3: Element
  23. val h4: Element
  24. val h5: Element
  25. val h6: Element
  26. val h7: Element
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. val head: Element
  29. val html: Element
  30. def htmlobject(ref: String, tp: String): Unit

    object element

  31. def iframe(src: String): Unit

    iframe element

  32. def img(src: String): Unit

    img element

  33. def input(itype: String = "", name: String = "", value: String = "", cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def javascript(src: String): Unit

    produces a script element for a javascript file

    produces a script element for a javascript file

    src

    the src attribute (i.e., the javascript file)

  36. val li: Element
  37. def literal(n: Node): Unit

    outputs as is

  38. def literal(s: String): Unit

    outputs as is

  39. val math: Element
  40. val merror: Element
  41. val mfrac: Element
  42. val mglyph: Element
  43. val mi: Element
  44. val mlabel: Element
  45. val mn: Element
  46. val mo: Element
  47. val mover: Element
  48. val mphantom: Element
  49. val mroot: Element
  50. val mrow: Element
  51. val msqrt: Element
  52. val msub: Element
  53. val msubsup: Element
  54. val msup: Element
  55. val mtext: Element
  56. val munder: Element
  57. val munderover: Element
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. val ol: Element
  62. def option(value: String = "", cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
  63. val p: Element
  64. val pre: Element
  65. def select(name: String, cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
  66. val span: Element
  67. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  68. val table: Element
  69. val tbody: Element
  70. val td: Element
  71. def text(s: String): Unit

    text node

  72. val th: Element
  73. val thead: Element
  74. def toString(): String
    Definition Classes
    AnyRef → Any
  75. val tr: Element
  76. val ul: Element
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  80. object JS

    creates a javascript function application

Inherited from AnyRef

Inherited from Any

Ungrouped