Package org.patternfly.component.code
Class CodeEditorAction
- java.lang.Object
-
- org.patternfly.component.SubComponent<HTMLElement,CodeEditorAction>
-
- org.patternfly.component.code.CodeEditorAction
-
- All Implemented Interfaces:
Container<HTMLElement,CodeEditorAction>,Finder<HTMLElement>,HasElement<HTMLElement,CodeEditorAction>,HasHTMLElement<HTMLElement,CodeEditorAction>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,CodeEditorAction>,ComponentReference<CodeEditor>
public class CodeEditorAction extends SubComponent<HTMLElement,CodeEditorAction> implements ComponentReference<CodeEditor>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeEditorActionariaLabel(String label)static CodeEditorActioncodeEditorAction(String iconClass)static CodeEditorActioncodeEditorAction(Button button)Adds an action.static CodeEditorActioncodeEditorAction(PredefinedIcon icon)static CodeEditorActioncodeEditorCopyToClipboardAction()CodeEditorActiononAction(ActionHandler<CodeEditor> actionHandler)voidpassComponent(CodeEditor codeEditor)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, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, textNode, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
codeEditorAction
public static CodeEditorAction codeEditorAction(PredefinedIcon icon)
-
codeEditorAction
public static CodeEditorAction codeEditorAction(String iconClass)
-
codeEditorAction
public static CodeEditorAction codeEditorAction(Button button)
Adds an action. The button should have the modifiersButton.control().
-
codeEditorCopyToClipboardAction
public static CodeEditorAction codeEditorCopyToClipboardAction()
-
passComponent
public void passComponent(CodeEditor codeEditor)
- Specified by:
passComponentin interfaceComponentReference<CodeEditor>
-
that
public CodeEditorAction that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,CodeEditorAction>
-
ariaLabel
public CodeEditorAction ariaLabel(String label)
-
onAction
public CodeEditorAction onAction(ActionHandler<CodeEditor> actionHandler)
-
-