Class CodeEditorAction
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement,CodeEditorAction>
org.patternfly.extension.codeeditor.CodeEditorAction
- All Implemented Interfaces:
Container<HTMLElement,
,CodeEditorAction> Finder<HTMLElement>
,HasElement<HTMLElement,
,CodeEditorAction> HasHTMLElement<HTMLElement,
,CodeEditorAction> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,CodeEditorAction> WithIcon<HTMLElement,
CodeEditorAction>
public class CodeEditorAction
extends SubComponent<HTMLElement,CodeEditorAction>
implements WithIcon<HTMLElement,CodeEditorAction>
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodeEditorAction
codeEditorAction
(Element icon) static CodeEditorAction
codeEditorAction
(Button button) Adds an action.static CodeEditorAction
static CodeEditorAction
static CodeEditorAction
codeEditorCopyToClipboardAction
(String copyText, String copiedText) onClick
(ComponentHandler<CodeEditor> 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
-
codeEditorAction
-
codeEditorAction
-
codeEditorAction
Adds an action. The button should have the modifiersButton.control()
. -
codeEditorCopyToClipboardAction
-
codeEditorCopyToClipboardAction
-
icon
- Specified by:
icon
in interfaceWithIcon<HTMLElement,
CodeEditorAction>
-
removeIcon
- Specified by:
removeIcon
in interfaceWithIcon<HTMLElement,
CodeEditorAction>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
CodeEditorAction>
-
ariaLabel
-
onClick
-