|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iu.cnets.klatsch.gui.Widget
edu.iu.cnets.klatsch.gui.WidgetEntry
public class WidgetEntry
The entry widget accepts user input and delivers complete lines to the Main applet when appropriate.
Field Summary | |
---|---|
(package private) History |
history
our input history |
(package private) java.lang.StringBuffer |
input
our current input |
(package private) int |
point
our current point within the input |
Fields inherited from class edu.iu.cnets.klatsch.gui.Widget |
---|
parent, x1, x2, y1, y2 |
Constructor Summary | |
---|---|
WidgetEntry(KlatschGui parent,
int x1,
int y1,
int x2,
int y2)
Initializes a new entry widget. |
Method Summary | |
---|---|
protected void |
draw()
Draws the widget. |
protected void |
keyPressed(int which)
Receives another keystroke. |
Methods inherited from class edu.iu.cnets.klatsch.gui.Widget |
---|
clear, in, keyReleased, mouseDragged, mousePressed, mouseReleased |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.lang.StringBuffer input
int point
History history
Constructor Detail |
---|
WidgetEntry(KlatschGui parent, int x1, int y1, int x2, int y2)
Method Detail |
---|
protected void draw()
draw
in class Widget
protected void keyPressed(int which)
keyPressed
in class Widget
which
- the key pressed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |