Class CodeBlockAction
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement,CodeBlockAction>
org.patternfly.component.codeblock.CodeBlockAction
- All Implemented Interfaces:
Container<HTMLDivElement,
,CodeBlockAction> Finder<HTMLDivElement>
,HasElement<HTMLDivElement,
,CodeBlockAction> HasHTMLElement<HTMLDivElement,
,CodeBlockAction> IsElement<HTMLDivElement>
,TypedBuilder<HTMLDivElement,
,CodeBlockAction> WithIcon<HTMLDivElement,
CodeBlockAction>
public class CodeBlockAction
extends SubComponent<HTMLDivElement,CodeBlockAction>
implements WithIcon<HTMLDivElement,CodeBlockAction>
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodeBlockAction
codeBlockAction
(Element icon) static CodeBlockAction
static CodeBlockAction
static CodeBlockAction
codeBlockCopyToClipboardAction
(String copyText, String copiedText) onClick
(ComponentHandler<CodeBlock> handler) that()
Methods inherited from class org.patternfly.component.SubComponent
element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Method Details
-
codeBlockAction
-
codeBlockAction
-
codeBlockCopyToClipboardAction
-
codeBlockCopyToClipboardAction
-
icon
- Specified by:
icon
in interfaceWithIcon<HTMLDivElement,
CodeBlockAction>
-
removeIcon
- Specified by:
removeIcon
in interfaceWithIcon<HTMLDivElement,
CodeBlockAction>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLDivElement,
CodeBlockAction>
-
ariaLabel
-
onClick
-