Trait/Object

org.senkbeil.grus.layouts

Layout

Related Docs: object Layout | package layouts

Permalink

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
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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    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

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

    Permalink

    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

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Permalink

    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

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

    Permalink

    Renders the the layout with no content.

    Renders the the layout with no content.

    returns

    The rendered layout

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink

    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
  22. def toString(content: Seq[scalatags.Text.all.Modifier]): String

    Permalink

    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

  23. def toString(text: String): String

    Permalink

    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

  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped