Other Beans can listen to events in the file chooser by using the addPropertyChangeListener() method.
public MyListener(XFileChooser xfc) { xfc.addPropertyChangeListener(this); new PropertyChangeEvent e; if e.getPropertyName() == xfc.SELECTED_XFILE_PROPERTY_CHANGED { do_something(); ...
Most of the properties in XFileChooser are inherited from JFileChooser, so you should refer to thejavadocs of the JFileChooser for a complete list of JFileChooser fields. Properties that can be changed through the XFileChooser Bean's property sheet (in a Bean-aware editor) are listed in "XFileChooser is a Bean".
XFileChooser does have three variables unique to itself, however:
SELECTED_XFILE_CHANGED_PROPERTY
Equivalent to SELECTED_FILE_CHANGED_PROPERTY in JFileChooser. Indicates that a user has changed a single-file selection.
SELECTED_XFILES_CHANGED_PROPERTY
Equivalent to SELECTED_FILES_CHANGED_PROPERTY. Indicates that a user has changed the selection of multiple files.
XDIRECTORY_CHANGED_PROPERTY
Equivalent to DIRECTORY_CHANGED_PROPERTY. Indicates that the user has changed the working directory.