Class CodeEditor
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,CodeEditor>
org.patternfly.extension.codeeditor.CodeEditor
- All Implemented Interfaces:
Container<HTMLElement,
,CodeEditor> Finder<HTMLElement>
,HasElement<HTMLElement,
,CodeEditor> HasHTMLElement<HTMLElement,
,CodeEditor> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,CodeEditor> Component
,Modifiers.Readonly2<HTMLElement,
CodeEditor>
public class CodeEditor
extends BaseComponent<HTMLElement,CodeEditor>
implements Modifiers.Readonly2<HTMLElement,CodeEditor>
A code editor is a versatile text editor that allows for editing various languages.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd
(CodeEditorHeader header) addHeader
(CodeEditorHeader header) code()
static CodeEditor
static CodeEditor
codeEditor
(String code) that()
Methods inherited from class org.patternfly.component.BaseComponent
componentType, 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, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods inherited from interface org.patternfly.style.Modifiers.Readonly2
readonly, readonly
-
Method Details
-
codeEditor
-
codeEditor
-
addHeader
-
add
-
code
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
CodeEditor>
-
code
-