Serialized Form
-
Package com.flowingcode.vaadin.addons.xterm
-
Class com.flowingcode.vaadin.addons.xterm.ITerminalConsole.LineEvent
-
Serialized Fields
-
line
String line
-
-
-
Class com.flowingcode.vaadin.addons.xterm.PreserveStateAddon
class PreserveStateAddon extends Object implements Serializable-
Serialized Fields
-
optionsDelegate
ITerminalOptions optionsDelegate
Delegate all option setters through this delegate, which is thePreserveStateAddon.optionsMemoizerproxy. That will allow us to re-apply the settings when the xterm is re-attached. For example, callingITerminalOptions.setBellSound(String)on this addon will pass through the call to this delegate, which in turn passes the call toPreserveStateAddon.optionsMemoizerwhich remembers the call and passes it toPreserveStateAddon.xterm. After the xterm.js is re-attached, we simply callStateMemoizer.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 com.flowingcode.vaadin.addons.xterm.TerminalHistory
class TerminalHistory extends Object implements Serializable-
Serialization Methods
-
readObject
- Throws:
ClassNotFoundExceptionIOException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
history
LinkedList<String> history
-
initialLine
String initialLine
-
lastRet
String lastRet
-
maxSize
Integer maxSize
-
registrations
List<Registration> registrations
-
terminal
XTermBase terminal
-
-
-
Class com.flowingcode.vaadin.addons.xterm.XTerm
class XTerm extends XTermBase implements Serializable -
Class com.flowingcode.vaadin.addons.xterm.XTermBase
class XTermBase extends Component implements Serializable-
Serialized Fields
-
deferredCommands
List<Command> deferredCommands
-
terminalOptionsProxy
ITerminalOptions terminalOptionsProxy
-
terminalProxy
ITerminal terminalProxy
-
-
-
-
Package com.flowingcode.vaadin.addons.xterm.utils
-
Class com.flowingcode.vaadin.addons.xterm.utils.StateMemoizer
class StateMemoizer extends Object 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 toStateMemoizer.delegate. -
setterCalls
Map<String,
Serializable> setterCalls Remember all calls to all setters; also remember what args were passed to those setters.
-
-
-