net.wimpi.telnetd.io.toolkit
Class Editarea
java.lang.Object
net.wimpi.telnetd.io.toolkit.Component
net.wimpi.telnetd.io.toolkit.ActiveComponent
net.wimpi.telnetd.io.toolkit.Editarea
- public class Editarea
- extends ActiveComponent
Class that implements an Editarea.
*
* @author Dieter Wimberger
* @version 2.0 (13/03/2005)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Editarea
public Editarea(BasicTerminalIO io,
java.lang.String name,
int rowheight,
int maxrows)
getSize
public int getSize()
- Accessor method for field buffer size.
*
* @return int that represents the number of chars in the fields buffer.
setHardwrapString
public void setHardwrapString(java.lang.String str)
getHardwrapString
public java.lang.String getHardwrapString()
setSoftwrapString
public void setSoftwrapString(java.lang.String str)
getSoftwrapString
public java.lang.String getSoftwrapString()
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String str)
throws BufferOverflowException
- Throws:
BufferOverflowException
clear
public void clear()
throws java.io.IOException
- Throws:
java.io.IOException
run
public void run()
throws java.io.IOException
- Description copied from class:
ActiveComponent
- Method to make the instance the active object.
- Specified by:
run
in class ActiveComponent
- Throws:
java.io.IOException
draw
public void draw()
throws java.io.IOException
- Description copied from class:
Component
- Method that draws the component.
- Specified by:
draw
in class Component
- Throws:
java.io.IOException
Copyright © 2000-2005 Dieter Wimberger.