Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: ucb ::

interface XContent
Description
specifies a content with a type and an identifier, which is able to manage listeners for events that are related to contents.
See also
XContentIdentifier, XContentEventListener
Developers Guide
UCB - Services and Interfaces

Methods' Summary
getIdentifier returns the identifier of the content.  
getContentType returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder").  
addContentEventListener adds a listener for content events.  
removeContentEventListener removes a listener for content events.  
Methods' Details
getIdentifier
XContentIdentifier
getIdentifier();

Description
returns the identifier of the content.
Returns
the identifier.
getContentType
string
getContentType();

Description
returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder").
Returns
the content type string.
addContentEventListener
[oneway] void
addContentEventListener( [in] XContentEventListener  Listener );

Description
adds a listener for content events.
Parameter Listener
the listener to add.
See also
ContentEvent
removeContentEventListener
[oneway] void
removeContentEventListener( [in] XContentEventListener  Listener );

Description
removes a listener for content events.
Parameter Listener
the listener to remove.
See also
ContentEvent
Top of Page

Apache Software Foundation

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

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.