-
-
class LineEvent extends com.vaadin.flow.component.ComponentEvent<
XTerm> implements
Serializable
-
-
Serialized Fields
-
optionsDelegate
ITerminalOptions optionsDelegate
Delegate all option setters through this delegate, which is the
PreserveStateAddon.optionsMemoizer proxy.
That will allow us to re-apply the settings when the xterm is re-attached.
For example, calling
ITerminalOptions.setBellSound(String)
on this addon will pass through the call to this delegate, which in turn passes
the call to
PreserveStateAddon.optionsMemoizer which remembers the call and passes
it to
PreserveStateAddon.xterm.
After the xterm.js is re-attached, we simply call
StateMemoizer.apply()
to apply all changed setters again to xterm.js, to make sure xterm.js is
configured.
-
optionsMemoizer
StateMemoizer optionsMemoizer
Used to re-apply all options to the xterm after it has been reattached back to the UI.
Otherwise, the options would not be applied to the client-side xterm.js component.
-
scrollbackBuffer
StringBuilder scrollbackBuffer
Remembers everything that was printed into the xterm and what the user typed in.
-
wasDetachedOnce
boolean wasDetachedOnce
All commands are properly applied before the first attach; they're just
not preserved after subsequent detach/attach.
-
xterm
XTerm xterm
The xterm to delegate all calls to.
-
-
-
class XTermBase extends com.vaadin.flow.component.Component implements
Serializable
-
-
-
Serialized Fields
-
delegate
Object delegate
Pass-through the setters here.
-
proxy
Object proxy
Setters invoked on this proxy will have the args remembered; the methods invocations
will then be passed on to StateMemoizer.delegate.
-
setterCalls
Map<String,Serializable> setterCalls
Remember all calls to all setters; also remember what args were passed to those setters.