Td
A <td> data cell, accepted as an element child of tr(...). Produced by the td(...) factory.
Attributes
- Source
- Dom.scala
- Graph
-
- Supertypes
-
trait Celltrait Elementtrait CssSelectabletrait Domtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class TdElement
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Collects all nodes in the tree matching the given partial function.
Collects all nodes in the tree matching the given partial function.
Traverses the entire tree in depth-first order, applying the partial function to each node and collecting matches.
Value parameters
- pf
-
the partial function to apply; nodes that match contribute their transformed values
Attributes
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Filters the tree to keep only nodes satisfying the predicate.
Filters the tree to keep only nodes satisfying the predicate.
Removes any node for which the predicate returns false, and recursively filters children. Empty branches collapse to Empty.
Value parameters
- predicate
-
the condition each node must satisfy
Attributes
Finds the first node in the tree satisfying the predicate.
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
The name of the n^th^ element of this product, 0-based. In the default implementation, an empty string.
The name of the n^th^ element of this product, 0-based. In the default implementation, an empty string.
Value parameters
- n
-
the index of the element name to return
Attributes
- Returns
-
the name of the specified element
- Throws
-
IndexOutOfBoundsException
if the
nis out of range(n < 0 || n >= productArity). - Inherited from:
- Product
- Source
- Product.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
A string used in the toString methods of derived classes. Implementations may override this method to prepend a string prefix to the result of toString methods.
A string used in the toString methods of derived classes. Implementations may override this method to prepend a string prefix to the result of toString methods.
Attributes
- Returns
-
in the default implementation, the empty string
- Inherited from:
- Product
- Source
- Product.scala
Renders the DOM tree to a pretty-printed HTML string with indentation.
Renders the DOM tree to a pretty-printed HTML string with indentation.
Text content is HTML-escaped. Script and Style elements render their children without escaping to allow inline code.
Value parameters
- indent
-
the number of spaces per indentation level; if <= 0, behaves like
render
Attributes
Renders the DOM tree to a minified HTML string.
Selects all descendant nodes matching the given CSS selector.
Selects all descendant nodes matching the given CSS selector.
Value parameters
- selector
-
the CSS selector to match against
Attributes
- Returns
-
a DomSelection containing all matching descendant nodes
- Inherited from:
- Dom
- Source
- Dom.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Transforms every node in the tree using the given function.
Transforms every node in the tree using the given function.
Applies the transformation function to each node in depth-first order, then recursively transforms children of Elements. Suitable for rewriting the tree, e.g., removing nodes, modifying attributes, or simplifying structure.
Value parameters
- f
-
the transformation function to apply to each node
Attributes
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Attributes
- Inherited from:
- CssSelectable
- Source
- CssSelectable.scala
Inherited and Abstract methods
Checks whether this instance can possibly equal that.
Checks whether this instance can possibly equal that.
A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.
Value parameters
- that
-
the value being probed for possible equality
Attributes
- Returns
-
true if this instance can possibly equal
that, otherwise false - Inherited from:
- Equals
- Source
- Equals.scala
The size of this product.
The size of this product.
Attributes
- Returns
-
for a product
A(x,,1,,, ..., x,,k,,), returnsk - Inherited from:
- Product
- Source
- Product.scala
The n^th^ element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where `0 = productArity).
The n^th^ element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where `0 = productArity).
Attributes
- Returns
-
the element
nelements after the first element - Inherited from:
- Product
- Source
- Product.scala