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

unpublished 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 the view a pane usually contains other parts like title, menu, closer button.

The URL prefix of panes is private:resource/floater

Implementations of XPane may implement XTabBar as well.

See also
XPaneController, XPaneFactory, XTabBar

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.

This window usually is part of a small hierarchy of windows rooted in the outer window of the pane.

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