Package org.patternfly.core
Interface ElementDelegate<E extends Element,B extends TypedBuilder<E,B>>
- All Superinterfaces:
Container<E,
,B> HasElement<E,
,B> IsElement<E>
,TypedBuilder<E,
B>
public interface ElementDelegate<E extends Element,B extends TypedBuilder<E,B>>
extends TypedBuilder<E,B>, HasElement<E,B>, Container<E,B>
Delegates all methods related to text and inner HTML from
HasElement
and all add()
methods from
Container
to the element returned by delegate()
.
Please note that if you implement this interface in your (sub)component, you must use element().appendChild()
to add
something to the (sub)component itself!
-
Method Summary
Methods inherited from interface org.jboss.elemento.Container
add, add, addAll, addAll, addAll, addAll, addAll, addAll
Methods inherited from interface org.jboss.elemento.HasElement
apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, on, on, on, run, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.TypedBuilder
that
-
Method Details
-
delegate
HTMLElement delegate() -
textContent
- Specified by:
textContent
in interfaceHasElement<E extends Element,
B extends TypedBuilder<E, B>>
-
textNode
- Specified by:
textNode
in interfaceHasElement<E extends Element,
B extends TypedBuilder<E, B>>
-
add
- Specified by:
add
in interfaceHasElement<E extends Element,
B extends TypedBuilder<E, B>>
-
add
-