Package microsoft.win32
Class FileDialog
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.win32.CommonDialog
-
- microsoft.win32.FileDialog
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
OpenFileDialog
,SaveFileDialog
public class FileDialog extends CommonDialog
The base .NET class managing Microsoft.Win32.FileDialog, PresentationFramework, Version=4.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.String
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationFrameworkstatic java.lang.String
className
Qualified class name: Microsoft.Win32.FileDialogstatic JCType
classType
The 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 void
addFileOk(CancelEventHandler handler)
static FileDialog
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoFileDialog
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
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)
-
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=4.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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classCommonDialog
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classCommonDialog
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classCommonDialog
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classCommonDialog
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classCommonDialog
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classCommonDialog
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static FileDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoFileDialog
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
FileDialog
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Reset
public void Reset() throws java.lang.Throwable, ArgumentException
- Overrides:
Reset
in classCommonDialog
- Throws:
java.lang.Throwable
ArgumentException
-
getAddExtension
public boolean getAddExtension() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAddExtension
public void setAddExtension(boolean AddExtension) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getCheckFileExists
public boolean getCheckFileExists() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCheckFileExists
public void setCheckFileExists(boolean CheckFileExists) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getCheckPathExists
public boolean getCheckPathExists() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCheckPathExists
public void setCheckPathExists(boolean CheckPathExists) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getDereferenceLinks
public boolean getDereferenceLinks() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDereferenceLinks
public void setDereferenceLinks(boolean DereferenceLinks) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getRestoreDirectory
public boolean getRestoreDirectory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRestoreDirectory
public void setRestoreDirectory(boolean RestoreDirectory) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getValidateNames
public boolean getValidateNames() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValidateNames
public void setValidateNames(boolean ValidateNames) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
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, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException
-
getFileName
public java.lang.String getFileName() throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
setFileName
public void setFileName(java.lang.String FileName) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
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, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException
-
getInitialDirectory
public java.lang.String getInitialDirectory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInitialDirectory
public void setInitialDirectory(java.lang.String InitialDirectory) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getSafeFileName
public java.lang.String getSafeFileName() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
-
getTitle
public java.lang.String getTitle() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTitle
public void setTitle(java.lang.String Title) throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getFileNames
public java.lang.String[] getFileNames() throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getSafeFileNames
public java.lang.String[] getSafeFileNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
-
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
-
-