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

interface XPane
Base Interfaces
XPaneXResource

XResource
(referenced interface's summary:)
Base interface that provides functionality shared by all resource types of the drawing framework.
Description
A pane is an abstraction of a window and is one of the resources managed by the drawing framework.

Apart from the area that displays a view a pane may contain other parts like title, menu, closer button.

The URL prefix of panes is private:resource/floater


Methods' Summary
getWindow Return the ::com::sun::star::awt::XWindow of the pane that is used to display a view.  
getCanvas Return the com::sun::star::awt::XCanvas of the pane. The ::com::sun::star::rendering::XCanvas object is expected to be associated with the ::com::sun::star::awt::XWindow object returned by getWindow().  
Methods' Details
getWindow
::com::sun::star::awt::XWindow
getWindow();

Description
Return the ::com::sun::star::awt::XWindow of the pane that is used to display a view.
getCanvas
::com::sun::star::rendering::XCanvas
getCanvas();

Description
Return the com::sun::star::awt::XCanvas of the pane. The ::com::sun::star::rendering::XCanvas object is expected to be associated with the ::com::sun::star::awt::XWindow object returned by getWindow().
Returns
When the ::com::sun::star::rendering::XCanvas interface is not supported then an empty reference is returned.
Top of Page