Package microsoft.win32
Class OpenFileDialog
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.win32.CommonDialog
-
- microsoft.win32.CommonItemDialog
-
- microsoft.win32.FileDialog
-
- microsoft.win32.OpenFileDialog
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class OpenFileDialog extends FileDialog
The base .NET class managing Microsoft.Win32.OpenFileDialog, PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Win32.OpenFileDialog
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=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: Microsoft.Win32.OpenFileDialogstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OpenFileDialog()OpenFileDialog(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenFileDialogcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoOpenFileDialog, a cast assert is made to check if types are compatible.booleangetForcePreviewPane()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 TypebooleangetMultiselect()booleangetReadOnlyChecked()booleangetShowReadOnly()StreamOpenFile()Stream[]OpenFiles()voidReset()voidsetForcePreviewPane(boolean ForcePreviewPane)voidsetJCOInstance(JCObject instance)voidsetMultiselect(boolean Multiselect)voidsetReadOnlyChecked(boolean ReadOnlyChecked)voidsetShowReadOnly(boolean ShowReadOnly)-
Methods inherited from class microsoft.win32.FileDialog
addFileOk, getAddExtension, getCheckFileExists, getCheckPathExists, getDefaultExt, getFileName, getFileNames, getFilter, getFilterIndex, getRestoreDirectory, getSafeFileName, getSafeFileNames, removeFileOk, setAddExtension, setCheckFileExists, setCheckPathExists, setDefaultExt, setFileName, setFilter, setFilterIndex, setRestoreDirectory
-
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=8.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.OpenFileDialog- 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 classFileDialog- 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 classFileDialog- 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 classFileDialog- 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 classFileDialog- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classFileDialog
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classFileDialog- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static OpenFileDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoOpenFileDialog, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
OpenFileDialoginstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
OpenFile
public Stream OpenFile() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SerializationException
-
OpenFiles
public Stream[] OpenFiles() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SerializationException
-
Reset
public void Reset() throws java.lang.Throwable- Overrides:
Resetin classFileDialog- Throws:
java.lang.Throwable
-
getForcePreviewPane
public boolean getForcePreviewPane() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setForcePreviewPane
public void setForcePreviewPane(boolean ForcePreviewPane) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMultiselect
public boolean getMultiselect() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMultiselect
public void setMultiselect(boolean Multiselect) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getReadOnlyChecked
public boolean getReadOnlyChecked() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setReadOnlyChecked
public void setReadOnlyChecked(boolean ReadOnlyChecked) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getShowReadOnly
public boolean getShowReadOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setShowReadOnly
public void setShowReadOnly(boolean ShowReadOnly) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-