fi.hut.tml.xsmiles.gui.components.awt
Class AWTDialog

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.awt.AWTDialog
All Implemented Interfaces:
XDialog
Direct Known Subclasses:
AuthDialog, AWTConfirmDialog

public class AWTDialog
extends java.lang.Object
implements XDialog

Auth dialog


Field Summary
protected  boolean cancelled
           
protected  java.awt.Frame parent
           
protected  java.lang.String prompt
           
protected  java.lang.String title
           
 
Fields inherited from interface fi.hut.tml.xsmiles.gui.components.XDialog
SELECTION_FAILED, SELECTION_OK
 
Constructor Summary
AWTDialog(java.awt.Frame parentFrame)
           
 
Method Summary
 int select()
          open the selection box and return a failure/ok code
protected  void setCancelled(boolean value)
           
 void setPrompt(java.lang.String promptStr)
           
 void setTitle(java.lang.String titleStr)
          open the selection box and return a failure/ok code
protected  void showDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected java.awt.Frame parent

prompt

protected java.lang.String prompt

title

protected java.lang.String title

cancelled

protected boolean cancelled
Constructor Detail

AWTDialog

public AWTDialog(java.awt.Frame parentFrame)
Method Detail

showDialog

protected void showDialog()

setCancelled

protected void setCancelled(boolean value)

setTitle

public void setTitle(java.lang.String titleStr)
Description copied from interface: XDialog
open the selection box and return a failure/ok code

Specified by:
setTitle in interface XDialog

setPrompt

public void setPrompt(java.lang.String promptStr)
Specified by:
setPrompt in interface XDialog

select

public int select()
Description copied from interface: XDialog
open the selection box and return a failure/ok code

Specified by:
select in interface XDialog


X-Smiles 1.2