com.jniwrapper.win32.ui.dialogs
Class SelectFolderDialog.SelectFolderDialogOptions

java.lang.Object
  extended bycom.jniwrapper.util.FlagSet
      extended bycom.jniwrapper.win32.ui.dialogs.SelectFolderDialog.SelectFolderDialogOptions
Enclosing class:
SelectFolderDialog

public class SelectFolderDialog.SelectFolderDialogOptions
extends com.jniwrapper.util.FlagSet


Field Summary
static int BROWSEFORCOMPUTER
           
static int BROWSEFORPRINTER
           
static int BROWSEINCLUDEFILES
           
static int BROWSEINCLUDEURLS
           
static int DONTGOBELOWDOMAIN
           
static int EDITBOX
           
static int NEWDIALOGSTYLE
           
static int NONEWFOLDERBUTTON
           
static int RETURNFSANCESTORS
           
static int RETURNONLYFSDIRS
           
static int SHAREABLE
           
static int STATUSTEXT
           
static int VALIDATE
           
 
Constructor Summary
SelectFolderDialog.SelectFolderDialogOptions()
           
 
Method Summary
 boolean isNewDialogStyle()
           
 boolean isOnlyFilesystem()
          Returns only file system directories.
 boolean isSelectFiles()
           
 boolean isShowFiles()
           
 boolean isShowNetworkFolders()
           
 boolean isShowNewFolderButton()
           
 boolean isShowTextBox()
           
 void reset()
           
 void setNewDialogStyle(boolean newDialogStyle)
          Uses the new user interface.
 void setOnlyFileSystem(boolean onlyFileSystem)
           
 void setSelectFiles(boolean selectFiles)
          The browse dialog box will display files as well as folders.
 void setShowFiles(boolean showFiles)
          Shows files.
 void setShowNetworkFolders(boolean showNetworkFolders)
          Shows network folders.
 void setShowNewFolderButton(boolean showNewFolderButton)
          Does not include the New Folder button in the browse dialog box.
 void setShowTextBox(boolean showTextBox)
          Includes an edit control in the browse dialog box that allows the user to type the name of an item.
 
Methods inherited from class com.jniwrapper.util.FlagSet
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RETURNONLYFSDIRS

public static final int RETURNONLYFSDIRS
See Also:
Constant Field Values

DONTGOBELOWDOMAIN

public static final int DONTGOBELOWDOMAIN
See Also:
Constant Field Values

STATUSTEXT

public static final int STATUSTEXT
See Also:
Constant Field Values

RETURNFSANCESTORS

public static final int RETURNFSANCESTORS
See Also:
Constant Field Values

EDITBOX

public static final int EDITBOX
See Also:
Constant Field Values

VALIDATE

public static final int VALIDATE
See Also:
Constant Field Values

NEWDIALOGSTYLE

public static final int NEWDIALOGSTYLE
See Also:
Constant Field Values

BROWSEINCLUDEURLS

public static final int BROWSEINCLUDEURLS
See Also:
Constant Field Values

BROWSEFORCOMPUTER

public static final int BROWSEFORCOMPUTER
See Also:
Constant Field Values

BROWSEFORPRINTER

public static final int BROWSEFORPRINTER
See Also:
Constant Field Values

BROWSEINCLUDEFILES

public static final int BROWSEINCLUDEFILES
See Also:
Constant Field Values

SHAREABLE

public static final int SHAREABLE
See Also:
Constant Field Values

NONEWFOLDERBUTTON

public static final int NONEWFOLDERBUTTON
See Also:
Constant Field Values
Constructor Detail

SelectFolderDialog.SelectFolderDialogOptions

public SelectFolderDialog.SelectFolderDialogOptions()
Method Detail

reset

public void reset()

isOnlyFilesystem

public boolean isOnlyFilesystem()
Returns only file system directories. If the user selects folders that are not part of the file system, the OK button is unavailable.

Returns:
boolean

setOnlyFileSystem

public void setOnlyFileSystem(boolean onlyFileSystem)

isNewDialogStyle

public boolean isNewDialogStyle()
Returns:
if the dialog box is set to use a new dialog style.

setNewDialogStyle

public void setNewDialogStyle(boolean newDialogStyle)
Uses the new user interface. Setting this flag provides the user with a larger dialog box that can be resized.

Parameters:
newDialogStyle -

isSelectFiles

public boolean isSelectFiles()
Returns:
true, if the dialog box is set to display files as well as folders.

setSelectFiles

public void setSelectFiles(boolean selectFiles)
The browse dialog box will display files as well as folders.

Parameters:
selectFiles -

isShowTextBox

public boolean isShowTextBox()
Returns:
true, if the dialog is set to include text control.

setShowTextBox

public void setShowTextBox(boolean showTextBox)
Includes an edit control in the browse dialog box that allows the user to type the name of an item.

Parameters:
showTextBox -

isShowNewFolderButton

public boolean isShowNewFolderButton()
Returns:
true, if the dialog box is set to exclude the New Folder button.

setShowNewFolderButton

public void setShowNewFolderButton(boolean showNewFolderButton)
Does not include the New Folder button in the browse dialog box.

Parameters:
showNewFolderButton -

isShowNetworkFolders

public boolean isShowNetworkFolders()
Returns:
true, if the dialog box is set to show a network folder.

setShowNetworkFolders

public void setShowNetworkFolders(boolean showNetworkFolders)
Shows network folders.

Parameters:
showNetworkFolders -

isShowFiles

public boolean isShowFiles()
Returns:
true, if the dialog box is specified to show files.

setShowFiles

public void setShowFiles(boolean showFiles)
Shows files.

Parameters:
showFiles -