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 CodeBlockActioncodeBlockAction(Element icon) static CodeBlockActionstatic CodeBlockActionstatic CodeBlockActioncodeBlockCopyToClipboardAction(String copyText, String copiedText) onClick(ComponentHandler<CodeBlock> handler) that()Methods inherited from class org.patternfly.component.SubComponent
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods 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:
iconin interfaceWithIcon<HTMLDivElement,CodeBlockAction>
-
removeIcon
- Specified by:
removeIconin interfaceWithIcon<HTMLDivElement,CodeBlockAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,CodeBlockAction>
-
ariaLabel
-
onClick
-