com.jniwrapper.win32.ui.dialogs
Class OpenSaveFileDialog.OpenSaveFileDialogOptions

java.lang.Object
  extended by com.jniwrapper.util.FlagSet
      extended by com.jniwrapper.win32.ui.dialogs.OpenSaveFileDialog.OpenSaveFileDialogOptions
Enclosing class:
OpenSaveFileDialog

public class OpenSaveFileDialog.OpenSaveFileDialogOptions
extends com.jniwrapper.util.FlagSet


Field Summary
static int ALLOWMULTISELECT
           
static int CREATEPROMPT
           
static int DONTADDTORECENT
           
static int ENABLEHOOK
           
static int ENABLEINCLUDENOTIFY
           
static int ENABLESIZING
           
static int ENABLETEMPLATE
           
static int ENABLETEMPLATEHANDLE
           
static int EXPLORER
           
static int EXTENSIONDIFFERENT
           
static int FILEMUSTEXIST
           
static int FORCESHOWHIDDEN
           
static int HIDEREADONLY
           
static int LONGNAMES
           
static int NOCHANGEDIR
           
static int NODEREFERENCELINKS
           
static int NOLONGNAMES
           
static int NONETWORKBUTTON
           
static int NOREADONLYRETURN
           
static int NOTESTFILECREATE
           
static int NOVALIDATE
           
static int OVERWRITEPROMPT
           
static int PATHMUSTEXIST
           
static int READONLY
           
static int SHAREAWARE
           
static int SHOWHELP
           
 
Constructor Summary
OpenSaveFileDialog.OpenSaveFileDialogOptions()
           
 
Method Summary
 boolean isHideReadOnly()
           
 boolean isMultiselectionAllowed()
           
 boolean isShowExplorer()
           
 boolean isShowHelp()
           
 boolean isShowHiddenFiles()
           
 boolean isShowOverwritePrompt()
           
 boolean isSizingEnabled()
           
 void reset()
           
 void setHideReadOnly(boolean hideReadOnly)
          Sets the dialog to show or hide read-only check box.
 void setMultiselectionAllowed(boolean multiselectionAllowed)
          Sets the dialog to allow multiple file selections.
 void setShowExplorer(boolean showExplorer)
          If true, the explorer will be shown.
 void setShowHelp(boolean showHelp)
          If true, the help button in the system menu will be shown.
 void setShowHiddenFiles(boolean showHiddenFiles)
          Sets the dialog to show hidden files.
 void setShowOverwritePrompt(boolean showOverwritePrompt)
          If true, causes the Save As dialog box to generate a message box if the selected file already exists.
 void setSizingEnabled(boolean sizingEnabled)
          Sets the dialog to enable sizing.
 
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

READONLY

public static final int READONLY
See Also:
Constant Field Values

OVERWRITEPROMPT

public static final int OVERWRITEPROMPT
See Also:
Constant Field Values

HIDEREADONLY

public static final int HIDEREADONLY
See Also:
Constant Field Values

NOCHANGEDIR

public static final int NOCHANGEDIR
See Also:
Constant Field Values

SHOWHELP

public static final int SHOWHELP
See Also:
Constant Field Values

ENABLEHOOK

public static final int ENABLEHOOK
See Also:
Constant Field Values

ENABLETEMPLATE

public static final int ENABLETEMPLATE
See Also:
Constant Field Values

ENABLETEMPLATEHANDLE

public static final int ENABLETEMPLATEHANDLE
See Also:
Constant Field Values

NOVALIDATE

public static final int NOVALIDATE
See Also:
Constant Field Values

ALLOWMULTISELECT

public static final int ALLOWMULTISELECT
See Also:
Constant Field Values

EXTENSIONDIFFERENT

public static final int EXTENSIONDIFFERENT
See Also:
Constant Field Values

PATHMUSTEXIST

public static final int PATHMUSTEXIST
See Also:
Constant Field Values

FILEMUSTEXIST

public static final int FILEMUSTEXIST
See Also:
Constant Field Values

CREATEPROMPT

public static final int CREATEPROMPT
See Also:
Constant Field Values

SHAREAWARE

public static final int SHAREAWARE
See Also:
Constant Field Values

NOREADONLYRETURN

public static final int NOREADONLYRETURN
See Also:
Constant Field Values

NOTESTFILECREATE

public static final int NOTESTFILECREATE
See Also:
Constant Field Values

NONETWORKBUTTON

public static final int NONETWORKBUTTON
See Also:
Constant Field Values

NOLONGNAMES

public static final int NOLONGNAMES
See Also:
Constant Field Values

EXPLORER

public static final int EXPLORER
See Also:
Constant Field Values

NODEREFERENCELINKS

public static final int NODEREFERENCELINKS
See Also:
Constant Field Values

LONGNAMES

public static final int LONGNAMES
See Also:
Constant Field Values

ENABLEINCLUDENOTIFY

public static final int ENABLEINCLUDENOTIFY
See Also:
Constant Field Values

ENABLESIZING

public static final int ENABLESIZING
See Also:
Constant Field Values

DONTADDTORECENT

public static final int DONTADDTORECENT
See Also:
Constant Field Values

FORCESHOWHIDDEN

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

OpenSaveFileDialog.OpenSaveFileDialogOptions

public OpenSaveFileDialog.OpenSaveFileDialogOptions()
Method Detail

reset

public void reset()

isMultiselectionAllowed

public boolean isMultiselectionAllowed()
Returns:
true if multiple files can be selected.

setMultiselectionAllowed

public void setMultiselectionAllowed(boolean multiselectionAllowed)
Sets the dialog to allow multiple file selections.

Parameters:
multiselectionAllowed -

isHideReadOnly

public boolean isHideReadOnly()
Returns:
true if the dialog is set to hide read-only check box.

setHideReadOnly

public void setHideReadOnly(boolean hideReadOnly)
Sets the dialog to show or hide read-only check box.

Parameters:
hideReadOnly -

isShowHiddenFiles

public boolean isShowHiddenFiles()
Returns:
true if the dialog is set to hide hidden files.

setShowHiddenFiles

public void setShowHiddenFiles(boolean showHiddenFiles)
Sets the dialog to show hidden files.

Parameters:
showHiddenFiles -

isSizingEnabled

public boolean isSizingEnabled()
Returns:
true if dialog sizing is enabled.

setSizingEnabled

public void setSizingEnabled(boolean sizingEnabled)
Sets the dialog to enable sizing.

Parameters:
sizingEnabled -

isShowOverwritePrompt

public boolean isShowOverwritePrompt()
Returns:
true if the dialog is set to show the overwrite prompt.

setShowOverwritePrompt

public void setShowOverwritePrompt(boolean showOverwritePrompt)
If true, causes the Save As dialog box to generate a message box if the selected file already exists. The user must confirm whether to overwrite the file.

Parameters:
showOverwritePrompt -

isShowExplorer

public boolean isShowExplorer()
Returns:
true if the dialog is set to show the explorer.

setShowExplorer

public void setShowExplorer(boolean showExplorer)
If true, the explorer will be shown.

Parameters:
showExplorer -

isShowHelp

public boolean isShowHelp()
Returns:
true if the dialog is set to show help button in the system menu.

setShowHelp

public void setShowHelp(boolean showHelp)
If true, the help button in the system menu will be shown.

Parameters:
showHelp -