Class CodeBlockAction
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement, CodeBlockAction>
org.patternfly.component.codeblock.CodeBlockAction
- All Implemented Interfaces:
ElementAttributeMethods<HTMLDivElement, CodeBlockAction>, ElementClassListMethods<HTMLDivElement, CodeBlockAction>, ElementConsumerMethods<HTMLDivElement, CodeBlockAction>, ElementContainerMethods<HTMLDivElement, CodeBlockAction>, ElementEventMethods<HTMLDivElement, CodeBlockAction>, ElementIdMethods<HTMLDivElement, CodeBlockAction>, ElementQueryMethods<HTMLDivElement>, HTMLElementAttributeMethods<HTMLDivElement, CodeBlockAction>, HTMLElementDataMethods<HTMLDivElement, CodeBlockAction>, HTMLElementStyleMethods<HTMLDivElement, CodeBlockAction>, HTMLElementVisibilityMethods<HTMLDivElement, CodeBlockAction>, IsElement<HTMLDivElement>, TypedBuilder<HTMLDivElement, CodeBlockAction>, ComponentIcon<HTMLDivElement, CodeBlockAction>
public class CodeBlockAction
extends SubComponent<HTMLDivElement, CodeBlockAction>
implements ComponentIcon<HTMLDivElement, CodeBlockAction>
-
Field Summary
Fields -
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 SubComponent
element, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentIcon
iconMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hidden
-
Field Details
-
SUB_COMPONENT_NAME
- See Also:
-
-
Method Details
-
codeBlockAction
-
codeBlockAction
-
codeBlockCopyToClipboardAction
-
codeBlockCopyToClipboardAction
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLDivElement, CodeBlockAction>
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLDivElement, CodeBlockAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement, CodeBlockAction>
-
ariaLabel
-
onClick
-