Table of Contents

Class JFileChooser

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JFileChooser : JComponent, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Component>
JFileChooser
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Component>.IsAssignableFrom<T>()
JVMBridgeBase<Component>.Execute<T>(params T[])
JVMBridgeBase<Component>.DynBridgeClazz
JVMBridgeBase<Component>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

arg0 File

File

JFileChooser(File, FileSystemView)

public JFileChooser(File arg0, FileSystemView arg1)

Parameters

arg0 File

File

arg1 FileSystemView

FileSystemView

JFileChooser(String)

public JFileChooser(String arg0)

Parameters

arg0 String

String

JFileChooser(String, FileSystemView)

public JFileChooser(String arg0, FileSystemView arg1)

Parameters

arg0 String

String

arg1 FileSystemView

FileSystemView

JFileChooser(FileSystemView)

public JFileChooser(FileSystemView arg0)

Parameters

arg0 FileSystemView

FileSystemView

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

String

ACCESSORY_CHANGED_PROPERTY

public static String ACCESSORY_CHANGED_PROPERTY { get; }

Property Value

String

APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY

public static String APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY { get; }

Property Value

String

APPROVE_BUTTON_TEXT_CHANGED_PROPERTY

public static String APPROVE_BUTTON_TEXT_CHANGED_PROPERTY { get; }

Property Value

String

APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY

public static String APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY { get; }

Property Value

String

APPROVE_OPTION

public static int APPROVE_OPTION { get; }

Property Value

int

APPROVE_SELECTION

public static String APPROVE_SELECTION { get; }

Property Value

String

AcceptAllFileFilter

public FileFilter AcceptAllFileFilter { get; }

Property Value

FileFilter

Accessory

public JComponent Accessory { get; set; }

Property Value

JComponent

ActionListeners

public ActionListener[] ActionListeners { get; }

Property Value

ActionListener[]

ApproveButtonMnemonic

public int ApproveButtonMnemonic { get; }

Property Value

int

ApproveButtonText

public String ApproveButtonText { get; set; }

Property Value

String

ApproveButtonToolTipText

public String ApproveButtonToolTipText { get; set; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

CANCEL_OPTION

public static int CANCEL_OPTION { get; }

Property Value

int

CANCEL_SELECTION

public static String CANCEL_SELECTION { get; }

Property Value

String

CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY

public static String CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY { get; }

Property Value

String

CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY

public static String CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY { get; }

Property Value

String

CUSTOM_DIALOG

public static int CUSTOM_DIALOG { get; }

Property Value

int

ChoosableFileFilters

public FileFilter[] ChoosableFileFilters { get; }

Property Value

FileFilter[]

ControlButtonsAreShown

public bool ControlButtonsAreShown { get; set; }

Property Value

bool

CurrentDirectory

public File CurrentDirectory { get; set; }

Property Value

File

DIALOG_TITLE_CHANGED_PROPERTY

public static String DIALOG_TITLE_CHANGED_PROPERTY { get; }

Property Value

String

DIALOG_TYPE_CHANGED_PROPERTY

public static String DIALOG_TYPE_CHANGED_PROPERTY { get; }

Property Value

String

DIRECTORIES_ONLY

public static int DIRECTORIES_ONLY { get; }

Property Value

int

DIRECTORY_CHANGED_PROPERTY

public static String DIRECTORY_CHANGED_PROPERTY { get; }

Property Value

String

DialogTitle

public String DialogTitle { get; set; }

Property Value

String

DialogType

public int DialogType { get; set; }

Property Value

int

DragEnabled

public bool DragEnabled { get; set; }

Property Value

bool

ERROR_OPTION

public static int ERROR_OPTION { get; }

Property Value

int

FILES_AND_DIRECTORIES

public static int FILES_AND_DIRECTORIES { get; }

Property Value

int

FILES_ONLY

public static int FILES_ONLY { get; }

Property Value

int

FILE_FILTER_CHANGED_PROPERTY

public static String FILE_FILTER_CHANGED_PROPERTY { get; }

Property Value

String

FILE_HIDING_CHANGED_PROPERTY

public static String FILE_HIDING_CHANGED_PROPERTY { get; }

Property Value

String

FILE_SELECTION_MODE_CHANGED_PROPERTY

public static String FILE_SELECTION_MODE_CHANGED_PROPERTY { get; }

Property Value

String

FILE_SYSTEM_VIEW_CHANGED_PROPERTY

public static String FILE_SYSTEM_VIEW_CHANGED_PROPERTY { get; }

Property Value

String

FILE_VIEW_CHANGED_PROPERTY

public static String FILE_VIEW_CHANGED_PROPERTY { get; }

Property Value

String

FileFilter

public FileFilter FileFilter { get; set; }

Property Value

FileFilter

FileSelectionMode

public int FileSelectionMode { get; set; }

Property Value

int

FileSystemView

public FileSystemView FileSystemView { get; set; }

Property Value

FileSystemView

FileView

public FileView FileView { get; set; }

Property Value

FileView

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MULTI_SELECTION_ENABLED_CHANGED_PROPERTY

public static String MULTI_SELECTION_ENABLED_CHANGED_PROPERTY { get; }

Property Value

String

OPEN_DIALOG

public static int OPEN_DIALOG { get; }

Property Value

int

SAVE_DIALOG

public static int SAVE_DIALOG { get; }

Property Value

int

SELECTED_FILES_CHANGED_PROPERTY

public static String SELECTED_FILES_CHANGED_PROPERTY { get; }

Property Value

String

SELECTED_FILE_CHANGED_PROPERTY

public static String SELECTED_FILE_CHANGED_PROPERTY { get; }

Property Value

String

SelectedFile

public File SelectedFile { get; set; }

Property Value

File

SelectedFiles

public File[] SelectedFiles { get; set; }

Property Value

File[]

Methods

Accept(File)

public bool Accept(File arg0)

Parameters

arg0 File

File

Returns

bool

bool

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

AddChoosableFileFilter(FileFilter)

public void AddChoosableFileFilter(FileFilter arg0)

Parameters

arg0 FileFilter

FileFilter

ApproveSelection()

public void ApproveSelection()

CancelSelection()

public void CancelSelection()

ChangeToParentDirectory()

public void ChangeToParentDirectory()

EnsureFileIsVisible(File)

public void EnsureFileIsVisible(File arg0)

Parameters

arg0 File

File

GetDescription(File)

public String GetDescription(File arg0)

Parameters

arg0 File

File

Returns

String

String

GetIcon(File)

public Icon GetIcon(File arg0)

Parameters

arg0 File

File

Returns

Icon

Icon

GetName(File)

public String GetName(File arg0)

Parameters

arg0 File

File

Returns

String

String

GetTypeDescription(File)

public String GetTypeDescription(File arg0)

Parameters

arg0 File

File

Returns

String

String

IsAcceptAllFileFilterUsed()

public bool IsAcceptAllFileFilterUsed()

Returns

bool

bool

IsDirectorySelectionEnabled()

public bool IsDirectorySelectionEnabled()

Returns

bool

bool

IsFileHidingEnabled()

public bool IsFileHidingEnabled()

Returns

bool

bool

IsFileSelectionEnabled()

public bool IsFileSelectionEnabled()

Returns

bool

bool

IsMultiSelectionEnabled()

public bool IsMultiSelectionEnabled()

Returns

bool

bool

IsTraversable(File)

public bool IsTraversable(File arg0)

Parameters

arg0 File

File

Returns

bool

bool

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

RemoveChoosableFileFilter(FileFilter)

public bool RemoveChoosableFileFilter(FileFilter arg0)

Parameters

arg0 FileFilter

FileFilter

Returns

bool

bool

RescanCurrentDirectory()

public void RescanCurrentDirectory()

ResetChoosableFileFilters()

public void ResetChoosableFileFilters()

SetAcceptAllFileFilterUsed(bool)

public void SetAcceptAllFileFilterUsed(bool arg0)

Parameters

arg0 bool

bool

SetApproveButtonMnemonic(char)

public void SetApproveButtonMnemonic(char arg0)

Parameters

arg0 char

char

SetApproveButtonMnemonic(int)

public void SetApproveButtonMnemonic(int arg0)

Parameters

arg0 int

int

SetFileHidingEnabled(bool)

public void SetFileHidingEnabled(bool arg0)

Parameters

arg0 bool

bool

SetMultiSelectionEnabled(bool)

public void SetMultiSelectionEnabled(bool arg0)

Parameters

arg0 bool

bool

ShowDialog(Component, String)

public int ShowDialog(Component arg0, String arg1)

Parameters

arg0 Component

Component

arg1 String

String

Returns

int

int

Exceptions

HeadlessException

ShowOpenDialog(Component)

public int ShowOpenDialog(Component arg0)

Parameters

arg0 Component

Component

Returns

int

int

Exceptions

HeadlessException

ShowSaveDialog(Component)

public int ShowSaveDialog(Component arg0)

Parameters

arg0 Component

Component

Returns

int

int

Exceptions

HeadlessException

Operators

implicit operator Accessible(JFileChooser)

Converter from JFileChooser to Accessible

public static implicit operator Accessible(JFileChooser t)

Parameters

t JFileChooser

Returns

Accessible