org.senkbeil.grus.layouts

Layout

trait Layout extends AnyRef

Represents the base interface that a layout must implement.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Layout
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def render(bodyContent: Seq[scalatags.Text.all.Modifier], headContent: Seq[scalatags.Text.all.Modifier]): scalatags.Text.all.Modifier

    Renders the provided content as HTML using this layout.

    Renders the provided content as HTML using this layout.

    bodyContent

    The content to render as HTML body using this layout

    headContent

    The content to render as HTML head using this layout

    returns

    The rendered content

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def context: Context

    Represents the context provided to the layout.

    Represents the context provided to the layout.

    returns

    The layout's context

    Annotations
    @throws( ... )
    Exceptions thrown
    AssertionError

    If the context has not been set

  9. def context_=(context: Context): Unit

    Sets the layout's context.

    Sets the layout's context. One-time use only.

    context

    The layout's context

    Annotations
    @throws( ... )
    Exceptions thrown
    AssertionError

    If the context has already been set

  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. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def render(text: String): scalatags.Text.all.Modifier

    Renders the provided text as HTML using this layout.

    Renders the provided text as HTML using this layout.

    text

    The text to render as HTML using this layout

    returns

    The rendered content

  20. def render(): scalatags.Text.all.Modifier

    Renders the the layout with no content.

    Renders the the layout with no content.

    returns

    The rendered layout

  21. def render(content: Seq[scalatags.Text.all.Modifier]): scalatags.Text.all.Modifier

    Renders the provided content as HTML using this layout.

    Renders the provided content as HTML using this layout.

    content

    The content to render as HTML body using this layout

    returns

    The rendered content

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Renders the layout with no content and returns the string representation.

    Renders the layout with no content and returns the string representation.

    returns

    The string representation of the layout

    Definition Classes
    Layout → AnyRef → Any
  24. def toString(content: Seq[scalatags.Text.all.Modifier]): String

    Renders the layout with content and returns the string representation.

    Renders the layout with content and returns the string representation.

    content

    The content to fill in the layout

    returns

    The string representation of the layout

  25. def toString(text: String): String

    Renders the layout with text and returns the string representation.

    Renders the layout with text and returns the string representation.

    text

    The text to render as HTML using this layout

    returns

    The string representation of the layout

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped