public class SelectFolder
extends java.lang.Object
Constructor and Description |
---|
SelectFolder(int textLength) |
SelectFolder(java.lang.String borderLabel,
int textLength) |
SelectFolder(java.lang.String borderLabel,
int textLength,
boolean showSubFolderOption) |
Modifier and Type | Method and Description |
---|---|
void |
addFolderChangeListener(FolderChangeListener folderChangeListener)
Add a folder change listener to receive notification if the
browse button was used to select a new folder.
|
void |
createPanel(java.lang.String borderLabel,
int textLength) |
java.lang.String |
getFolderName(boolean checkPath)
Get the folder name and optionally check and create the
path for data storage.
|
PamUtils.SelectFolder.FolderPanel |
getFolderPanel() |
boolean |
isIncludeSubFolders()
Get the state of the sub folder check box.
|
void |
removeFolderChangeListener(FolderChangeListener folderChangeListener)
Remove a folder change listener
|
void |
setEnabled(boolean enable) |
void |
setFolderName(java.lang.String folderName) |
void |
setIncludeSubFolders(boolean includeSubfolders)
Set the state of the sub folder check box.
|
void |
setSubFolderButtonName(java.lang.String buttonName)
Set the name for the "Include Sub folders" checkbox
|
void |
setSubFolderButtonToolTip(java.lang.String tipText)
Set the name for the "Include Sub folders" checkbox
|
void |
setTextLength(int textLength) |
public SelectFolder(java.lang.String borderLabel, int textLength, boolean showSubFolderOption)
public SelectFolder(java.lang.String borderLabel, int textLength)
public SelectFolder(int textLength)
public void createPanel(java.lang.String borderLabel, int textLength)
public void setEnabled(boolean enable)
public void setIncludeSubFolders(boolean includeSubfolders)
includeSubfolders
- true to check the box.public boolean isIncludeSubFolders()
public void addFolderChangeListener(FolderChangeListener folderChangeListener)
folderChangeListener
- change listenerpublic void removeFolderChangeListener(FolderChangeListener folderChangeListener)
folderChangeListener
- public java.lang.String getFolderName(boolean checkPath)
checkPath
- set true to check / create the storage path.public void setFolderName(java.lang.String folderName)
public PamUtils.SelectFolder.FolderPanel getFolderPanel()
public void setSubFolderButtonName(java.lang.String buttonName)
buttonName
- new name for the checkbox.public void setSubFolderButtonToolTip(java.lang.String tipText)
buttonName
- new name for the checkbox.public void setTextLength(int textLength)