Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: ui :: dialogs ::
interface XFilePickerListener
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::lang::XEventListener
          |
          +-XFilePickerListener
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.

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] 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
void directoryChanged( | [in] 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
string helpRequested( | [in] 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
void controlStateChanged( | [in] 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
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

Copyright © 2003 Sun Microsystems, Inc.