blob: e5c7f982397b7107a9614ae7477946a5651c3edb [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Fri Jan 12 16:44:21 EST 2007 -->
<TITLE>
EmbeddedSwingComposite
</TITLE>
<META NAME="date" CONTENT="2007-01-12">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="EmbeddedSwingComposite";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../swingintegration/example/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EmbeddedSwingComposite.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../swingintegration/example/AwtEnvironment.html" title="class in swingintegration.example"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?swingintegration/example/EmbeddedSwingComposite.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="EmbeddedSwingComposite.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.eclipse.swt.widgets.Control">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
swingintegration.example</FONT>
<BR>
Class EmbeddedSwingComposite</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">org.eclipse.swt.widgets.Widget</A>
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">org.eclipse.swt.widgets.Control</A>
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Scrollable.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">org.eclipse.swt.widgets.Scrollable</A>
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">org.eclipse.swt.widgets.Composite</A>
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>swingintegration.example.EmbeddedSwingComposite</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/graphics/Drawable.html?is-external=true" title="class or interface in org.eclipse.swt.graphics">Drawable</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>EmbeddedSwingComposite</B><DT>extends <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Composite</A></DL>
</PRE>
<P>
A SWT composite widget for embedding Swing components in a SWT composite within an RCP or standalone-SWT application. The Eclipse platform
provides limited support for embedding Swing components through <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/awt/SWT_AWT.html?is-external=true" title="class or interface in org.eclipse.swt.awt"><CODE>SWT_AWT</CODE></A>.
This class extends that support by
<ul>
<li>Using the platform-specific system Look and Feel.
<li>Ensuring AWT modal dialogs are modal across the SWT application.
<li>Reducing flicker, especially on window resizes
<li>Allowing Tab Traversal to and from the Embedded Frame
<li>Dismissing most Pop-Up Menus when focus leaves the AWT frame.
<li>Synchronizing Font Changes from system settings
<li>Working around various AWT/Swing bugs
</ul>
<P>
If, rather than embedding Swing components, you are integrating with Swing by opening
Swing dialogs, see the <A HREF="../../swingintegration/example/AwtEnvironment.html" title="class in swingintegration.example"><CODE>AwtEnvironment</CODE></A> class.
<p>
This is an abstract that is normally used by extending it and implementing the <A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#createSwingComponent()"><CODE>createSwingComponent()</CODE></A> method. For example,
<pre>
embeddedComposite = new EmbeddedSwingComposite(parent, SWT.NONE) {
protected JComponent createSwingComponent() {
scrollPane = new JScrollPane();
table = new JTable();
scrollPane.setViewportView(table);
return scrollPane;
}
};
embeddedComposite.populate();
</pre>
<p>
The Swing component is created inside a standard Swing containment hierarchy, rooted in
a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing"><CODE>RootPaneContainer</CODE></A>. The root pane container is placed inside an AWT frame, as
returned by <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/awt/SWT_AWT.html?is-external=true#new_Frame(org.eclipse.swt.widgets.Composite)" title="class or interface in org.eclipse.swt.awt"><CODE>SWT_AWT.new_Frame(Composite)</CODE></A>
<p>
<b>Note:</b> When you mix components from Swing/AWT and SWT toolkits, there will be two UI event threads,
one for AWT, one for SWT. Most SWT APIs require that you call them from the SWT thread. Swing
has similar restrictions though it does not enforce them as much as SWT.
<p>
Applications need to be aware of the current thread, and, where necessary, schedule tasks to run
on another thread. This has always been required in the pure Swing or SWT environments, but when
mixing Swing and SWT, more of this scheduling will be necessary.
<p>
To schedule work on the AWT event
thread, you can use:
<ul>
<li><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/SwingUtilities.html?is-external=true#invokeLater(java.lang.Runnable)" title="class or interface in javax.swing"><CODE>SwingUtilities.invokeLater(Runnable)</CODE></A>
<li><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/SwingUtilities.html?is-external=true#invokeAndWait(java.lang.Runnable)" title="class or interface in javax.swing"><CODE>SwingUtilities.invokeAndWait(Runnable)</CODE></A>
</ul>
<p>
(or similar methods in <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/EventQueue.html?is-external=true" title="class or interface in java.awt"><CODE>EventQueue</CODE></A>)
<p>
To schedule work on the SWT event thread, use:
<ul>
<li><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Display.html?is-external=true#asyncExec(java.lang.Runnable)" title="class or interface in org.eclipse.swt.widgets"><CODE>Display.asyncExec(Runnable)</CODE></A>
<li><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Display.html?is-external=true#syncExec(java.lang.Runnable)" title="class or interface in org.eclipse.swt.widgets"><CODE>Display.syncExec(Runnable)</CODE></A>
</ul>
Of course, as in single-toolkit environments, long-running tasks should be offloaded from either UI
thread to a background thread. The Eclipse jobs API can be used for this purpose.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.eclipse.swt.widgets.Control"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.eclipse.swt.widgets.<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Control</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#handle" title="class or interface in org.eclipse.swt.widgets">handle</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#EmbeddedSwingComposite(org.eclipse.swt.widgets.Composite, int)">EmbeddedSwingComposite</A></B>(<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Composite</A>&nbsp;parent,
int&nbsp;style)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new instance of this class given its parent
and a style value describing its behavior and appearance.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing">RootPaneContainer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#addRootPaneContainer(java.awt.Frame)">addRootPaneContainer</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</A>&nbsp;frame)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a root pane container to the embedded AWT frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing">JComponent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#createSwingComponent()">createSwingComponent</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the embedded Swing component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#dispose()">dispose</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#forceFocus()">forceFocus</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#getFrame()">getFrame</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the embedded AWT frame.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#populate()">populate</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Populates the embedded composite with the Swing component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#setFocus()">setFocus</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#updateAwtFont(java.awt.Font)">updateAwtFont</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</A>&nbsp;newFont)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs custom updates to newly set fonts.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.swt.widgets.Composite"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.swt.widgets.<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Composite</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#changed(org.eclipse.swt.widgets.Control[])" title="class or interface in org.eclipse.swt.widgets">changed</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#checkSubclass()" title="class or interface in org.eclipse.swt.widgets">checkSubclass</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#computeSize(int, int, boolean)" title="class or interface in org.eclipse.swt.widgets">computeSize</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#getBackgroundMode()" title="class or interface in org.eclipse.swt.widgets">getBackgroundMode</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#getChildren()" title="class or interface in org.eclipse.swt.widgets">getChildren</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#getLayout()" title="class or interface in org.eclipse.swt.widgets">getLayout</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#getLayoutDeferred()" title="class or interface in org.eclipse.swt.widgets">getLayoutDeferred</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#getTabList()" title="class or interface in org.eclipse.swt.widgets">getTabList</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#isLayoutDeferred()" title="class or interface in org.eclipse.swt.widgets">isLayoutDeferred</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#layout()" title="class or interface in org.eclipse.swt.widgets">layout</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#layout(boolean)" title="class or interface in org.eclipse.swt.widgets">layout</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#layout(boolean, boolean)" title="class or interface in org.eclipse.swt.widgets">layout</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#layout(org.eclipse.swt.widgets.Control[])" title="class or interface in org.eclipse.swt.widgets">layout</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#setBackgroundMode(int)" title="class or interface in org.eclipse.swt.widgets">setBackgroundMode</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#setLayout(org.eclipse.swt.widgets.Layout)" title="class or interface in org.eclipse.swt.widgets">setLayout</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#setLayoutDeferred(boolean)" title="class or interface in org.eclipse.swt.widgets">setLayoutDeferred</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#setTabList(org.eclipse.swt.widgets.Control[])" title="class or interface in org.eclipse.swt.widgets">setTabList</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.swt.widgets.Scrollable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.swt.widgets.<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Scrollable.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Scrollable</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Scrollable.html?is-external=true#computeTrim(int, int, int, int)" title="class or interface in org.eclipse.swt.widgets">computeTrim</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Scrollable.html?is-external=true#getClientArea()" title="class or interface in org.eclipse.swt.widgets">getClientArea</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Scrollable.html?is-external=true#getHorizontalBar()" title="class or interface in org.eclipse.swt.widgets">getHorizontalBar</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Scrollable.html?is-external=true#getVerticalBar()" title="class or interface in org.eclipse.swt.widgets">getVerticalBar</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.swt.widgets.Control"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.swt.widgets.<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Control</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addControlListener(org.eclipse.swt.events.ControlListener)" title="class or interface in org.eclipse.swt.widgets">addControlListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addFocusListener(org.eclipse.swt.events.FocusListener)" title="class or interface in org.eclipse.swt.widgets">addFocusListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addHelpListener(org.eclipse.swt.events.HelpListener)" title="class or interface in org.eclipse.swt.widgets">addHelpListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addKeyListener(org.eclipse.swt.events.KeyListener)" title="class or interface in org.eclipse.swt.widgets">addKeyListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addMouseListener(org.eclipse.swt.events.MouseListener)" title="class or interface in org.eclipse.swt.widgets">addMouseListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addMouseMoveListener(org.eclipse.swt.events.MouseMoveListener)" title="class or interface in org.eclipse.swt.widgets">addMouseMoveListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addMouseTrackListener(org.eclipse.swt.events.MouseTrackListener)" title="class or interface in org.eclipse.swt.widgets">addMouseTrackListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addPaintListener(org.eclipse.swt.events.PaintListener)" title="class or interface in org.eclipse.swt.widgets">addPaintListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#addTraverseListener(org.eclipse.swt.events.TraverseListener)" title="class or interface in org.eclipse.swt.widgets">addTraverseListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#computeSize(int, int)" title="class or interface in org.eclipse.swt.widgets">computeSize</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getAccessible()" title="class or interface in org.eclipse.swt.widgets">getAccessible</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getBackground()" title="class or interface in org.eclipse.swt.widgets">getBackground</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getBackgroundImage()" title="class or interface in org.eclipse.swt.widgets">getBackgroundImage</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getBorderWidth()" title="class or interface in org.eclipse.swt.widgets">getBorderWidth</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getBounds()" title="class or interface in org.eclipse.swt.widgets">getBounds</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getCursor()" title="class or interface in org.eclipse.swt.widgets">getCursor</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getEnabled()" title="class or interface in org.eclipse.swt.widgets">getEnabled</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getFont()" title="class or interface in org.eclipse.swt.widgets">getFont</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getForeground()" title="class or interface in org.eclipse.swt.widgets">getForeground</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getLayoutData()" title="class or interface in org.eclipse.swt.widgets">getLayoutData</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getLocation()" title="class or interface in org.eclipse.swt.widgets">getLocation</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getMenu()" title="class or interface in org.eclipse.swt.widgets">getMenu</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getMonitor()" title="class or interface in org.eclipse.swt.widgets">getMonitor</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getParent()" title="class or interface in org.eclipse.swt.widgets">getParent</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getShell()" title="class or interface in org.eclipse.swt.widgets">getShell</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getSize()" title="class or interface in org.eclipse.swt.widgets">getSize</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getToolTipText()" title="class or interface in org.eclipse.swt.widgets">getToolTipText</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#getVisible()" title="class or interface in org.eclipse.swt.widgets">getVisible</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#internal_dispose_GC(int, org.eclipse.swt.graphics.GCData)" title="class or interface in org.eclipse.swt.widgets">internal_dispose_GC</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#internal_new_GC(org.eclipse.swt.graphics.GCData)" title="class or interface in org.eclipse.swt.widgets">internal_new_GC</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#isEnabled()" title="class or interface in org.eclipse.swt.widgets">isEnabled</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#isFocusControl()" title="class or interface in org.eclipse.swt.widgets">isFocusControl</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#isReparentable()" title="class or interface in org.eclipse.swt.widgets">isReparentable</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#isVisible()" title="class or interface in org.eclipse.swt.widgets">isVisible</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#moveAbove(org.eclipse.swt.widgets.Control)" title="class or interface in org.eclipse.swt.widgets">moveAbove</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#moveBelow(org.eclipse.swt.widgets.Control)" title="class or interface in org.eclipse.swt.widgets">moveBelow</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#pack()" title="class or interface in org.eclipse.swt.widgets">pack</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#pack(boolean)" title="class or interface in org.eclipse.swt.widgets">pack</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#redraw()" title="class or interface in org.eclipse.swt.widgets">redraw</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#redraw(int, int, int, int, boolean)" title="class or interface in org.eclipse.swt.widgets">redraw</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeControlListener(org.eclipse.swt.events.ControlListener)" title="class or interface in org.eclipse.swt.widgets">removeControlListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeFocusListener(org.eclipse.swt.events.FocusListener)" title="class or interface in org.eclipse.swt.widgets">removeFocusListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeHelpListener(org.eclipse.swt.events.HelpListener)" title="class or interface in org.eclipse.swt.widgets">removeHelpListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeKeyListener(org.eclipse.swt.events.KeyListener)" title="class or interface in org.eclipse.swt.widgets">removeKeyListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeMouseListener(org.eclipse.swt.events.MouseListener)" title="class or interface in org.eclipse.swt.widgets">removeMouseListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeMouseMoveListener(org.eclipse.swt.events.MouseMoveListener)" title="class or interface in org.eclipse.swt.widgets">removeMouseMoveListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeMouseTrackListener(org.eclipse.swt.events.MouseTrackListener)" title="class or interface in org.eclipse.swt.widgets">removeMouseTrackListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removePaintListener(org.eclipse.swt.events.PaintListener)" title="class or interface in org.eclipse.swt.widgets">removePaintListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#removeTraverseListener(org.eclipse.swt.events.TraverseListener)" title="class or interface in org.eclipse.swt.widgets">removeTraverseListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setBackground(org.eclipse.swt.graphics.Color)" title="class or interface in org.eclipse.swt.widgets">setBackground</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setBackgroundImage(org.eclipse.swt.graphics.Image)" title="class or interface in org.eclipse.swt.widgets">setBackgroundImage</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setBounds(int, int, int, int)" title="class or interface in org.eclipse.swt.widgets">setBounds</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setBounds(org.eclipse.swt.graphics.Rectangle)" title="class or interface in org.eclipse.swt.widgets">setBounds</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setCapture(boolean)" title="class or interface in org.eclipse.swt.widgets">setCapture</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setCursor(org.eclipse.swt.graphics.Cursor)" title="class or interface in org.eclipse.swt.widgets">setCursor</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setEnabled(boolean)" title="class or interface in org.eclipse.swt.widgets">setEnabled</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setFont(org.eclipse.swt.graphics.Font)" title="class or interface in org.eclipse.swt.widgets">setFont</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setForeground(org.eclipse.swt.graphics.Color)" title="class or interface in org.eclipse.swt.widgets">setForeground</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setLayoutData(java.lang.Object)" title="class or interface in org.eclipse.swt.widgets">setLayoutData</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setLocation(int, int)" title="class or interface in org.eclipse.swt.widgets">setLocation</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setLocation(org.eclipse.swt.graphics.Point)" title="class or interface in org.eclipse.swt.widgets">setLocation</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setMenu(org.eclipse.swt.widgets.Menu)" title="class or interface in org.eclipse.swt.widgets">setMenu</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setParent(org.eclipse.swt.widgets.Composite)" title="class or interface in org.eclipse.swt.widgets">setParent</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setRedraw(boolean)" title="class or interface in org.eclipse.swt.widgets">setRedraw</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setSize(int, int)" title="class or interface in org.eclipse.swt.widgets">setSize</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setSize(org.eclipse.swt.graphics.Point)" title="class or interface in org.eclipse.swt.widgets">setSize</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setToolTipText(java.lang.String)" title="class or interface in org.eclipse.swt.widgets">setToolTipText</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#setVisible(boolean)" title="class or interface in org.eclipse.swt.widgets">setVisible</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#toControl(int, int)" title="class or interface in org.eclipse.swt.widgets">toControl</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#toControl(org.eclipse.swt.graphics.Point)" title="class or interface in org.eclipse.swt.widgets">toControl</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#toDisplay(int, int)" title="class or interface in org.eclipse.swt.widgets">toDisplay</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#toDisplay(org.eclipse.swt.graphics.Point)" title="class or interface in org.eclipse.swt.widgets">toDisplay</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#traverse(int)" title="class or interface in org.eclipse.swt.widgets">traverse</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#update()" title="class or interface in org.eclipse.swt.widgets">update</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.swt.widgets.Widget"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.swt.widgets.<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Widget</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#addDisposeListener(org.eclipse.swt.events.DisposeListener)" title="class or interface in org.eclipse.swt.widgets">addDisposeListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#addListener(int, org.eclipse.swt.widgets.Listener)" title="class or interface in org.eclipse.swt.widgets">addListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#checkWidget()" title="class or interface in org.eclipse.swt.widgets">checkWidget</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#getData()" title="class or interface in org.eclipse.swt.widgets">getData</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#getData(java.lang.String)" title="class or interface in org.eclipse.swt.widgets">getData</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#getDisplay()" title="class or interface in org.eclipse.swt.widgets">getDisplay</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#getStyle()" title="class or interface in org.eclipse.swt.widgets">getStyle</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#isDisposed()" title="class or interface in org.eclipse.swt.widgets">isDisposed</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#isListening(int)" title="class or interface in org.eclipse.swt.widgets">isListening</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#notifyListeners(int, org.eclipse.swt.widgets.Event)" title="class or interface in org.eclipse.swt.widgets">notifyListeners</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#removeDisposeListener(org.eclipse.swt.events.DisposeListener)" title="class or interface in org.eclipse.swt.widgets">removeDisposeListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#removeListener(int, org.eclipse.swt.widgets.Listener)" title="class or interface in org.eclipse.swt.widgets">removeListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#removeListener(int, org.eclipse.swt.internal.SWTEventListener)" title="class or interface in org.eclipse.swt.widgets">removeListener</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#setData(java.lang.Object)" title="class or interface in org.eclipse.swt.widgets">setData</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#setData(java.lang.String, java.lang.Object)" title="class or interface in org.eclipse.swt.widgets">setData</A>, <A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#toString()" title="class or interface in org.eclipse.swt.widgets">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="EmbeddedSwingComposite(org.eclipse.swt.widgets.Composite, int)"><!-- --></A><H3>
EmbeddedSwingComposite</H3>
<PRE>
public <B>EmbeddedSwingComposite</B>(<A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Composite</A>&nbsp;parent,
int&nbsp;style)</PRE>
<DL>
<DD>Constructs a new instance of this class given its parent
and a style value describing its behavior and appearance.
<p>
This method must be called from the SWT event thread.
<p>
The style value is either one of the style constants defined in
class <code>SWT</code> which is applicable to instances of this
class, or must be built by <em>bitwise OR</em>'ing together
(that is, using the <code>int</code> "|" operator) two or more
of those <code>SWT</code> style constants. The class description
lists the style constants that are applicable to the class.
Style bits are also inherited from superclasses.
</p>
<p>
The styles SWT.EMBEDDED and SWT.NO_BACKGROUND will be added
to the specified style. Usually, no other style bits are needed.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - a widget which will be the parent of the new instance (cannot be null)<DD><CODE>style</CODE> - the style of widget to construct
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul>
<DD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/SWTException.html?is-external=true" title="class or interface in org.eclipse.swt">SWTException</A></CODE> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the SWT event thread
</ul><DT><B>See Also:</B><DD><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#getStyle()" title="class or interface in org.eclipse.swt.widgets"><CODE>Widget.getStyle()</CODE></A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="populate()"><!-- --></A><H3>
populate</H3>
<PRE>
public void <B>populate</B>()</PRE>
<DL>
<DD>Populates the embedded composite with the Swing component.
<p>
This method must be called from the
SWT event thread.
<p>
The Swing component will be created by calling <A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#createSwingComponent()"><CODE>createSwingComponent()</CODE></A>. The creation is
scheduled asynchronously on the AWT event thread. This method does not wait for completion of this
asynchronous task, so it may return before createSwingComponent() is complete.
<p>
The Swing component is created inside a standard Swing containment hierarchy, rooted in
a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing"><CODE>RootPaneContainer</CODE></A>. Clients can override <A HREF="../../swingintegration/example/EmbeddedSwingComposite.html#addRootPaneContainer(java.awt.Frame)"><CODE>addRootPaneContainer(Frame)</CODE></A>
to provide their own root pane container implementation.
<p>
This method can be called multiple times for a single instance. If an embedded frame exists from
a previous call, it is disposed.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/SWTException.html?is-external=true" title="class or interface in org.eclipse.swt">SWTException</A></CODE> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the SWT event thread
</ul></DL>
</DD>
</DL>
<HR>
<A NAME="createSwingComponent()"><!-- --></A><H3>
createSwingComponent</H3>
<PRE>
protected abstract <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing">JComponent</A> <B>createSwingComponent</B>()</PRE>
<DL>
<DD>Creates the embedded Swing component. This method is called from the AWT event thread.
<p>
Implement this method to provide the Swing component that will be shown inside this composite.
The returned component will be added to the Swing content pane. At least one component must
be created by this method; null is not a valid return value.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a non-null Swing component</DL>
</DD>
</DL>
<HR>
<A NAME="addRootPaneContainer(java.awt.Frame)"><!-- --></A><H3>
addRootPaneContainer</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing">RootPaneContainer</A> <B>addRootPaneContainer</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</A>&nbsp;frame)</PRE>
<DL>
<DD>Adds a root pane container to the embedded AWT frame. Override this to provide your own
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing"><CODE>RootPaneContainer</CODE></A> implementation. In most cases, it is not necessary
to override this method.
<p>
This method is called from the AWT event thread.
<p>
If you are defining your own root pane container, make sure that there is at least one
heavyweight (AWT) component in the frame's containment hierarchy; otherwise, event
processing will not work correctly. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4982522
for more information.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>frame</CODE> - the frame to which the root pane container is added
<DT><B>Returns:</B><DD>a non-null Swing component</DL>
</DD>
</DL>
<HR>
<A NAME="updateAwtFont(java.awt.Font)"><!-- --></A><H3>
updateAwtFont</H3>
<PRE>
protected void <B>updateAwtFont</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</A>&nbsp;newFont)</PRE>
<DL>
<DD>Performs custom updates to newly set fonts. This method is called whenever a change
to the system font through the system settings (i.e. control panel) is detected.
<p>
This method is called from the AWT event thread.
<p>
In most cases it is not necessary to override this method. Normally, the implementation
of this class will automatically propogate font changes to the embedded Swing components
through Swing's Look and Feel support. However, if additional
special processing is necessary, it can be done inside this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newFont</CODE> - New AWT font</DL>
</DD>
</DL>
<HR>
<A NAME="getFrame()"><!-- --></A><H3>
getFrame</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt">Frame</A> <B>getFrame</B>()</PRE>
<DL>
<DD>Returns the embedded AWT frame. The returned frame is the root of the AWT containment
hierarchy for the embedded Swing component. This method can be called from
any thread.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the embedded frame</DL>
</DD>
</DL>
<HR>
<A NAME="setFocus()"><!-- --></A><H3>
setFocus</H3>
<PRE>
public boolean <B>setFocus</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true#setFocus()" title="class or interface in org.eclipse.swt.widgets">setFocus</A></CODE> in class <CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Composite.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Composite</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="forceFocus()"><!-- --></A><H3>
forceFocus</H3>
<PRE>
public boolean <B>forceFocus</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true#forceFocus()" title="class or interface in org.eclipse.swt.widgets">forceFocus</A></CODE> in class <CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Control.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Control</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="dispose()"><!-- --></A><H3>
dispose</H3>
<PRE>
public void <B>dispose</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true#dispose()" title="class or interface in org.eclipse.swt.widgets">dispose</A></CODE> in class <CODE><A HREF="http://help.eclipse.org/help32/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Widget.html?is-external=true" title="class or interface in org.eclipse.swt.widgets">Widget</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../swingintegration/example/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EmbeddedSwingComposite.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../swingintegration/example/AwtEnvironment.html" title="class in swingintegration.example"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?swingintegration/example/EmbeddedSwingComposite.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="EmbeddedSwingComposite.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.eclipse.swt.widgets.Control">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>