Difference between revisions of "Zh/Documentation/DevGuide/ProUNO/Children of the XEventListener Interface"
From Apache OpenOffice Wiki
< Zh | Documentation
(New page: {{Documentation/DevGuide/ProUNOTOC/Zh |ProUNO2b=block |ProUNO2bLife=block |ShowPrevNext=block |PrevPage=Zh/Documentation/DevGuide/ProUNO/The XComponent Interface |NextPage=Zh/Documentation...) |
m |
||
Line 6: | Line 6: | ||
|NextPage=Zh/Documentation/DevGuide/ProUNO/Weak Objects and References | |NextPage=Zh/Documentation/DevGuide/ProUNO/Weak Objects and References | ||
}} | }} | ||
− | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/ProUNO/{{SUBPAGENAME}}}} | |
{{DISPLAYTITLE:XEventListener 接口的子接口}} | {{DISPLAYTITLE:XEventListener 接口的子接口}} | ||
Latest revision as of 02:33, 14 May 2009
com.sun.star.lang.XEventListener 接口是所有侦听器接口的基础。这就意味着不仅 XEventListener
必须实现 disposing()
,而且每个侦听器都必须实现 disposing()
,并且允许任何种类侦听器注册的每个广播对象在侦听器死亡时就必须对该侦听器调用 disposing()
。但是,并非每个广播器都必须通过 dispose()
方法实现 XComponent
接口,因为在被废止时,该广播器可以定义自己的条件。
在一个广播器对象链中,每个元素都是其前置对象的一个侦听器,而且将要废止唯一的根对象 XComponent
,链中其他所有链接都必须处理来自其前置对象的 disposing()
调用,并对其注册的侦听器调用 disposing()
。
Content on this page is licensed under the Public Documentation License (PDL). |