:: com :: sun :: star :: awt ::
|
unpublished |
interface XDialogEventHandler |
|
|
|
- Usage Restrictions
- not published
- Description
- Handles events fired by dialogs represented by a
XDialog interface.
|
Methods' Summary |
callHandlerMethod |
Handles an event generated by a dialog.
The implementation must be aware that the EventObject argument contains types
which it is not prepared to handle. Similarly this applies for the MethodName
argument. In this case the method should simply return false.
|
getSupportedMethodNames |
returns a sequence of supported method names
|
Methods' Details |
callHandlerMethod
- Description
- Handles an event generated by a dialog.
The implementation must be aware that the EventObject argument contains types
which it is not prepared to handle. Similarly this applies for the MethodName
argument. In this case the method should simply return false.
- Parameter xDialog
- the dialog instance that generated the event. This is the same dialog instance
that was returned by the XDialogProvider2
createDialogWithHandler method when passing the XDialogEventHandler instance
receiving the event as handler parameter.
- Parameter EventObject
- an object describing the event which occurred in the dialog or anything else that
provides additional information for the event.
If the event was caused by the dialog or any of the controls which it contains
then the any should contain an object derived from
::com::sun::star::lang::EventObject. Typically this would be one
of the several com::sun::star::awt::*Event types.
- Parameter MethodName
- the name of the function which is to be called.
- Returns
- true if the event was handled, otherwise false.
- Throws
- com::sun::star::lang::WrappedTargetException
if the implementation of the method, which is determined by the argument MethodName,
throws an exception. This exception is then wrapped into a
::com::sun::star::lang::WrappedTargetException.
|
|
getSupportedMethodNames
sequence< string > |
getSupportedMethodNames(); |
- Description
- returns a sequence of supported method names
- Returns
- all method names that will be accepted in calls to callHandlerMethod.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.