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

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 7: Line 7:
 
{{Documentation/DevGuideLanguages|Documentation/DevGuide/JavaBean/{{SUBPAGENAME}}}}  
 
{{Documentation/DevGuideLanguages|Documentation/DevGuide/JavaBean/{{SUBPAGENAME}}}}  
 
  {{DISPLAYTITLE:ContainerFactory Interface}}
 
  {{DISPLAYTITLE:ContainerFactory Interface}}
The interface <code>com.sun.star.comp.beans.ContainerFactory</code> defines a factory class that the client implements if it needs to control how popup windows generated by the backend {{PRODUCTNAME}} process are presented within the Java environment. The factory has only one method:
+
The interface <code>com.sun.star.comp.beans.ContainerFactory</code> defines a factory class that the client implements if it needs to control how popup windows generated by the backend {{AOo}} process are presented within the Java environment. The factory has only one method:
  
<source lang="java">
+
<syntaxhighlight lang="java">
 
public java.awt.Container createContainer()
 
public java.awt.Container createContainer()
</source>
+
</syntaxhighlight>
  
 
It returns a <code>java.awt.Container</code>.
 
It returns a <code>java.awt.Container</code>.
  
{{Note|For more background on handling popup windows generated by {{PRODUCTNAME}}, and possible threading issues to consider, see [[Documentation/DevGuide/OfficeDev/Java Window Integration|Java Window Integration]].}}
+
{{Note|For more background on handling popup windows generated by {{AOo}}, and possible threading issues to consider, see [[Documentation/DevGuide/OfficeDev/Java Window Integration|Java Window Integration]].}}
  
 
{{PDL1}}
 
{{PDL1}}
  
 
[[Category:Documentation/Developer's Guide/JavaBean for Office Components]]
 
[[Category:Documentation/Developer's Guide/JavaBean for Office Components]]

Latest revision as of 17:36, 21 December 2020



The interface com.sun.star.comp.beans.ContainerFactory defines a factory class that the client implements if it needs to control how popup windows generated by the backend Apache OpenOffice process are presented within the Java environment. The factory has only one method:

public java.awt.Container createContainer()

It returns a java.awt.Container.

Documentation note.png For more background on handling popup windows generated by Apache OpenOffice, and possible threading issues to consider, see Java Window Integration.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages