Class JFileChooser
public class JFileChooser : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>JFileChooser
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)JVMBridgeBase<Component>.IsAssignableFrom<T>()JVMBridgeBase<Component>.Execute<T>(params T[])JVMBridgeBase<Component>.DynBridgeClazzJVMBridgeBase<Component>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
JFileChooser()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public JFileChooser()
JFileChooser(File)
public JFileChooser(File arg0)
Parameters
JFileChooser(File, FileSystemView)
public JFileChooser(File arg0, FileSystemView arg1)
Parameters
arg0
Filearg1
FileSystemView
JFileChooser(String)
public JFileChooser(String arg0)
Parameters
JFileChooser(String, FileSystemView)
public JFileChooser(String arg0, FileSystemView arg1)
Parameters
arg0
Stringarg1
FileSystemView
JFileChooser(FileSystemView)
public JFileChooser(FileSystemView arg0)
Parameters
JFileChooser(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public JFileChooser(params object[] args)
Parameters
args
object[]
Properties
ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY
public static String ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY { get; }
Property Value
ACCESSORY_CHANGED_PROPERTY
public static String ACCESSORY_CHANGED_PROPERTY { get; }
Property Value
APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY
public static String APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY { get; }
Property Value
APPROVE_BUTTON_TEXT_CHANGED_PROPERTY
public static String APPROVE_BUTTON_TEXT_CHANGED_PROPERTY { get; }
Property Value
APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY
public static String APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY { get; }
Property Value
APPROVE_OPTION
public static int APPROVE_OPTION { get; }
Property Value
APPROVE_SELECTION
public static String APPROVE_SELECTION { get; }
Property Value
AcceptAllFileFilter
public FileFilter AcceptAllFileFilter { get; }
Property Value
Accessory
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getAccessory() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setAccessory(javax.swing.JComponent)
public JComponent Accessory { get; set; }
Property Value
ActionListeners
public ActionListener[] ActionListeners { get; }
Property Value
ApproveButtonMnemonic
public int ApproveButtonMnemonic { get; }
Property Value
ApproveButtonText
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getApproveButtonText() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setApproveButtonText(java.lang.String)
public String ApproveButtonText { get; set; }
Property Value
ApproveButtonToolTipText
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getApproveButtonToolTipText() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setApproveButtonToolTipText(java.lang.String)
public String ApproveButtonToolTipText { get; set; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CANCEL_OPTION
public static int CANCEL_OPTION { get; }
Property Value
CANCEL_SELECTION
public static String CANCEL_SELECTION { get; }
Property Value
CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY
public static String CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY { get; }
Property Value
CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY
public static String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY { get; }
Property Value
CUSTOM_DIALOG
public static int CUSTOM_DIALOG { get; }
Property Value
ChoosableFileFilters
public FileFilter[] ChoosableFileFilters { get; }
Property Value
ControlButtonsAreShown
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getControlButtonsAreShown() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setControlButtonsAreShown(boolean)
public bool ControlButtonsAreShown { get; set; }
Property Value
CurrentDirectory
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getCurrentDirectory() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setCurrentDirectory(java.io.File)
public File CurrentDirectory { get; set; }
Property Value
DIALOG_TITLE_CHANGED_PROPERTY
public static String DIALOG_TITLE_CHANGED_PROPERTY { get; }
Property Value
DIALOG_TYPE_CHANGED_PROPERTY
public static String DIALOG_TYPE_CHANGED_PROPERTY { get; }
Property Value
DIRECTORIES_ONLY
public static int DIRECTORIES_ONLY { get; }
Property Value
DIRECTORY_CHANGED_PROPERTY
public static String DIRECTORY_CHANGED_PROPERTY { get; }
Property Value
DialogTitle
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getDialogTitle() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setDialogTitle(java.lang.String)
public String DialogTitle { get; set; }
Property Value
DialogType
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getDialogType() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setDialogType(int)
public int DialogType { get; set; }
Property Value
DragEnabled
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getDragEnabled() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setDragEnabled(boolean)
public bool DragEnabled { get; set; }
Property Value
ERROR_OPTION
public static int ERROR_OPTION { get; }
Property Value
FILES_AND_DIRECTORIES
public static int FILES_AND_DIRECTORIES { get; }
Property Value
FILES_ONLY
public static int FILES_ONLY { get; }
Property Value
FILE_FILTER_CHANGED_PROPERTY
public static String FILE_FILTER_CHANGED_PROPERTY { get; }
Property Value
FILE_HIDING_CHANGED_PROPERTY
public static String FILE_HIDING_CHANGED_PROPERTY { get; }
Property Value
FILE_SELECTION_MODE_CHANGED_PROPERTY
public static String FILE_SELECTION_MODE_CHANGED_PROPERTY { get; }
Property Value
FILE_SYSTEM_VIEW_CHANGED_PROPERTY
public static String FILE_SYSTEM_VIEW_CHANGED_PROPERTY { get; }
Property Value
FILE_VIEW_CHANGED_PROPERTY
public static String FILE_VIEW_CHANGED_PROPERTY { get; }
Property Value
FileFilter
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getFileFilter() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setFileFilter(javax.swing.filechooser.FileFilter)
public FileFilter FileFilter { get; set; }
Property Value
FileSelectionMode
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getFileSelectionMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setFileSelectionMode(int)
public int FileSelectionMode { get; set; }
Property Value
FileSystemView
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getFileSystemView() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setFileSystemView(javax.swing.filechooser.FileSystemView)
public FileSystemView FileSystemView { get; set; }
Property Value
FileView
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getFileView() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setFileView(javax.swing.filechooser.FileView)
public FileView FileView { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MULTI_SELECTION_ENABLED_CHANGED_PROPERTY
public static String MULTI_SELECTION_ENABLED_CHANGED_PROPERTY { get; }
Property Value
OPEN_DIALOG
public static int OPEN_DIALOG { get; }
Property Value
SAVE_DIALOG
public static int SAVE_DIALOG { get; }
Property Value
SELECTED_FILES_CHANGED_PROPERTY
public static String SELECTED_FILES_CHANGED_PROPERTY { get; }
Property Value
SELECTED_FILE_CHANGED_PROPERTY
public static String SELECTED_FILE_CHANGED_PROPERTY { get; }
Property Value
SelectedFile
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getSelectedFile() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setSelectedFile(java.io.File)
public File SelectedFile { get; set; }
Property Value
SelectedFiles
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#getSelectedFiles() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/JFileChooser.html#setSelectedFiles(java.io.File[])
public File[] SelectedFiles { get; set; }
Property Value
- File[]
Methods
Accept(File)
public bool Accept(File arg0)
Parameters
Returns
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
AddChoosableFileFilter(FileFilter)
public void AddChoosableFileFilter(FileFilter arg0)
Parameters
arg0
FileFilter
ApproveSelection()
public void ApproveSelection()
CancelSelection()
public void CancelSelection()
ChangeToParentDirectory()
public void ChangeToParentDirectory()
EnsureFileIsVisible(File)
public void EnsureFileIsVisible(File arg0)
Parameters
GetDescription(File)
public String GetDescription(File arg0)
Parameters
Returns
GetIcon(File)
public Icon GetIcon(File arg0)
Parameters
Returns
GetName(File)
public String GetName(File arg0)
Parameters
Returns
GetTypeDescription(File)
public String GetTypeDescription(File arg0)
Parameters
Returns
IsAcceptAllFileFilterUsed()
public bool IsAcceptAllFileFilterUsed()
Returns
IsDirectorySelectionEnabled()
public bool IsDirectorySelectionEnabled()
Returns
IsFileHidingEnabled()
public bool IsFileHidingEnabled()
Returns
IsFileSelectionEnabled()
public bool IsFileSelectionEnabled()
Returns
IsMultiSelectionEnabled()
public bool IsMultiSelectionEnabled()
Returns
IsTraversable(File)
public bool IsTraversable(File arg0)
Parameters
Returns
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
RemoveChoosableFileFilter(FileFilter)
public bool RemoveChoosableFileFilter(FileFilter arg0)
Parameters
arg0
FileFilter
Returns
RescanCurrentDirectory()
public void RescanCurrentDirectory()
ResetChoosableFileFilters()
public void ResetChoosableFileFilters()
SetAcceptAllFileFilterUsed(bool)
public void SetAcceptAllFileFilterUsed(bool arg0)
Parameters
SetApproveButtonMnemonic(char)
public void SetApproveButtonMnemonic(char arg0)
Parameters
SetApproveButtonMnemonic(int)
public void SetApproveButtonMnemonic(int arg0)
Parameters
SetFileHidingEnabled(bool)
public void SetFileHidingEnabled(bool arg0)
Parameters
SetMultiSelectionEnabled(bool)
public void SetMultiSelectionEnabled(bool arg0)
Parameters
ShowDialog(Component, String)
public int ShowDialog(Component arg0, String arg1)
Parameters
Returns
Exceptions
ShowOpenDialog(Component)
public int ShowOpenDialog(Component arg0)
Parameters
Returns
Exceptions
ShowSaveDialog(Component)
public int ShowSaveDialog(Component arg0)
Parameters
Returns
Exceptions
Operators
implicit operator Accessible(JFileChooser)
Converter from JFileChooser to Accessible
public static implicit operator Accessible(JFileChooser t)