Class CodeEditorAction
- java.lang.Object
-
- org.patternfly.component.SubComponent<E,B>
-
- 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<E,B> implements WithIcon<HTMLElement,CodeEditorAction>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeEditorActionariaLabel(String label)static CodeEditorActioncodeEditorAction(Element icon)static CodeEditorActioncodeEditorAction(Button button)Adds an action.static CodeEditorActioncodeEditorAction(PredefinedIcon icon)static CodeEditorActioncodeEditorCopyToClipboardAction()static CodeEditorActioncodeEditorCopyToClipboardAction(String copyText, String copiedText)CodeEditorActionicon(Element icon)CodeEditorActiononClick(ComponentHandler<CodeEditor> handler)CodeEditorActionremoveIcon()CodeEditorActionthat()-
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, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
-
-
-
Method Detail
-
codeEditorAction
public static CodeEditorAction codeEditorAction(PredefinedIcon icon)
-
codeEditorAction
public static CodeEditorAction codeEditorAction(Element icon)
-
codeEditorAction
public static CodeEditorAction codeEditorAction(Button button)
Adds an action. The button should have the modifiersButton.control().
-
codeEditorCopyToClipboardAction
public static CodeEditorAction codeEditorCopyToClipboardAction()
-
codeEditorCopyToClipboardAction
public static CodeEditorAction codeEditorCopyToClipboardAction(String copyText, String copiedText)
-
icon
public CodeEditorAction icon(Element icon)
- Specified by:
iconin interfaceWithIcon<HTMLElement,CodeEditorAction>
-
removeIcon
public CodeEditorAction removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLElement,CodeEditorAction>
-
that
public CodeEditorAction that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,CodeEditorAction>
-
ariaLabel
public CodeEditorAction ariaLabel(String label)
-
onClick
public CodeEditorAction onClick(ComponentHandler<CodeEditor> handler)
-
-