public class FileDialog extends CommonDialog
.NET documentation at https://docs.microsoft.com/en-us/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=4.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) |
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() |
boolean |
getCheckFileExists() |
boolean |
getCheckPathExists() |
java.lang.String |
getDefaultExt() |
boolean |
getDereferenceLinks() |
java.lang.String |
getFileName() |
java.lang.String[] |
getFileNames() |
java.lang.String |
getFilter() |
int |
getFilterIndex() |
java.lang.String |
getInitialDirectory() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getRestoreDirectory() |
java.lang.String |
getSafeFileName() |
java.lang.String[] |
getSafeFileNames() |
java.lang.String |
getTitle() |
boolean |
getValidateNames() |
void |
removeFileOk(CancelEventHandler handler) |
void |
Reset() |
void |
setAddExtension(boolean AddExtension) |
void |
setCheckFileExists(boolean CheckFileExists) |
void |
setCheckPathExists(boolean CheckPathExists) |
void |
setDefaultExt(java.lang.String DefaultExt) |
void |
setDereferenceLinks(boolean DereferenceLinks) |
void |
setFileName(java.lang.String FileName) |
void |
setFilter(java.lang.String Filter) |
void |
setFilterIndex(int FilterIndex) |
void |
setInitialDirectory(java.lang.String InitialDirectory) |
void |
setJCOInstance(JCObject instance) |
void |
setRestoreDirectory(boolean RestoreDirectory) |
void |
setTitle(java.lang.String Title) |
void |
setValidateNames(boolean ValidateNames) |
getTag, setTagpublic 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
java.lang.Throwablepublic void addFileOk(CancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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.Throwablepublic boolean getCheckFileExists()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getCheckPathExists()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getDefaultExt()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getDereferenceLinks()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getFileName()
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic java.lang.String[] getFileNames()
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic java.lang.String getFilter()
throws java.lang.Throwable
java.lang.Throwablepublic int getFilterIndex()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getInitialDirectory()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CommonDialogString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CommonDialogString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CommonDialogObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CommonDialogString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CommonDialogJCType representing the CLR Type of the instantiated Classpublic boolean getRestoreDirectory()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getSafeFileName()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic java.lang.String[] getSafeFileNames()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic java.lang.String getTitle()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getValidateNames()
throws java.lang.Throwable
java.lang.Throwablepublic void removeFileOk(CancelEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void Reset()
throws java.lang.Throwable,
ArgumentException
Reset in class CommonDialogjava.lang.ThrowableArgumentExceptionpublic void setAddExtension(boolean AddExtension)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setCheckFileExists(boolean CheckFileExists)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setCheckPathExists(boolean CheckPathExists)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setDefaultExt(java.lang.String DefaultExt)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException,
ArgumentOutOfRangeException
public void setDereferenceLinks(boolean DereferenceLinks)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setFileName(java.lang.String FileName)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setFilter(java.lang.String Filter)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public void setFilterIndex(int FilterIndex)
throws java.lang.Throwable
java.lang.Throwablepublic void setInitialDirectory(java.lang.String InitialDirectory)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class CommonDialogpublic void setRestoreDirectory(boolean RestoreDirectory)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setTitle(java.lang.String Title)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setValidateNames(boolean ValidateNames)
throws java.lang.Throwable,
ArgumentException
java.lang.ThrowableArgumentException