Class/Object

razie.diesel.dom.RDOM

P

Related Docs: object P | package RDOM

Permalink

case class P(name: String, dflt: String, ttype: WType = WTypes.wt.EMPTY, expr: Option[Expr] = None, value: Option[PValue[_]] = None) extends CM with CanHtml with Product with Serializable

represents a parameter/member/attribute

use .calculatedTypedValue instead of accessing value/dflt/expr directly

The value trumps dflt which trumps expr

name

name of parm

dflt

current value (for values) or default value (for specs) or a cache for the typed .value

ttype

type if known

expr

expression - for sourced parms

Linear Supertypes
Serializable, Serializable, Product, Equals, CanHtml, CM, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. P
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CanHtml
  7. CM
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new P(name: String, dflt: String, ttype: WType = WTypes.wt.EMPTY, expr: Option[Expr] = None, value: Option[PValue[_]] = None)

    Permalink

    name

    name of parm

    dflt

    current value (for values) or default value (for specs) or a cache for the typed .value

    ttype

    type if known

    expr

    expression - for sourced parms

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 calculatedP(implicit ctx: ECtx): P

    Permalink

    me if calculated, otherwise another P, calculated

  6. def calculatedTypedValue(implicit ctx: ECtx): PValue[_]

    Permalink

    proper way to get the value

  7. def calculatedValue(implicit ctx: ECtx): String

    Permalink

    proper way to get the value

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def currentStringValue: String

    Permalink

    only if it was already calculated...

  10. def currentValue: CExpr[_]

    Permalink

    only if it was already calculated...

  11. val dflt: String

    Permalink

    current value (for values) or default value (for specs) or a cache for the typed .value

  12. def ea(e: String, a: String, title: String = "", wrap: Boolean = true): String

    Permalink

    format an html message span

    format an html message span

    wrap for EMsg where the kspan will wrap it anyways

    Definition Classes
    CanHtml
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. val expr: Option[Expr]

    Permalink

    expression - for sourced parms

  15. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hasCurrentValue: Boolean

    Permalink

    only if it was already calculated...

  18. def htrimmedDflt: String

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isOfType(t: String): Boolean

    Permalink

    check if this value or def is of type t

  21. def isRef: Boolean

    Permalink
  22. val name: String

    Permalink

    name of parm

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def span(s: String, k: String = "default", title: String = "", extra: String = ""): String

    Permalink

    format an html keyword span

    format an html keyword span

    s

    the keyword

    k

    the color code

    title

    optional hover title

    extra

    optional other attrs

    Definition Classes
    CanHtml
  27. def spanClick(s: String, k: String = "default", title: String = "", extra: String = ""): String

    Permalink

    format a clickable span, which dumps content

    format a clickable span, which dumps content

    Definition Classes
    CanHtml
  28. def strimmedDflt: String

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

    Permalink
    Definition Classes
    AnyRef
  30. def toHtml(shorten: Boolean = true): String

    Permalink
  31. def toHtml: String

    Permalink
    Definition Classes
    PCanHtml
  32. def toString(): String

    Permalink
    Definition Classes
    P → AnyRef → Any
  33. def token(s: String, title: String = "", extra: String = ""): String

    Permalink

    * format an html element span

    * format an html element span

    Definition Classes
    CanHtml
  34. def tokenValue(s: String): String

    Permalink
    Definition Classes
    CanHtml
  35. val ttype: WType

    Permalink

    type if known

  36. def valExpr: Expr

    Permalink

    current calculated value if any or the expression

  37. var value: Option[PValue[_]]

    Permalink
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withCachedValue[T](va: T, ctype: WType = WTypes.wt.EMPTY, cached: String): P

    Permalink
  42. def withValue[T](va: T, ctype: WType): P

    Permalink

Deprecated Value Members

  1. def withValue[T](va: T, ctype: String = "", domClassName: String = WTypes.UNKNOWN): P

    Permalink
    Annotations
    @deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CanHtml

Inherited from CM

Inherited from AnyRef

Inherited from Any

Ungrouped