1 package de.mud.telnet.display;
2 /* "In case you would like to use the packages as libraries please
3 * apply the GNU Library General Public License as documented in the
4 * file COPYING.LIB." (from Telnet/Documentation/index.html)
7 * Terminal -- Terminal emulation (abstract class)
9 * $Id: Terminal.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
10 * $timestamp: Wed Mar 5 11:27:13 1997 by Matthias L. Jugel :$
12 * This file is part of "The Java Telnet Applet".
14 * This is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2, or (at your option)
19 * "The Java Telnet Applet" is distributed in the hope that it will be
20 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this software; see the file COPYING. If not, write to the
26 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
27 * Boston, MA 02111-1307, USA.
30 import java.awt.Panel;
31 import java.awt.Dimension;
34 * Terminal is an abstract emulation class.
35 * It contains a character display.
37 * @version $Id: Terminal.java,v 1.1.1.1 1997/03/05 13:35:16 leo Exp $
38 * @author Matthias L. Jugel, Marcus Meißner
40 public abstract class Terminal extends Panel
43 * Get the specific parameter info for the emulation.
44 * @see java.applet.Applet
46 public abstract String[][] getParameterInfo();
49 * Put a character on the screen. The method has to see if it is
50 * a special character that needs to be handles special.
51 * @param c the character
54 public abstract void putChar(char c);
57 * Put a character on the screen. The method has to parse the string
58 * may handle special characters.
62 public abstract void putString(String s);
65 * Return the current size of the terminal in characters.
67 public abstract Dimension getSize();
70 * Return actual terminal type identifier.
72 public abstract String getTerminalType();