Secure iNet Factory

com.jscape.inet.ssh.connection.channels
Class TerminalWindow

java.lang.Object
  extended by com.jscape.inet.ssh.connection.channels.TerminalWindow

public class TerminalWindow
extends java.lang.Object

The terminal window parameters.

Version:
1.0
Author:
Alex Usun

Constructor Summary
TerminalWindow(int charWidth, int charHight, int pixelWidth, int pixelHight)
          Creates a new terminal window instance.
 
Method Summary
 int getCharHight()
          Method getCharHight
 int getCharWidth()
          Method getCharWidth
 int getPixelHight()
          Method getPixelHight
 int getPixelWidth()
          Method getPixelWidth
static TerminalWindow readFrom(java.io.InputStream in)
          Method readFrom
 void writeTo(java.io.OutputStream out)
          Writes the object to the stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminalWindow

public TerminalWindow(int charWidth,
                      int charHight,
                      int pixelWidth,
                      int pixelHight)
Creates a new terminal window instance.

Parameters:
charWidth -
charHight -
pixelWidth -
pixelHight -
Method Detail

readFrom

public static TerminalWindow readFrom(java.io.InputStream in)
                               throws java.io.IOException
Method readFrom

Parameters:
in -
Returns:
TerminalWindow
Throws:
java.io.IOException

getCharWidth

public int getCharWidth()
Method getCharWidth

Returns:
int

getCharHight

public int getCharHight()
Method getCharHight

Returns:
int

getPixelWidth

public int getPixelWidth()
Method getPixelWidth

Returns:
int

getPixelHight

public int getPixelHight()
Method getPixelHight

Returns:
int

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Writes the object to the stream.

Parameters:
out - the target output stream
Throws:
java.io.IOException - if an I/O error occurs

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved