public class FileDialog extends CommonItemDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.Win32.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: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: Microsoft.Win32.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 |
getCheckFileExists()
Gets the value of the .NET property CheckFileExists.
|
boolean |
getCheckPathExists()
Gets the value of the .NET property CheckPathExists.
|
java.lang.String |
getDefaultExt()
Gets the value of the .NET property DefaultExt.
|
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 |
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 |
getRestoreDirectory()
Gets the value of the .NET property RestoreDirectory.
|
java.lang.String |
getSafeFileName()
Gets the value of the .NET property SafeFileName.
|
java.lang.String[] |
getSafeFileNames()
Gets the value of the .NET property SafeFileNames.
|
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 |
setCheckFileExists(boolean CheckFileExists)
Sets the value of the .NET property CheckFileExists.
|
void |
setCheckPathExists(boolean CheckPathExists)
Sets the value of the .NET property CheckPathExists.
|
void |
setDefaultExt(java.lang.String DefaultExt)
Sets the value of the .NET property DefaultExt.
|
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 |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setRestoreDirectory(boolean RestoreDirectory)
Sets the value of the .NET property RestoreDirectory.
|
getAddToRecent, getClientGuid, getCustomPlaces, getDefaultDirectory, getDereferenceLinks, getInitialDirectory, getRootDirectory, getShowHiddenItems, getTitle, getValidateNames, setAddToRecent, setClientGuid, setCustomPlaces, setDefaultDirectory, setDereferenceLinks, setInitialDirectory, setRootDirectory, setShowHiddenItems, setTitle, setValidateNamesgetTag, setTag, ShowDialog, ShowDialogpublic 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 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 java.lang.String getDefaultExt()
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 getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CommonItemDialogpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CommonItemDialogpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CommonItemDialognull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CommonItemDialogpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class CommonItemDialogpublic boolean getRestoreDirectory()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getSafeFileName()
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String[] getSafeFileNames()
throws java.lang.Throwable,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic 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
Reset in class CommonItemDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 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 setDefaultExt(java.lang.String DefaultExt)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
OutOfMemoryException,
ExternalException,
IndexOutOfRangeException,
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 itCultureNotFoundException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
FormatException,
ArrayTypeMismatchException
Filter - 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 itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - 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 setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class CommonItemDialoginstance - the new underlying objectpublic 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 CLR