|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchrriis.dj.nativeswing.swtimpl.components.JDirectoryDialog
public class JDirectoryDialog
A native directory selection dialog.
| Constructor Summary | |
|---|---|
JDirectoryDialog()
|
|
| Method Summary | |
|---|---|
String |
getMessage()
Get the message that is shown to the user to describe the purpose of this directory selection. |
String |
getSelectedDirectory()
Get the directory that was selected or that should be selected when the dialog is shown. |
String |
getTitle()
Get the title of the file dialog. |
void |
setMessage(String message)
Set the message that is shown to the user to describe the purpose of this directory selection. |
void |
setSelectedDirectory(String selectedDirectory)
Set the directory that should be selected when the dialog is shown. |
void |
setTitle(String title)
Set the title of the file dialog. |
void |
show(Component component)
Show the directory selection dialog, which is a blocking call until the user has made a choice. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDirectoryDialog()
| Method Detail |
|---|
public void show(Component component)
component - The parent component.public String getSelectedDirectory()
public void setSelectedDirectory(String selectedDirectory)
selectedDirectory - the directory that should be selected.public void setTitle(String title)
title - the title to set or null to use the default title.public String getTitle()
public void setMessage(String message)
message - the message to show.public String getMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||