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>, org.patternfly.component.ComponentIcon<HTMLElement, CodeEditorAction>, org.patternfly.core.OuiaSupport<HTMLElement, CodeEditorAction>
public class CodeEditorAction
extends org.patternfly.component.SubComponent<HTMLElement, CodeEditorAction>
implements org.patternfly.component.ComponentIcon<HTMLElement, CodeEditorAction>
An action button in the
CodeEditor header, such as a copy-to-clipboard button.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CodeEditorActioncodeEditorAction(Element icon) static CodeEditorActioncodeEditorAction(org.patternfly.component.button.Button button) Adds an action.static CodeEditorActioncodeEditorAction(org.patternfly.icon.PredefinedIcon icon) static CodeEditorActionstatic CodeEditorActioncodeEditorCopyToClipboardAction(String copyText, String copiedText) onClick(org.patternfly.handler.ComponentHandler<CodeEditor> handler) that()Methods inherited from class org.patternfly.component.SubComponent
element, ouiaComponentType, registerSubComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.component.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
hiddenMethods inherited from interface org.patternfly.core.OuiaSupport
initOuia, initOuia, ouiaId, ouiaSafe, ouiaTransition
-
Field Details
-
SUB_COMPONENT_ID
- See Also:
-
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 interfaceorg.patternfly.component.ComponentIcon<HTMLElement, CodeEditorAction>
-
removeIcon
- Specified by:
removeIconin interfaceorg.patternfly.component.ComponentIcon<HTMLElement, CodeEditorAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, CodeEditorAction>
-
ariaLabel
-
onClick
-