public class OpenFileDialog extends FileDialog
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.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: System.Windows.Forms, Version=8.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.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. |
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.
|
java.lang.String |
getSafeFileName()
Gets the value of the .NET property SafeFileName.
|
java.lang.String[] |
getSafeFileNames()
Gets the value of the .NET property SafeFileNames.
|
boolean |
getSelectReadOnly()
Gets the value of the .NET property SelectReadOnly.
|
boolean |
getShowPreview()
Gets the value of the .NET property ShowPreview.
|
boolean |
getShowReadOnly()
Gets the value of the .NET property ShowReadOnly.
|
Stream |
OpenFile()
Invokes the .NET member OpenFile.
|
void |
Reset()
Invokes the .NET member Reset.
|
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 |
setSelectReadOnly(boolean SelectReadOnly)
Sets the value of the .NET property SelectReadOnly.
|
void |
setShowPreview(boolean ShowPreview)
Sets the value of the .NET property ShowPreview.
|
void |
setShowReadOnly(boolean ShowReadOnly)
Sets the value of the .NET property ShowReadOnly.
|
addFileOk, getAddExtension, getAddToRecent, getAutoUpgradeEnabled, getCheckFileExists, getCheckPathExists, getClientGuid, getCustomPlaces, getDefaultExt, getDereferenceLinks, getFileName, getFileNames, getFilter, getFilterIndex, getInitialDirectory, getOkRequiresInteraction, getRestoreDirectory, getShowHelp, getShowHiddenFiles, getShowPinnedPlaces, getSupportMultiDottedExtensions, getTitle, getValidateNames, removeFileOk, setAddExtension, setAddToRecent, setAutoUpgradeEnabled, setCheckFileExists, setCheckPathExists, setClientGuid, setDefaultExt, setDereferenceLinks, setFileName, setFilter, setFilterIndex, setInitialDirectory, setOkRequiresInteraction, setRestoreDirectory, setShowHelp, setShowHiddenFiles, setShowPinnedPlaces, setSupportMultiDottedExtensions, setTitle, setValidateNamesaddHelpRequest, 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 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 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 java.lang.String getSafeFileName()
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String[] getSafeFileNames()
throws java.lang.Throwable,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic boolean getSelectReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getShowPreview()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic 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, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, OutOfMemoryException, 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 itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSerializationException - if the .NET member raises itpublic void Reset()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException
Reset in class FileDialogjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic 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 setSelectReadOnly(boolean SelectReadOnly)
throws java.lang.Throwable
SelectReadOnly - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setShowPreview(boolean ShowPreview)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
ShowPreview - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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