hades.gui
Interface SelectURLDialog

All Known Implementing Classes:
AWTSelectURLDialog, JSelectURLDialog

public interface SelectURLDialog

a modal dialog to select (type-in) a URL or to choose a File. Use the getFilename() method to retrieve the filename selected by the user, which may be null if the user canceled the dialog.


Field Summary
static int CANCELED
           
static int SELECT_FILE_INSTEAD
           
static int URL_SELECTED
           
 
Method Summary
 java.awt.Dialog getDialog()
           
 int getStatus()
           
 java.lang.String getUrlName()
           
 void setSelectFileEnabled(boolean b)
           
 void setUrlName(java.lang.String s)
           
 void setVisible(boolean b)
           
 void show()
           
 

Field Detail

CANCELED

public static final int CANCELED
See Also:
Constant Field Values

URL_SELECTED

public static final int URL_SELECTED
See Also:
Constant Field Values

SELECT_FILE_INSTEAD

public static final int SELECT_FILE_INSTEAD
See Also:
Constant Field Values
Method Detail

getDialog

public java.awt.Dialog getDialog()

show

public void show()

setVisible

public void setVisible(boolean b)

setSelectFileEnabled

public void setSelectFileEnabled(boolean b)

setUrlName

public void setUrlName(java.lang.String s)

getUrlName

public java.lang.String getUrlName()

getStatus

public int getStatus()