Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface 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  window,
[in] XEventHandler  eventHandler,
[in] long  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  window,
[in] XEventHandler  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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.