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 CodeEditorActioncodeEditorAction(Element icon) static CodeEditorActioncodeEditorAction(Button button) Adds an action.static CodeEditorActionstatic CodeEditorActionstatic CodeEditorActioncodeEditorCopyToClipboardAction(String copyText, String copiedText) onClick(ComponentHandler<CodeEditor> 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
-
codeEditorAction
-
codeEditorAction
-
codeEditorAction
Adds an action. The button should have the modifiersButton.control(). -
codeEditorCopyToClipboardAction
-
codeEditorCopyToClipboardAction
-
icon
- Specified by:
iconin interfaceWithIcon<HTMLElement,CodeEditorAction>
-
removeIcon
- Specified by:
removeIconin interfaceWithIcon<HTMLElement,CodeEditorAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,CodeEditorAction>
-
ariaLabel
-
onClick
-