|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.gui.view.table.TableInput
public final class TableInput
This is a simple input box for BaseX views.
| Constructor Summary | |
|---|---|
TableInput(BaseXPanel p,
java.lang.String t)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
add(char c)
Adds a character. |
void |
code(int c)
Reacts on key codes. |
void |
paint(java.awt.Graphics g,
int x,
int y,
int w,
int h)
Paints the input box. |
void |
run()
Thread for cursor flashing. |
void |
stop()
Stops the box input. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableInput(BaseXPanel p,
java.lang.String t)
p - panel referencet - text| Method Detail |
|---|
public boolean add(char c)
c - character to be added
public void code(int c)
c - code to be evaluated
public void paint(java.awt.Graphics g,
int x,
int y,
int w,
int h)
g - graphics referencex - x positiony - y positionw - widthh - heightpublic void run()
run in interface java.lang.Runnablepublic void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||