public class FileDialog extends CommonDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.FileDialog
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.FileDialog
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
FileDialog() |
FileDialog(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFileOk(CancelEventHandler handler)
Invokes the .NET member addFileOk.
|
static FileDialog |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into FileDialog, a cast assert is made to check if types are compatible. |
boolean |
getAddExtension()
Gets the value of the .NET property AddExtension.
|
boolean |
getAddToRecent()
Gets the value of the .NET property AddToRecent.
|
boolean |
getAutoUpgradeEnabled()
Gets the value of the .NET property AutoUpgradeEnabled.
|
boolean |
getCheckFileExists()
Gets the value of the .NET property CheckFileExists.
|
boolean |
getCheckPathExists()
Gets the value of the .NET property CheckPathExists.
|
Nullable_1 |
getClientGuid()
Gets the value of the .NET property ClientGuid.
|
FileDialogCustomPlacesCollection |
getCustomPlaces()
Gets the value of the .NET property CustomPlaces.
|
java.lang.String |
getDefaultExt()
Gets the value of the .NET property DefaultExt.
|
boolean |
getDereferenceLinks()
Gets the value of the .NET property DereferenceLinks.
|
java.lang.String |
getFileName()
Gets the value of the .NET property FileName.
|
java.lang.String[] |
getFileNames()
Gets the value of the .NET property FileNames.
|
java.lang.String |
getFilter()
Gets the value of the .NET property Filter.
|
int |
getFilterIndex()
Gets the value of the .NET property FilterIndex.
|
java.lang.String |
getInitialDirectory()
Gets the value of the .NET property InitialDirectory.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getOkRequiresInteraction()
Gets the value of the .NET property OkRequiresInteraction.
|
boolean |
getRestoreDirectory()
Gets the value of the .NET property RestoreDirectory.
|
boolean |
getShowHelp()
Gets the value of the .NET property ShowHelp.
|
boolean |
getShowHiddenFiles()
Gets the value of the .NET property ShowHiddenFiles.
|
boolean |
getShowPinnedPlaces()
Gets the value of the .NET property ShowPinnedPlaces.
|
boolean |
getSupportMultiDottedExtensions()
Gets the value of the .NET property SupportMultiDottedExtensions.
|
java.lang.String |
getTitle()
Gets the value of the .NET property Title.
|
boolean |
getValidateNames()
Gets the value of the .NET property ValidateNames.
|
void |
removeFileOk(CancelEventHandler handler)
Invokes the .NET member removeFileOk.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setAddExtension(boolean AddExtension)
Sets the value of the .NET property AddExtension.
|
void |
setAddToRecent(boolean AddToRecent)
Sets the value of the .NET property AddToRecent.
|
void |
setAutoUpgradeEnabled(boolean AutoUpgradeEnabled)
Sets the value of the .NET property AutoUpgradeEnabled.
|
void |
setCheckFileExists(boolean CheckFileExists)
Sets the value of the .NET property CheckFileExists.
|
void |
setCheckPathExists(boolean CheckPathExists)
Sets the value of the .NET property CheckPathExists.
|
void |
setClientGuid(Nullable_1 ClientGuid)
Sets the value of the .NET property ClientGuid.
|
void |
setDefaultExt(java.lang.String DefaultExt)
Sets the value of the .NET property DefaultExt.
|
void |
setDereferenceLinks(boolean DereferenceLinks)
Sets the value of the .NET property DereferenceLinks.
|
void |
setFileName(java.lang.String FileName)
Sets the value of the .NET property FileName.
|
void |
setFilter(java.lang.String Filter)
Sets the value of the .NET property Filter.
|
void |
setFilterIndex(int FilterIndex)
Sets the value of the .NET property FilterIndex.
|
void |
setInitialDirectory(java.lang.String InitialDirectory)
Sets the value of the .NET property InitialDirectory.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setOkRequiresInteraction(boolean OkRequiresInteraction)
Sets the value of the .NET property OkRequiresInteraction.
|
void |
setRestoreDirectory(boolean RestoreDirectory)
Sets the value of the .NET property RestoreDirectory.
|
void |
setShowHelp(boolean ShowHelp)
Sets the value of the .NET property ShowHelp.
|
void |
setShowHiddenFiles(boolean ShowHiddenFiles)
Sets the value of the .NET property ShowHiddenFiles.
|
void |
setShowPinnedPlaces(boolean ShowPinnedPlaces)
Sets the value of the .NET property ShowPinnedPlaces.
|
void |
setSupportMultiDottedExtensions(boolean SupportMultiDottedExtensions)
Sets the value of the .NET property SupportMultiDottedExtensions.
|
void |
setTitle(java.lang.String Title)
Sets the value of the .NET property Title.
|
void |
setValidateNames(boolean ValidateNames)
Sets the value of the .NET property ValidateNames.
|
addHelpRequest, getTag, removeHelpRequest, setTag, ShowDialog, ShowDialogaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public FileDialog()
throws java.lang.Throwable
java.lang.Throwablepublic FileDialog(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addFileOk(CancelEventHandler handler) throws java.lang.Throwable
handler - the argument of type CancelEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static FileDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into FileDialog, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedFileDialog instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAddExtension()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAddToRecent()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAutoUpgradeEnabled()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCheckFileExists()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getCheckPathExists()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getClientGuid() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic FileDialogCustomPlacesCollection getCustomPlaces() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDefaultExt()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getDereferenceLinks()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getFileName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String[] getFileNames()
throws java.lang.Throwable,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String getFilter()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getFilterIndex()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getInitialDirectory()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CommonDialogpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CommonDialogpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CommonDialognull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CommonDialogpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class CommonDialogpublic boolean getOkRequiresInteraction()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getRestoreDirectory()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowHelp()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowHiddenFiles()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowPinnedPlaces()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getSupportMultiDottedExtensions()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getTitle()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getValidateNames()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeFileOk(CancelEventHandler handler) throws java.lang.Throwable
handler - the argument of type CancelEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Reset()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
Reset in class CommonDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setAddExtension(boolean AddExtension)
throws java.lang.Throwable
AddExtension - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAddToRecent(boolean AddToRecent)
throws java.lang.Throwable
AddToRecent - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAutoUpgradeEnabled(boolean AutoUpgradeEnabled)
throws java.lang.Throwable
AutoUpgradeEnabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCheckFileExists(boolean CheckFileExists)
throws java.lang.Throwable
CheckFileExists - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setCheckPathExists(boolean CheckPathExists)
throws java.lang.Throwable
CheckPathExists - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setClientGuid(Nullable_1 ClientGuid) throws java.lang.Throwable
ClientGuid - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDefaultExt(java.lang.String DefaultExt)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
FormatException
DefaultExt - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setDereferenceLinks(boolean DereferenceLinks)
throws java.lang.Throwable
DereferenceLinks - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFileName(java.lang.String FileName)
throws java.lang.Throwable
FileName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFilter(java.lang.String Filter)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
ArrayTypeMismatchException
Filter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setFilterIndex(int FilterIndex)
throws java.lang.Throwable
FilterIndex - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setInitialDirectory(java.lang.String InitialDirectory)
throws java.lang.Throwable
InitialDirectory - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class CommonDialoginstance - the new underlying objectpublic void setOkRequiresInteraction(boolean OkRequiresInteraction)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
OkRequiresInteraction - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setRestoreDirectory(boolean RestoreDirectory)
throws java.lang.Throwable
RestoreDirectory - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowHelp(boolean ShowHelp)
throws java.lang.Throwable
ShowHelp - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowHiddenFiles(boolean ShowHiddenFiles)
throws java.lang.Throwable
ShowHiddenFiles - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowPinnedPlaces(boolean ShowPinnedPlaces)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
ShowPinnedPlaces - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setSupportMultiDottedExtensions(boolean SupportMultiDottedExtensions)
throws java.lang.Throwable
SupportMultiDottedExtensions - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTitle(java.lang.String Title)
throws java.lang.Throwable
Title - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setValidateNames(boolean ValidateNames)
throws java.lang.Throwable
ValidateNames - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR