public class OpenFileDialog extends FileDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.Win32.OpenFileDialog
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=8.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.OpenFileDialog
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
OpenFileDialog()
Initializes a new instance by invoking the .NET constructor.
|
OpenFileDialog(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static OpenFileDialog |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into OpenFileDialog, a cast assert is made to check if types are compatible. |
boolean |
getForcePreviewPane()
Gets the value of the .NET property ForcePreviewPane.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getMultiselect()
Gets the value of the .NET property Multiselect.
|
boolean |
getReadOnlyChecked()
Gets the value of the .NET property ReadOnlyChecked.
|
boolean |
getShowReadOnly()
Gets the value of the .NET property ShowReadOnly.
|
Stream |
OpenFile()
Invokes the .NET member OpenFile.
|
Stream[] |
OpenFiles()
Invokes the .NET member OpenFiles.
|
void |
Reset()
Invokes the .NET member Reset.
|
void |
setForcePreviewPane(boolean ForcePreviewPane)
Sets the value of the .NET property ForcePreviewPane.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMultiselect(boolean Multiselect)
Sets the value of the .NET property Multiselect.
|
void |
setReadOnlyChecked(boolean ReadOnlyChecked)
Sets the value of the .NET property ReadOnlyChecked.
|
void |
setShowReadOnly(boolean ShowReadOnly)
Sets the value of the .NET property ShowReadOnly.
|
addFileOk, getAddExtension, getCheckFileExists, getCheckPathExists, getDefaultExt, getFileName, getFileNames, getFilter, getFilterIndex, getRestoreDirectory, getSafeFileName, getSafeFileNames, removeFileOk, setAddExtension, setCheckFileExists, setCheckPathExists, setDefaultExt, setFileName, setFilter, setFilterIndex, setRestoreDirectorygetAddToRecent, getClientGuid, getCustomPlaces, getDefaultDirectory, getDereferenceLinks, getInitialDirectory, getRootDirectory, getShowHiddenItems, getTitle, getValidateNames, setAddToRecent, setClientGuid, setCustomPlaces, setDefaultDirectory, setDereferenceLinks, setInitialDirectory, setRootDirectory, setShowHiddenItems, setTitle, setValidateNamesgetTag, setTag, ShowDialog, ShowDialogpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public OpenFileDialog()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic OpenFileDialog(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static OpenFileDialog cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into OpenFileDialog, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedOpenFileDialog instancejava.lang.Throwable - in case of error during cast operationpublic boolean getForcePreviewPane()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class FileDialogpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class FileDialogpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class FileDialognull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class FileDialogpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class FileDialogpublic boolean getMultiselect()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getReadOnlyChecked()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Stream OpenFile() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SerializationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSerializationException - if the .NET member raises itpublic Stream[] OpenFiles() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, SerializationException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void Reset()
throws java.lang.Throwable
Reset in class FileDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setForcePreviewPane(boolean ForcePreviewPane)
throws java.lang.Throwable
ForcePreviewPane - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class FileDialoginstance - the new underlying objectpublic void setMultiselect(boolean Multiselect)
throws java.lang.Throwable
Multiselect - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setReadOnlyChecked(boolean ReadOnlyChecked)
throws java.lang.Throwable
ReadOnlyChecked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowReadOnly(boolean ShowReadOnly)
throws java.lang.Throwable
ShowReadOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR