Package org.patternfly.component.code
Class CodeBlockAction
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- org.patternfly.component.code.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<E,B> implements WithIcon<HTMLDivElement,CodeBlockAction>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeBlockActionariaLabel(String label)static CodeBlockActioncodeBlockAction(Element icon)static CodeBlockActioncodeBlockAction(PredefinedIcon icon)static CodeBlockActioncodeBlockCopyToClipboardAction()static CodeBlockActioncodeBlockCopyToClipboardAction(String copyText, String copiedText)CodeBlockActionicon(Element icon)CodeBlockActiononClick(ComponentHandler<CodeBlock> handler)CodeBlockActionremoveIcon()CodeBlockActionthat()-
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, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
-
-
-
Method Detail
-
codeBlockAction
public static CodeBlockAction codeBlockAction(PredefinedIcon icon)
-
codeBlockAction
public static CodeBlockAction codeBlockAction(Element icon)
-
codeBlockCopyToClipboardAction
public static CodeBlockAction codeBlockCopyToClipboardAction()
-
codeBlockCopyToClipboardAction
public static CodeBlockAction codeBlockCopyToClipboardAction(String copyText, String copiedText)
-
icon
public CodeBlockAction icon(Element icon)
- Specified by:
iconin interfaceWithIcon<HTMLDivElement,CodeBlockAction>
-
removeIcon
public CodeBlockAction removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLDivElement,CodeBlockAction>
-
that
public CodeBlockAction that()
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,CodeBlockAction>
-
ariaLabel
public CodeBlockAction ariaLabel(String label)
-
onClick
public CodeBlockAction onClick(ComponentHandler<CodeBlock> handler)
-
-