📄 jrootpane.html
字号:
<DL><DD>The content pane.</DL><HR><A NAME="layeredPane"><!-- --></A><H3>layeredPane</H3><PRE>protected <A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A> <B>layeredPane</B></PRE><DL><DD>The layered pane that manages the menu bar and content pane.</DL><HR><A NAME="glassPane"><!-- --></A><H3>glassPane</H3><PRE>protected <A HREF="../../java/awt/Component.html">Component</A> <B>glassPane</B></PRE><DL><DD>The glass pane that overlays the menu bar and content pane, so it can intercept mouse movements and such.</DL><HR><A NAME="defaultButton"><!-- --></A><H3>defaultButton</H3><PRE>protected <A HREF="../../javax/swing/JButton.html">JButton</A> <B>defaultButton</B></PRE><DL><DD>The button that gets activated when the pane has the focus and a UI-specific action like pressing the Enter key occurs.</DL><HR><A NAME="defaultPressAction"><!-- --></A><H3>defaultPressAction</H3><PRE>protected javax.swing.JRootPane.DefaultAction <B>defaultPressAction</B></PRE><DL><DD><B>Deprecated.</B> <I>As of Java 2 platform v1.3.</I><P><DD>As of Java 2 platform v1.3 this unusable field is no longer used. To override the default button you should replace the Action in the JRootPane's ActionMap. Please refer to the key bindings specification for further details.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html#defaultButton"><CODE>defaultButton</CODE></A></DL></DD></DL><HR><A NAME="defaultReleaseAction"><!-- --></A><H3>defaultReleaseAction</H3><PRE>protected javax.swing.JRootPane.DefaultAction <B>defaultReleaseAction</B></PRE><DL><DD><B>Deprecated.</B> <I>As of Java 2 platform v1.3.</I><P><DD>As of Java 2 platform v1.3 this unusable field is no longer used. To override the default button you should replace the Action in the JRootPane's ActionMap. Please refer to the key bindings specification for further details.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JRootPane.html#defaultButton"><CODE>defaultButton</CODE></A></DL></DD></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="JRootPane()"><!-- --></A><H3>JRootPane</H3><PRE>public <B>JRootPane</B>()</PRE><DL><DD>Create a JRootPane, setting up its glassPane, LayeredPane, and contentPane.</DL><!-- ============ 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="getUI()"><!-- --></A><H3>getUI</H3><PRE>public <A HREF="../../javax/swing/plaf/RootPaneUI.html">RootPaneUI</A> <B>getUI</B>()</PRE><DL><DD>Returns the L&F object that renders this component.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>LabelUI object<DT><B>Since: </B><DD>1.3</DD></DL></DD></DL><HR><A NAME="setUI(javax.swing.plaf.RootPaneUI)"><!-- --></A><H3>setUI</H3><PRE>public void <B>setUI</B>(<A HREF="../../javax/swing/plaf/RootPaneUI.html">RootPaneUI</A> ui)</PRE><DL><DD>Sets the L&F object that renders this component.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ui</CODE> - the LabelUI L&F object<DT><B>Since: </B><DD>1.3</DD><DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIDefaults.html#getUI(javax.swing.JComponent)"><CODE>UIDefaults.getUI(javax.swing.JComponent)</CODE></A></DL></DD></DL><HR><A NAME="updateUI()"><!-- --></A><H3>updateUI</H3><PRE>public void <B>updateUI</B>()</PRE><DL><DD>Notification from the UIFactory that the L&F has changed.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../javax/swing/JComponent.html#updateUI()">updateUI</A></CODE> in class <CODE><A HREF="../../javax/swing/JComponent.html">JComponent</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#updateUI()"><CODE>JComponent.updateUI()</CODE></A></DL></DD></DL><HR><A NAME="getUIClassID()"><!-- --></A><H3>getUIClassID</H3><PRE>public <A HREF="../../java/lang/String.html">String</A> <B>getUIClassID</B>()</PRE><DL><DD>Returns a string that specifies the name of the l&f class that renders this component.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../javax/swing/JComponent.html#getUIClassID()">getUIClassID</A></CODE> in class <CODE><A HREF="../../javax/swing/JComponent.html">JComponent</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>String "RootPaneUI"<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#getUIClassID()"><CODE>JComponent.getUIClassID()</CODE></A>, <A HREF="../../javax/swing/UIDefaults.html#getUI(javax.swing.JComponent)"><CODE>UIDefaults.getUI(javax.swing.JComponent)</CODE></A></DL></DD></DL><HR><A NAME="createLayeredPane()"><!-- --></A><H3>createLayeredPane</H3><PRE>protected <A HREF="../../javax/swing/JLayeredPane.html">JLayeredPane</A> <B>createLayeredPane</B>()</PRE><DL><DD>Called by the constructor methods to create the default layeredPane. Bt default it creates a new JLayeredPane.<DD><DL></DL></DD></DL><HR><A NAME="createContentPane()"><!-- --></A><H3>createContentPane</H3><PRE>protected <A HREF="../../java/awt/Container.html">Container</A> <B>createContentPane</B>()</PRE><DL><DD>Called by the constructor methods to create the default contentPane. By default this metho
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -