@NpmPackage(value="xterm",
version="4.4.0")
@JsModule(value="./fc-xterm/xterm.js")
@Tag(value="fc-xterm")
@CssImport(value="xterm/css/xterm.css")
public class XTerm
extends com.vaadin.flow.component.Component
implements ITerminal, ITerminalOptions, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasEnabled
ITerminalOptions.BellStyle, ITerminalOptions.CursorStyle, ITerminalOptions.FastScrollModifier, ITerminalOptions.RendererType| Constructor and Description |
|---|
XTerm()
Constructs a new instance of
XTerm |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
addCustomKeyListener(com.vaadin.flow.dom.DomEventListener listener,
com.vaadin.flow.component.Key key,
com.vaadin.flow.component.KeyLocation location,
com.vaadin.flow.component.KeyModifier... modifiers)
Add a server-side key listener.
|
com.vaadin.flow.shared.Registration |
addCustomKeyListener(com.vaadin.flow.dom.DomEventListener listener,
com.vaadin.flow.component.Key key,
com.vaadin.flow.component.KeyModifier... modifiers)
Add a server-side key listener.
|
<T extends XTermFeature> |
getFeature(Class<T> featureType)
Return a installed feature
|
<T extends XTermFeature> |
loadFeature(T feature,
Consumer<T> initializer)
Install and initializes pluggable feature in the terminal
|
void |
loadFeature(XTermFeature feature)
Install a pluggable feature in the terminal
|
void |
setEnabled(boolean enabled) |
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblur, clear, clearSelection, focus, getSelection, hasSelection, paste, refresh, reset, resize, scrollLines, scrollPages, scrollToBottom, scrollToLine, scrollToTop, select, selectAll, selectLines, write, writelnsetBellSound, setBellStyle, setCursorBlink, setCursorStyle, setCursorWidth, setDrawBoldTextInBrightColors, setFastScrollModifier, setFastScrollSensitivity, setFontFamily, setFontSize, setFontWeight, setFontWeightBold, setLetterSpacing, setLineHeight, setMacOptionClickForcesSelection, setMacOptionIsMeta, setMinimumContrastRatio, setRendererType, setRightClickSelectsWord, setScreenReaderMode, setScrollback, setScrollSensitivity, setTabStopWidth, setTheme, setWordSeparatorpublic void loadFeature(XTermFeature feature)
public <T extends XTermFeature> void loadFeature(T feature, Consumer<T> initializer)
public <T extends XTermFeature> Optional<T> getFeature(Class<T> featureType)
public com.vaadin.flow.shared.Registration addCustomKeyListener(com.vaadin.flow.dom.DomEventListener listener,
com.vaadin.flow.component.Key key,
com.vaadin.flow.component.KeyModifier... modifiers)
addCustomKeyListener(DomEventListener, Key, KeyModifier...)
with a KeyLocation of null.public com.vaadin.flow.shared.Registration addCustomKeyListener(com.vaadin.flow.dom.DomEventListener listener,
com.vaadin.flow.component.Key key,
com.vaadin.flow.component.KeyLocation location,
com.vaadin.flow.component.KeyModifier... modifiers)
public void setEnabled(boolean enabled)
setEnabled in interface com.vaadin.flow.component.HasEnabledCopyright © 2020 Flowing Code. All rights reserved.