org.hyperscala

Tag

Related Docs: object Tag | package hyperscala

trait Tag extends Markup with AttributeContainer[PropertyAttribute[_]]

Linear Supertypes
AttributeContainer[PropertyAttribute[_]], Markup, Logging, XMLContent, Element[Any], Listenable, MutableChildLike[Any], ChildLike[Any], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Tag
  2. AttributeContainer
  3. Markup
  4. Logging
  5. XMLContent
  6. Element
  7. Listenable
  8. MutableChildLike
  9. ChildLike
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def outputString: String

  2. abstract def xmlLabel: String

    Definition Classes
    Markup

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. var _attributes: ListMap[String, PropertyAttribute[_]]

    Attributes
    protected
    Definition Classes
    AttributeContainer
  5. def addAttribute(attribute: PropertyAttribute[_]): Unit

    Definition Classes
    AttributeContainer
  6. def after(): Unit

    Invoked immediately after writing this markup out.

    Invoked immediately after writing this markup out.

    Attributes
    protected
    Definition Classes
    Markup
  7. def applyAttribute(a: Attribute): Unit

    Attributes
    protected
    Definition Classes
    Markup
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def attribute[T](name: String, create: Boolean = false)(implicit persister: ValuePersistence[T], manifest: Manifest[T]): Option[PropertyAttribute[T]]

  10. def attributeFromXML(a: Attribute): Boolean

    Attributes
    protected
    Definition Classes
    TagMarkup
  11. def attributes: Map[String, PropertyAttribute[_]]

    Definition Classes
    AttributeContainer
  12. def before(): Unit

    Invoked immediately before writing this markup out.

    Invoked immediately before writing this markup out.

    Attributes
    protected
    Definition Classes
    Markup
  13. implicit val booleanPersistence: BooleanPersistence.type

  14. def byId[T <: Tag](id: String)(implicit manifest: Manifest[T]): Option[T]

  15. def byTag[T <: Tag](implicit manifest: Manifest[T]): Stream[T]

  16. def byType[T](implicit manifest: Manifest[T]): Stream[T]

  17. def checkInit(): Unit

    Iterate over everything

    Iterate over everything

    Attributes
    protected
    Definition Classes
    Markup
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def connected[Ancestor](f: (Ancestor) ⇒ Unit)(implicit manifest: Manifest[Ancestor]): Unit

    Definition Classes
    Element
  20. def data(name: String, value: String): Unit

  21. def data(name: String): Option[String]

  22. def dataAttribute(name: String): PropertyAttribute[String]

    Gets or creates a data attribute (data-<name>) and returns the property attribute.

  23. def dataAttributes: List[PropertyAttribute[_]]

  24. def dataWrapper[T](name: String, initial: T, prop: Option[Property[T]] = None)(converter: (T) ⇒ String)(implicit parent: Listenable = null, manifest: Manifest[T]): Property[T]

    Creates a type-safe wrapper around a data attribute by name.

    Creates a type-safe wrapper around a data attribute by name.

    T

    the type of the data for the property wrapper

    name

    the name of the data attribute (data-<name>)

    initial

    the initial value to be applied to the data wrapper. This will be applied to the underlying attribute.

    converter

    the converter to convert T to String

    parent

    the parent Listenable

    manifest

    Manifest[T]

    returns

    created Property wrapper

  25. def debug(message: ⇒ Any): Unit

    Definition Classes
    Logging
  26. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  28. def error(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  29. def error(message: ⇒ Any): Unit

    Definition Classes
    Logging
  30. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def getAttribute(name: String): Option[PropertyAttribute[_]]

    Definition Classes
    TagAttributeContainer
  32. def getById[T <: Tag](id: String)(implicit manifest: Manifest[T]): T

  33. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  35. var hierarchicalParent: Any

    Attributes
    protected
    Definition Classes
    MutableChildLike → ChildLike
  36. def info(message: ⇒ Any): Unit

    Definition Classes
    Logging
  37. def initialize(): Unit

    Attributes
    protected
    Definition Classes
    Markup
  38. def initialized: Boolean

    true if this Markup has been initialized.

    true if this Markup has been initialized.

    Definition Classes
    Markup
  39. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  40. def listen[Event, Response, Result](name: String, priority: Priority, modes: ListenMode*)(f: (Event) ⇒ Response)(implicit eventManifest: Manifest[Event]): FunctionalListener[Event, Response]

    Definition Classes
    Listenable
  41. val listeners: Listeners

    Definition Classes
    Listenable
  42. def log(level: Level, message: ⇒ Any): Unit

    Definition Classes
    Logging
  43. def logger: Logger

    Definition Classes
    Logging
  44. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  45. lazy val name: PropertyAttribute[String]

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

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

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

    Definition Classes
    AnyRef
  49. def onAfterRender(f: ⇒ Unit): Unit

    Invokes the function before rendering of this markup.

    Invokes the function before rendering of this markup. If the markup is already rendered then the function is invoked immediately.

    Definition Classes
    Markup
  50. def onBeforeRender(f: ⇒ Unit): Unit

    Invokes the function before rendering of this markup.

    Invokes the function before rendering of this markup. If the markup is already rendered then the function is invoked immediately.

    Definition Classes
    Markup
  51. def onInit(f: ⇒ Unit): Unit

    Invokes the supplied function upon init or immediately if this Markup has already been initialized.

    Invokes the supplied function upon init or immediately if this Markup has already been initialized.

    f

    represents the function to be called upon init

    Definition Classes
    Markup
  52. def parent: Any

    Definition Classes
    Element
  53. def read(content: Content): Unit

    Definition Classes
    MarkupXMLContent
  54. def removeFromParent(): Boolean

    Definition Classes
    XMLContent
  55. def render: Boolean

    Definition Classes
    TagXMLContent
  56. lazy val renderTag: PropertyAttribute[Boolean]

  57. def renderable: Boolean

    Recursively walks up the DOM validating the 'render' state on its parents returning true only if all parents have the 'render' value set to true.

  58. def rendered: Boolean

    true if this Markup has been rendered.

    true if this Markup has been rendered.

    Definition Classes
    Markup
  59. def replaceWith[T <: XMLContent](content: T): T

    Definition Classes
    XMLContent
  60. def root[T](implicit manifest: Manifest[T]): Option[T]

    Definition Classes
    Element
  61. implicit val stringPersistence: StringPersistence.type

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

    Definition Classes
    AnyRef
  63. lazy val tagCreated: StandardHierarchyEventProcessor[TagCreated]

  64. implicit val thisListenable: Listenable

    Definition Classes
    Listenable
  65. implicit val thisTag: Tag

  66. def toString(): String

    Definition Classes
    AnyRef → Any
  67. def trace(message: ⇒ Any): Unit

    Definition Classes
    Logging
  68. def unsupportedAttribute(name: String, value: String): Unit

    Attributes
    protected
    Definition Classes
    Markup
  69. def up(attribute: ⇒ PropertyAttribute[Boolean], value: Boolean): Unit

    Attributes
    protected
  70. def up(attribute: ⇒ PropertyAttribute[Char], value: Character): Unit

    Attributes
    protected
  71. def up(attribute: ⇒ PropertyAttribute[Int], value: Integer): Unit

    Attributes
    protected
  72. def up(attribute: ⇒ PropertyAttribute[Double], value: Double): Unit

    Attributes
    protected
  73. def up[T](attribute: ⇒ PropertyAttribute[T], value: T): Unit

    Updates attribute with value if it's not null.

    Updates attribute with value if it's not null.

    Attributes
    protected
  74. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. def warn(message: ⇒ Any, t: Throwable): Unit

    Definition Classes
    Logging
  78. def warn(message: ⇒ Any): Unit

    Definition Classes
    Logging
  79. def write(writer: HTMLWriter): Unit

    Definition Classes
    MarkupXMLContent
  80. def writeAttribute(writer: HTMLWriter, attribute: XMLAttribute): Unit

    Attributes
    protected
    Definition Classes
    Markup
  81. def writeChild(writer: HTMLWriter, child: XMLContent): Unit

    Attributes
    protected
    Definition Classes
    Markup
  82. final def writeChildren(writer: HTMLWriter, children: Seq[XMLContent]): Unit

    Attributes
    protected
    Definition Classes
    Markup
    Annotations
    @tailrec()
  83. def writeExtra(writer: HTMLWriter): Unit

    Attributes
    protected
    Definition Classes
    Markup
  84. def writeTag(writer: HTMLWriter): Unit

    Attributes
    protected
    Definition Classes
    Markup
  85. def xmlAttributes: Iterable[PropertyAttribute[_]]

    Definition Classes
    TagMarkup
  86. def xmlChildren: Seq[XMLContent]

    Definition Classes
    Markup
  87. def xmlExpanded: Boolean

    True if tag should never be self-closing even if there are no children.

    True if tag should never be self-closing even if there are no children.

    Defaults to false

    Definition Classes
    Markup

Inherited from Markup

Inherited from Logging

Inherited from XMLContent

Inherited from Element[Any]

Inherited from Listenable

Inherited from MutableChildLike[Any]

Inherited from ChildLike[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped