(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 Feather

Copyright & License | Privacy | Contact Us

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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.