Difference between revisions of "Documentation/DevGuide/JavaBean/OfficeWindow Interface"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/JavaBean for Office Components)
m (FINAL VERSION FOR L10N)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/JavaBean/ContainerFactory Interface
 
|NextPage=Documentation/DevGuide/JavaBean/ContainerFactory Interface
 
}}
 
}}
{{DISPLAYTITLE:OfficeWindow Interface}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/JavaBean/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:OfficeWindow Interface}}
 
<!--<idltopic>com.sun.star.awt.XWindowPeer</idltopic>-->
 
<!--<idltopic>com.sun.star.awt.XWindowPeer</idltopic>-->
 
The <code>com.sun.star.comp.beans.OfficeWindow</code> interface encapsulates the relationship between the AWT window that the client plugs into its UI, and the <idl>com.sun.star.awt.XWindowPeer</idl> object, which the {{PRODUCTNAME}} process uses to draw into the window. It provides two public methods:
 
The <code>com.sun.star.comp.beans.OfficeWindow</code> interface encapsulates the relationship between the AWT window that the client plugs into its UI, and the <idl>com.sun.star.awt.XWindowPeer</idl> object, which the {{PRODUCTNAME}} process uses to draw into the window. It provides two public methods:

Revision as of 13:13, 15 May 2009



The com.sun.star.comp.beans.OfficeWindow interface encapsulates the relationship between the AWT window that the client plugs into its UI, and the com.sun.star.awt.XWindowPeer object, which the OpenOffice.org process uses to draw into the window. It provides two public methods:

public java.awt.Component getAWTComponent()
public com.sun.star.awt.XWindowPeer 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 com.sun.star.awt.XWindowPeer object associated with an OfficeWindow<ode>.

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