provides a function to retrieve a special purpose interface dependent
on the user interface element type.
The type of the interface depends on the real type of the user interface
element. A menubar user interface element provides access to its
com::sun::star::awt::XSystemDependentMenuBarPeer
which supports to retrieve the system dependent menu handle.
A floating window or a toolbar user interface element return a
::XWindow
interface.
determines the document frame to which this element is bound to.
The life time of a user interface element does not explicitly depend on the
frame itself but on the visible component attached to the frame. It is possible
to exchange the visible component of a frame and that will lead to the end of
life of all user interface elements.