Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: drawing :: framework ::

interface XResource
Description
Base interface that provides functionality shared by all resource types of the drawing framework.

Methods' Summary
getResourceId Return an XResourceId object for the called resource. The returned id unambiguously indentifies the resource.  
isAnchorOnly Some resources must not be leafs, i.e. have to be anchor to at least one other resource. Most panes are examples for this. Views on the other hand are in most cases no anchors. So the typical pane will return true and the typical view will return false. The return value is used to determine whether a resource has to be deactivated when it has no children, either because none is requested or because none can be created.  
Methods' Details
getResourceId
XResourceId
getResourceId();

Description
Return an XResourceId object for the called resource. The returned id unambiguously indentifies the resource.
isAnchorOnly
boolean
isAnchorOnly();

Description
Some resources must not be leafs, i.e. have to be anchor to at least one other resource. Most panes are examples for this. Views on the other hand are in most cases no anchors. So the typical pane will return true and the typical view will return false. The return value is used to determine whether a resource has to be deactivated when it has no children, either because none is requested or because none can be created.
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.