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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeEditoradd(CodeEditorHeader header)CodeEditoraddHeader(CodeEditorHeader header)Stringcode()CodeEditorcode(String code)static CodeEditorcodeEditor()static CodeEditorcodeEditor(String code)CodeEditorthat()-
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, id, innerHtml, 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 Detail
-
codeEditor
public static CodeEditor codeEditor()
-
codeEditor
public static CodeEditor codeEditor(String code)
-
addHeader
public CodeEditor addHeader(CodeEditorHeader header)
-
add
public CodeEditor add(CodeEditorHeader header)
-
code
public CodeEditor code(String code)
-
that
public CodeEditor that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,CodeEditor>
-
code
public String code()
-
-