All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dlib.KeyboardBuffer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.TextComponent
                   |
                   +----java.awt.TextArea
                           |
                           +----dlib.KeyboardBuffer

public class KeyboardBuffer
extends TextArea
implements KeyListener

Constructor Index

 o KeyboardBuffer(int, int)
 o KeyboardBuffer(String)
 o KeyboardBuffer(String, int, int)
 o KeyboardBuffer(String, int, int, int)

Method Index

 o append(String)
 o available()
 o die()
 o insert(String, int)
 o insertTextBeforeMark(String)
 o keyPressed(KeyEvent)
 o keyReleased(KeyEvent)
 o keyTyped(KeyEvent)
 o linemode_p()
 o read()
 o replaceRange(String, int, int)
 o set_linemode(boolean)
 o setText(String)
 o write(byte[], int, int)
 o write(int)

Constructors

 o KeyboardBuffer
 public KeyboardBuffer(String name)
 o KeyboardBuffer
 public KeyboardBuffer(int rows,
                       int columns)
 o KeyboardBuffer
 public KeyboardBuffer(String name,
                       int rows,
                       int cols)
 o KeyboardBuffer
 public KeyboardBuffer(String name,
                       int rows,
                       int cols,
                       int bufferchars)

Methods

 o set_linemode
 public void set_linemode(boolean t_f)
 o linemode_p
 public boolean linemode_p()
 o keyTyped
 public void keyTyped(KeyEvent e)
 o keyPressed
 public void keyPressed(KeyEvent e)
 o keyReleased
 public void keyReleased(KeyEvent e)
 o insert
 public synchronized void insert(String str,
                                 int pos)
Overrides:
insert in class TextArea
 o insertTextBeforeMark
 public void insertTextBeforeMark(String istr)
 o append
 public synchronized void append(String str)
Overrides:
append in class TextArea
 o replaceRange
 public synchronized void replaceRange(String str,
                                       int start,
                                       int end)
Overrides:
replaceRange in class TextArea
 o setText
 public void setText(String str)
Overrides:
setText in class TextComponent
 o die
 public void die()
 o available
 public int available()
 o read
 public int read() throws IOException
 o write
 public void write(int v) throws IOException
 o write
 public void write(byte data[],
                   int from,
                   int len) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index