com.sshtools.terminal
Class VirtualTerminalAdapter

java.lang.Object
  extended bycom.sshtools.virtualsession.VirtualSessionAdapter
      extended bycom.sshtools.terminal.VirtualTerminalAdapter
All Implemented Interfaces:
java.util.EventListener, VirtualSessionListener, VirtualTerminalListener

public class VirtualTerminalAdapter
extends VirtualSessionAdapter
implements VirtualTerminalListener

Convenient adapter implementation of a VirtualTerminalListener.

Version:
$Revision: 1.1 $
Author:
$Author: richard $

Constructor Summary
VirtualTerminalAdapter()
           
 
Method Summary
 void screenResized(VirtualTerminal terminal, int w, int h, boolean remoteChange)
          The virtual terminal screen has been resized.
 
Methods inherited from class com.sshtools.virtualsession.VirtualSessionAdapter
connected, dataReceived, dataSent, disconnected, titleChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sshtools.virtualsession.VirtualSessionListener
connected, dataReceived, dataSent, disconnected, titleChanged
 

Constructor Detail

VirtualTerminalAdapter

public VirtualTerminalAdapter()
Method Detail

screenResized

public void screenResized(VirtualTerminal terminal,
                          int w,
                          int h,
                          boolean remoteChange)
Description copied from interface: VirtualTerminalListener
The virtual terminal screen has been resized. remote will be true if the remote host requested the screen size change.

Specified by:
screenResized in interface VirtualTerminalListener
Parameters:
terminal - virtual terminal
w - width
h - height
remoteChange - true if it was the host that requested the screen size change


Copyright © 2003-2004 3SP LTD. All Rights Reserved.