TelnetD at SF

net.wimpi.telnetd.io.toolkit
Class Editarea

java.lang.Object
  extended bynet.wimpi.telnetd.io.toolkit.Component
      extended bynet.wimpi.telnetd.io.toolkit.ActiveComponent
          extended bynet.wimpi.telnetd.io.toolkit.Editarea

public class Editarea
extends ActiveComponent

Class that implements an Editarea. * * @author Dieter Wimberger * @version 2.0 (13/03/2005)


Field Summary
 
Fields inherited from class net.wimpi.telnetd.io.toolkit.Component
m_Dim, m_IO, m_Name, m_Position
 
Constructor Summary
Editarea(BasicTerminalIO io, java.lang.String name, int rowheight, int maxrows)
           
 
Method Summary
 void clear()
           
 void draw()
          Method that draws the component.
 java.lang.String getHardwrapString()
           
 int getSize()
          Accessor method for field buffer size
 java.lang.String getSoftwrapString()
           
 java.lang.String getValue()
           
 void run()
          Method to make the instance the active object.
 void setHardwrapString(java.lang.String str)
           
 void setSoftwrapString(java.lang.String str)
           
 void setValue(java.lang.String str)
           
 
Methods inherited from class net.wimpi.telnetd.io.toolkit.Component
getDimension, getLocation, getName, setDimension, setLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Editarea

public Editarea(BasicTerminalIO io,
                java.lang.String name,
                int rowheight,
                int maxrows)
Method Detail

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

TelnetD at SF

Copyright © 2000-2005 Dieter Wimberger.