|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GUI
A simple GUI for user interaction. A single SelectionListener
can be
set to be informed when the user enters information and hits Ok.
Method Summary | |
---|---|
void |
close()
Closes the GUI |
boolean |
isClosed()
Returns if the GUI is closed |
void |
open()
Opens the GUI and shows it to the user |
Dictionary |
openAndWait()
Pops up this GUI, gets data from the user, and returns what they entered. |
void |
setSelectionListener(SelectionListener listener)
Sets the selection listener to be informed when the user finishes entering information and hits 'Ok' or cancels |
Method Detail |
---|
Dictionary openAndWait()
Dictionary
, and is given to this method's
caller.
null
if the operation
was cancelledvoid open()
void close()
boolean isClosed()
void setSelectionListener(SelectionListener listener)
listener
- The listener to notify
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |