Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: awt ::
interface XDisplayConnection
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XDisplayConnection
Description This interface should be implemented by toolkits that want to give access to their internal message handling loop.

Methods' Summary
addEventHandler | registers an event handler.
removeEventHandler | removes a eventHandler from the handler list.
addErrorHandler | register an error handler for toolkit specific errors.
removeErrorHandler | remover an error handler from the handler list.
getIdentifier | returns a identifier.

Methods' Details
addEventHandler
[oneway] void addEventHandler( | [in] any [in] XEventHandler [in] long | window, eventHandler, eventMask );
Description registers an event handler. Parameter window the platform specific window id. If empty, the handler should be registered for all windows. Parameter eventHandler the handler to register. Parameter eventMask the event mask specifies the events the handler is interested in.
removeEventHandler
[oneway] void removeEventHandler( | [in] any [in] XEventHandler | window, eventHandler );
Description removes a eventHandler from the handler list. Parameter window the platform specific window id the handler should be deregistered for. If empty, the handler should be deregistered completly. Parameter eventHandler the handler to remove.
addErrorHandler
[oneway] void addErrorHandler( | [in] XEventHandler | errorHandler );
Description register an error handler for toolkit specific errors. Parameter errorHandler the handler to register.
removeErrorHandler
[oneway] void removeErrorHandler( | [in] XEventHandler | errorhandler );
Description remover an error handler from the handler list. Parameter errorHandler the handler to remove.
getIdentifier
any getIdentifier(); |  |
Description returns a identifier. Returns a unique platform dependend identifier for a display connection.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.