:: com :: sun :: star :: ui :: dialogs ::

interface XFilePickerListener
Base Interfaces
XFilePickerListener
┗ ::com::sun::star::lang::XEventListener

::com::sun::star::lang::XEventListener
(referenced interface's summary:)
base interface for all event listeners interfaces.
Description
Interface to be implemented by a FilePicker listener.

The ::com::sun::star::ui::dialogs::XFilePickerListener interface must be implemented by the clients of the FilePicker service which need to be informed about events while the FilePicker service is displayed.


Methods' Summary
fileSelectionChanged A client receives this event if the file selection within the FilePicker service dialog changes.  
directoryChanged A client receives this event if the directory selection within the FilePicker dialog changes.  
helpRequested A client receives this event if the F1 key or the help button was pressed.  
controlStateChanged A client receives this event if the state of a control within the FilePicker service dialog changes.  
dialogSizeChanged A client receives this event if the size of the FilePicker dialog has changed. If the FilePicker dialog contains a preview the client may ask for the new dimension of the preview area.  
Methods' Details
fileSelectionChanged
void
fileSelectionChanged( [in] ::com::sun::star::ui::dialogs::FilePickerEvent  aEvent );

Description
A client receives this event if the file selection within the FilePicker service dialog changes.
Parameter aEvent
of type ::com::sun::star::ui::dialogs::FilePickerEvent that describes the event
See also
::com::sun::star::ui::dialogs::FilePickerEvent
directoryChanged
void
directoryChanged( [in] ::com::sun::star::ui::dialogs::FilePickerEvent  aEvent );

Description
A client receives this event if the directory selection within the FilePicker dialog changes.
Parameter aEvent
Of type ::com::sun::star::ui::dialogs::FilePickerEvent that describes the event.
See also
::com::sun::star::ui::dialogs::FilePickerEvent
helpRequested
string
helpRequested( [in] ::com::sun::star::ui::dialogs::FilePickerEvent  aEvent );

Description
A client receives this event if the F1 key or the help button was pressed.
Parameter aEvent
of type ::com::sun::star::ui::dialogs::FilePickerEvent that describes the event
Returns
A help string which the FilePicker dialog should use to display a help for a specific control. If the returned string is empty it is undefined how the FilePicker implementation will behave. It may show a message 'no help available' or may show no help at all.
See also
::com::sun::star::ui::dialogs::FilePickerEvent
controlStateChanged
void
controlStateChanged( [in] ::com::sun::star::ui::dialogs::FilePickerEvent  aEvent );

Description
A client receives this event if the state of a control within the FilePicker service dialog changes.
Parameter aEvent
of type ::com::sun::star::ui::dialogs::FilePickerEvent that describes the event.
See also
::com::sun::star::ui::dialogs::FilePickerEvent
dialogSizeChanged
void
dialogSizeChanged();

Description
A client receives this event if the size of the FilePicker dialog has changed. If the FilePicker dialog contains a preview the client may ask for the new dimension of the preview area.
Top of Page