⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rootpanecontainer.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getRootPane()"><!-- --></A><H3>getRootPane</H3><PRE>public <A HREF="../../javax/swing/JRootPane.html">JRootPane</A> <B>getRootPane</B>()</PRE><DL><DD>Return this component's single JRootPane child.  A conventional implementation of this interface will have all of the other  methods indirect through this one.  The rootPane has two children: the glassPane and the layeredPane.<DD><DL><DT><B>Returns:</B><DD>this components single JRootPane child.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html"><CODE>JRootPane</CODE></A></DL></DD></DL><HR><A NAME="setContentPane(java.awt.Container)"><!-- --></A><H3>setContentPane</H3><PRE>public void <B>setContentPane</B>(<A HREF="../../java/awt/Container.html">Container</A>&nbsp;contentPane)</PRE><DL><DD>The "contentPane" is the primary container for application  specific components.  Applications should add children to  the contentPane, set its layout manager, and so on.   <p> The contentPane my not be null. <p> Generally implemented with  <code>getRootPane().setContentPane(contentPane);</code><DD><DL><DT><B>Parameters:</B><DD><CODE>contentPane</CODE> - the Container to use for the contents of this        JRootPane<DT><B>Throws:</B><DD><CODE><A HREF="../../java/awt/IllegalComponentStateException.html">IllegalComponentStateException</A></CODE> - (a runtime            exception) if the content pane parameter is null<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html#getContentPane()"><CODE>JRootPane.getContentPane()</CODE></A>, <A HREF="../../javax/swing/RootPaneContainer.html#getContentPane()"><CODE>getContentPane()</CODE></A></DL></DD></DL><HR><A NAME="getContentPane()"><!-- --></A><H3>getContentPane</H3><PRE>public <A HREF="../../java/awt/Container.html">Container</A> <B>getContentPane</B>()</PRE><DL><DD>Returns the contentPane.<DD><DL><DT><B>Returns:</B><DD>the value of the contentPane property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setContentPane(java.awt.Container)"><CODE>setContentPane(java.awt.Container)</CODE></A></DL></DD></DL><HR><A NAME="setLayeredPane(javax.swing.JLayeredPane)"><!-- --></A><H3>setLayeredPane</H3><PRE>public void <B>setLayeredPane</B>(<A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A>&nbsp;layeredPane)</PRE><DL><DD>A Container that manages the contentPane and in some cases a menu bar.  The layeredPane can be used by descendants that want to add a child to the RootPaneContainer that isn't layout managed.  For example an internal dialog or a drag and drop effect component. <p> The layeredPane may not be null. <p> Generally implemented with<pre>     getRootPane().setLayeredPane(layeredPane);</pre><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../java/awt/IllegalComponentStateException.html">IllegalComponentStateException</A></CODE> - (a runtime            exception) if the layered pane parameter is null<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getLayeredPane()"><CODE>getLayeredPane()</CODE></A>, <A HREF="../../javax/swing/JRootPane.html#getLayeredPane()"><CODE>JRootPane.getLayeredPane()</CODE></A></DL></DD></DL><HR><A NAME="getLayeredPane()"><!-- --></A><H3>getLayeredPane</H3><PRE>public <A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A> <B>getLayeredPane</B>()</PRE><DL><DD>Returns the layeredPane.<DD><DL><DT><B>Returns:</B><DD>the value of the layeredPane property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setLayeredPane(javax.swing.JLayeredPane)"><CODE>setLayeredPane(javax.swing.JLayeredPane)</CODE></A></DL></DD></DL><HR><A NAME="setGlassPane(java.awt.Component)"><!-- --></A><H3>setGlassPane</H3><PRE>public void <B>setGlassPane</B>(<A HREF="../../java/awt/Component.html">Component</A>&nbsp;glassPane)</PRE><DL><DD>The glassPane is always the first child of the rootPane and the rootPanes layout manager ensures that it's always as big as the rootPane.  By default it's transparent and not visible.  It can be used to temporarily grab all keyboard  and mouse input by adding listeners and then making it visible. by default it's not visible. <p> The glassPane may not be null. <p> Generally implemented with  <code>getRootPane().setGlassPane(glassPane);</code><DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#getGlassPane()"><CODE>getGlassPane()</CODE></A>, <A HREF="../../javax/swing/JRootPane.html#setGlassPane(java.awt.Component)"><CODE>JRootPane.setGlassPane(java.awt.Component)</CODE></A></DL></DD></DL><HR><A NAME="getGlassPane()"><!-- --></A><H3>getGlassPane</H3><PRE>public <A HREF="../../java/awt/Component.html">Component</A> <B>getGlassPane</B>()</PRE><DL><DD>Returns the glassPane.<DD><DL><DT><B>Returns:</B><DD>the value of the glassPane property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RootPaneContainer.html#setGlassPane(java.awt.Component)"><CODE>setGlassPane(java.awt.Component)</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="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/RootPaneContainer.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><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/swing/Renderer.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/swing/Scrollable.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RootPaneContainer.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -