public class FileDialog extends CommonDialog
.NET documentation at https://docs.microsoft.com/en-us/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=9.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) |
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 |
getAddToRecent() |
boolean |
getAutoUpgradeEnabled() |
boolean |
getCheckFileExists() |
boolean |
getCheckPathExists() |
FileDialogCustomPlacesCollection |
getCustomPlaces() |
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 |
getOkRequiresInteraction() |
boolean |
getRestoreDirectory() |
boolean |
getShowHelp() |
boolean |
getShowHiddenFiles() |
boolean |
getShowPinnedPlaces() |
boolean |
getSupportMultiDottedExtensions() |
java.lang.String |
getTitle() |
boolean |
getValidateNames() |
void |
removeFileOk(CancelEventHandler handler) |
void |
Reset() |
void |
setAddExtension(boolean AddExtension) |
void |
setAddToRecent(boolean AddToRecent) |
void |
setAutoUpgradeEnabled(boolean AutoUpgradeEnabled) |
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 |
setOkRequiresInteraction(boolean OkRequiresInteraction) |
void |
setRestoreDirectory(boolean RestoreDirectory) |
void |
setShowHelp(boolean ShowHelp) |
void |
setShowHiddenFiles(boolean ShowHiddenFiles) |
void |
setShowPinnedPlaces(boolean ShowPinnedPlaces) |
void |
setSupportMultiDottedExtensions(boolean SupportMultiDottedExtensions) |
void |
setTitle(java.lang.String Title) |
void |
setValidateNames(boolean 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
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 getAddToRecent()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getAutoUpgradeEnabled()
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 FileDialogCustomPlacesCollection getCustomPlaces() 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
java.lang.Throwablepublic java.lang.String[] getFileNames()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic 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 getOkRequiresInteraction()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
public boolean getRestoreDirectory()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getShowHelp()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getShowHiddenFiles()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getShowPinnedPlaces()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
public boolean getSupportMultiDottedExtensions()
throws java.lang.Throwable
java.lang.Throwablepublic 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,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
Reset in class CommonDialogjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionpublic void setAddExtension(boolean AddExtension)
throws java.lang.Throwable
java.lang.Throwablepublic void setAddToRecent(boolean AddToRecent)
throws java.lang.Throwable
java.lang.Throwablepublic void setAutoUpgradeEnabled(boolean AutoUpgradeEnabled)
throws java.lang.Throwable
java.lang.Throwablepublic void setCheckFileExists(boolean CheckFileExists)
throws java.lang.Throwable
java.lang.Throwablepublic void setCheckPathExists(boolean CheckPathExists)
throws java.lang.Throwable
java.lang.Throwablepublic void setDefaultExt(java.lang.String DefaultExt)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
public void setDereferenceLinks(boolean DereferenceLinks)
throws java.lang.Throwable
java.lang.Throwablepublic void setFileName(java.lang.String FileName)
throws java.lang.Throwable
java.lang.Throwablepublic void setFilter(java.lang.String Filter)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionpublic void setFilterIndex(int FilterIndex)
throws java.lang.Throwable
java.lang.Throwablepublic void setInitialDirectory(java.lang.String InitialDirectory)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class CommonDialogpublic void setOkRequiresInteraction(boolean OkRequiresInteraction)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public void setRestoreDirectory(boolean RestoreDirectory)
throws java.lang.Throwable
java.lang.Throwablepublic void setShowHelp(boolean ShowHelp)
throws java.lang.Throwable
java.lang.Throwablepublic void setShowHiddenFiles(boolean ShowHiddenFiles)
throws java.lang.Throwable
java.lang.Throwablepublic void setShowPinnedPlaces(boolean ShowPinnedPlaces)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public void setSupportMultiDottedExtensions(boolean SupportMultiDottedExtensions)
throws java.lang.Throwable
java.lang.Throwablepublic void setTitle(java.lang.String Title)
throws java.lang.Throwable
java.lang.Throwablepublic void setValidateNames(boolean ValidateNames)
throws java.lang.Throwable
java.lang.Throwable