interface XFilePickerListener in module com::sun::star::ui::dialogs::

(Global Index)

Syntax

interface XFilePickerListener : com::sun::star::lang::XEventListener ;

Description

Interface to be implemented by a FilePicker listener.

The 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.

Method 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.

Method Details



fileSelectionChanged

Syntax

void fileSelectionChanged (
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 FilePickerEvent that describes the event

See also

FilePickerEvent

directoryChanged

Syntax

void directoryChanged (
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 FilePickerEvent that describes the event.

See also

FilePickerEvent

helpRequested

Syntax

string helpRequested (
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 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

FilePickerEvent

controlStateChanged

Syntax

void controlStateChanged (
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 FilePickerEvent that describes the event.

See also

FilePickerEvent

dialogSizeChanged

Syntax

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