com.sshtools.terminal
Interface VirtualTerminalComponent

All Known Subinterfaces:
VDUScrollBar
All Known Implementing Classes:
AWTScrollBar, SwingScrollBar

public interface VirtualTerminalComponent

All components that are to be added to the VirtualSession implementation must implement this interface.

A virtual terminal component need not actually be visual, i.e. provide an AWT or Swing component for display, but if it is it must return a Component from the getComponent() method.

Each component can be added to any position (north, south, east or west) in any ring.

Version:
$Revision: 1.1 $
Author:
$Author: richard $
See Also:
com.sshtools.terminal.VirtualSession

Method Summary
 java.awt.Component getComponent()
          Return the AWT / Swing component this virtual terminal component provides.
 void init(VirtualTerminal terminal)
          Initialise the virtual terminal component
 

Method Detail

init

public void init(VirtualTerminal terminal)
Initialise the virtual terminal component

Parameters:
terminal -

getComponent

public java.awt.Component getComponent()
Return the AWT / Swing component this virtual terminal component provides. If the terminal component is not visual it will just return null

Returns:
component


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