public class SSHTerminal
extends com.vaadin.ui.AbstractComponent
Modifier and Type | Class and Description |
---|---|
class |
SSHTerminal.SessionTerminal
Nested class used to create the client side terminal
|
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
Constructor and Description |
---|
SSHTerminal(SSHWindow sshWindow,
org.apache.sshd.ClientSession session,
int width,
int height)
Constructor for the SSH Terminal
|
Modifier and Type | Method and Description |
---|---|
void |
changeVariables(Object source,
Map<String,Object> variables)
Deserialize changes received from client.
|
boolean |
close()
Closes the client window
|
void |
paintContent(com.vaadin.terminal.PaintTarget target)
Paint (serialize) the component for the client.
|
addListener, addListener, addListener, addListener, addListener, addStyleName, attach, childRequestedRepaint, detach, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setErrorHandler, setHeight, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidth, setWidthUnits
public SSHTerminal(SSHWindow sshWindow, org.apache.sshd.ClientSession session, int width, int height)
app
- The main applicationsshWindow
- The window holding the terminalsession
- The client instance used in the authorization of user names and passwordswidth
- The width of the terminalheight
- The height of the terminalpublic boolean close()
public void paintContent(com.vaadin.terminal.PaintTarget target) throws com.vaadin.terminal.PaintException
paintContent
in class com.vaadin.ui.AbstractComponent
com.vaadin.terminal.PaintException
Copyright © 2015. All Rights Reserved.