Class CodeEditorAction
java.lang.Object
org.patternfly.component.SubComponent<HTMLElement, CodeEditorAction>
org.patternfly.extension.codeeditor.CodeEditorAction
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, CodeEditorAction>, ElementClassListMethods<HTMLElement, CodeEditorAction>, ElementConsumerMethods<HTMLElement, CodeEditorAction>, ElementContainerMethods<HTMLElement, CodeEditorAction>, ElementEventMethods<HTMLElement, CodeEditorAction>, ElementIdMethods<HTMLElement, CodeEditorAction>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, CodeEditorAction>, HTMLElementDataMethods<HTMLElement, CodeEditorAction>, HTMLElementStyleMethods<HTMLElement, CodeEditorAction>, HTMLElementVisibilityMethods<HTMLElement, CodeEditorAction>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, CodeEditorAction>, ComponentIcon<HTMLElement, CodeEditorAction>
public class CodeEditorAction
extends SubComponent<HTMLElement, CodeEditorAction>
implements ComponentIcon<HTMLElement, CodeEditorAction>
-
Field Summary
Fields -
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 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
-
codeEditorAction
-
codeEditorAction
-
codeEditorAction
Adds an action. The button should have the modifiersModifiers.Plain.plain(). -
codeEditorCopyToClipboardAction
-
codeEditorCopyToClipboardAction
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLElement, CodeEditorAction>
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLElement, CodeEditorAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, CodeEditorAction>
-
ariaLabel
-
onClick
-