OfficeWindow Interface

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 17:35, 21 December 2020 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The interface encapsulates the relationship between the AWT window that the client plugs into its UI, and the object, which the Apache OpenOffice process uses to draw into the window. It provides two public methods:

public java.awt.Component getAWTComponent()
public getUNOWindowPeer()

The client uses getAWTComponent() to obtain the Component window associated with an OfficeWindow. This Component is then added to the clients UI hierarchy.

The method getUNOWindowPeer() obtains the UNO object associated with an OfficeWindow<ode>.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages