Trait

com.raquo.dombuilder.generic.nodes

ParentNode

Related Doc: package nodes

Permalink

trait ParentNode[N, +Ref <: BaseRef, BaseRef] extends Node[N, Ref, BaseRef]

This trait represents a Node that can be a parent to other nodes.

For example, Comment and Text are leaf nodes and can not be parent nodes.

Self Type
ParentNode[N, Ref, BaseRef] with N
Linear Supertypes
Node[N, Ref, BaseRef], domtypes.generic.nodes.Node, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParentNode
  2. Node
  3. Node
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type BaseChildNode = N with ChildNode[N, BaseRef, BaseRef]

    Permalink
    Definition Classes
    Node
  2. type BaseElement = N with Element[N, BaseRef, BaseRef]

    Permalink
    Definition Classes
    Node
  3. type BaseNode = N with Node[N, BaseRef, BaseRef]

    Permalink
    Definition Classes
    Node
  4. type BaseParentNode = N with ParentNode[N, BaseRef, BaseRef]

    Permalink
    Definition Classes
    Node

Abstract Value Members

  1. abstract val ref: Ref

    Permalink

    Reference to the real DOM node which this Node represents.

    Reference to the real DOM node which this Node represents.

    Definition Classes
    Node

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. def appendChild(child: (ParentNode.this)#BaseChildNode)(implicit treeApi: TreeApi[N, BaseRef]): Boolean

    Permalink

    returns

    Whether child was successfully appended

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def indexOfChild(child: (ParentNode.this)#BaseChildNode): Int

    Permalink
  13. def insertChild(child: (ParentNode.this)#BaseChildNode, atIndex: Int)(implicit treeApi: TreeApi[N, BaseRef]): Boolean

    Permalink

    returns

    Whether child was successfully inserted

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def maybeChildren: Option[Buffer[(ParentNode.this)#BaseChildNode]]

    Permalink
    Annotations
    @inline()
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def removeChild(child: (ParentNode.this)#BaseChildNode)(implicit treeApi: TreeApi[N, BaseRef]): Boolean

    Permalink

    returns

    Whether child was successfully removed

  20. def replaceAllChildren(newChildren: Iterable[(ParentNode.this)#BaseChildNode])(implicit treeApi: TreeApi[N, BaseRef]): Unit

    Permalink
  21. def replaceChild(oldChild: (ParentNode.this)#BaseChildNode, newChild: (ParentNode.this)#BaseChildNode)(implicit treeApi: TreeApi[N, BaseRef]): Boolean

    Permalink

    Note: Does nothing if oldChild was not found in parent's children, or if oldChild==newChild

    Note: Does nothing if oldChild was not found in parent's children, or if oldChild==newChild

    returns

    Whether child was replaced

  22. def replaceChildren(fromIndex: Int, toIndex: Int, newChildren: Iterable[(ParentNode.this)#BaseChildNode])(implicit treeApi: TreeApi[N, BaseRef]): Boolean

    Permalink

    Note: Does nothing if fromIndex or toIndex are out of bounds or if fromIndex>toIndex

    Note: Does nothing if fromIndex or toIndex are out of bounds or if fromIndex>toIndex

    returns

    Whether children were replaced

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

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

Inherited from Node[N, Ref, BaseRef]

Inherited from domtypes.generic.nodes.Node

Inherited from AnyRef

Inherited from Any

Ungrouped