|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gui.JDirectoryDialog
Constructor Summary | |
JDirectoryDialog(javax.swing.JFrame parent)
JDirectoryDialog constructor accepts parent JFrame as argument. |
Method Summary | |
java.io.File |
getSelectedFolder()
Method may be used to derive the selected Folder. |
void |
setApproveButtonMnemonic(char c)
This method is used to set the mnemonic key of approve button. |
void |
setApproveButtonText(java.lang.String text)
This method is used to set the text of approve button. |
void |
setCancelButtonMnemonic(char c)
This method is used to set the mnemonic key of cancel button. |
void |
setCancelButtonText(java.lang.String text)
This method is used to set the text of cancel button. |
void |
setMessage(java.lang.String message)
This method is used to set the message in JDirectoryDialog. |
void |
setTitle(java.lang.String title)
This method is used to set the title of current JDirectoryDialog. |
boolean |
showDirectoryDialog()
Method is called to make directory dialog visible. |
void |
showHiddenFolders(boolean showHidden)
This method is used to set the visibility of hidden folders. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDirectoryDialog(javax.swing.JFrame parent)
parent
- - JFrame or null.Method Detail |
public java.io.File getSelectedFolder()
public void setApproveButtonMnemonic(char c)
c
- new mnemonic character.public void setApproveButtonText(java.lang.String text)
text
- String Object containing button textpublic void setCancelButtonMnemonic(char c)
c
- new mnemonic character.public void setCancelButtonText(java.lang.String text)
text
- String Object containing button textpublic void setMessage(java.lang.String message)
message
- String Object containg message.public void setTitle(java.lang.String title)
title
- The title of the dialog.public boolean showDirectoryDialog()
public void showHiddenFolders(boolean showHidden)
showHidden
- true if you want to show hidden folders.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |