Package microsoft.win32
Class FileDialog
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.win32.CommonDialog
-
- microsoft.win32.CommonItemDialog
-
- microsoft.win32.FileDialog
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
OpenFileDialog,SaveFileDialog
public class FileDialog extends CommonItemDialog
The base .NET class managing Microsoft.Win32.FileDialog, PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Win32.FileDialog
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: Microsoft.Win32.FileDialogstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FileDialog()FileDialog(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFileOk(CancelEventHandler handler)static FileDialogcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoFileDialog, a cast assert is made to check if types are compatible.booleangetAddExtension()booleangetCheckFileExists()booleangetCheckPathExists()java.lang.StringgetDefaultExt()java.lang.StringgetFileName()java.lang.String[]getFileNames()java.lang.StringgetFilter()intgetFilterIndex()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypebooleangetRestoreDirectory()java.lang.StringgetSafeFileName()java.lang.String[]getSafeFileNames()voidremoveFileOk(CancelEventHandler handler)voidReset()voidsetAddExtension(boolean AddExtension)voidsetCheckFileExists(boolean CheckFileExists)voidsetCheckPathExists(boolean CheckPathExists)voidsetDefaultExt(java.lang.String DefaultExt)voidsetFileName(java.lang.String FileName)voidsetFilter(java.lang.String Filter)voidsetFilterIndex(int FilterIndex)voidsetJCOInstance(JCObject instance)voidsetRestoreDirectory(boolean RestoreDirectory)-
Methods inherited from class microsoft.win32.CommonItemDialog
getAddToRecent, getDefaultDirectory, getDereferenceLinks, getInitialDirectory, getRootDirectory, getShowHiddenItems, getTitle, getValidateNames, setAddToRecent, setDefaultDirectory, setDereferenceLinks, setInitialDirectory, setRootDirectory, setShowHiddenItems, setTitle, setValidateNames
-
Methods inherited from class microsoft.win32.CommonDialog
getTag, setTag
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Win32.FileDialog- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classCommonItemDialog- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classCommonItemDialog- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classCommonItemDialog- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classCommonItemDialog- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classCommonItemDialog
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classCommonItemDialog- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static FileDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoFileDialog, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
FileDialoginstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Reset
public void Reset() throws java.lang.Throwable- Overrides:
Resetin classCommonItemDialog- Throws:
java.lang.Throwable
-
getAddExtension
public boolean getAddExtension() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAddExtension
public void setAddExtension(boolean AddExtension) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCheckFileExists
public boolean getCheckFileExists() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCheckFileExists
public void setCheckFileExists(boolean CheckFileExists) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCheckPathExists
public boolean getCheckPathExists() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setCheckPathExists
public void setCheckPathExists(boolean CheckPathExists) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getRestoreDirectory
public boolean getRestoreDirectory() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRestoreDirectory
public void setRestoreDirectory(boolean RestoreDirectory) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFilterIndex
public int getFilterIndex() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFilterIndex
public void setFilterIndex(int FilterIndex) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDefaultExt
public java.lang.String getDefaultExt() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setDefaultExt
public void setDefaultExt(java.lang.String DefaultExt) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeExceptionFormatException
-
getFileName
public java.lang.String getFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFileName
public void setFileName(java.lang.String FileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFilter
public java.lang.String getFilter() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFilter
public void setFilter(java.lang.String Filter) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException
-
getSafeFileName
public java.lang.String getSafeFileName() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedException
-
getFileNames
public java.lang.String[] getFileNames() throws java.lang.Throwable, PlatformNotSupportedException- Throws:
java.lang.ThrowablePlatformNotSupportedException
-
getSafeFileNames
public java.lang.String[] getSafeFileNames() throws java.lang.Throwable, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionNotSupportedException
-
addFileOk
public void addFileOk(CancelEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeFileOk
public void removeFileOk(CancelEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-