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

📄 uimanager.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
public static <A HREF="../../java/awt/Color.html">Color</A> <B>getColor</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns a drawing color from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the color<DT><B>Returns:</B><DD>the Color object</DL></DD></DL><HR><A NAME="getIcon(java.lang.Object)"><!-- --></A><H3>getIcon</H3><PRE>public static <A HREF="../../javax/swing/Icon.html">Icon</A> <B>getIcon</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns an Icon from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the icon<DT><B>Returns:</B><DD>the Icon object</DL></DD></DL><HR><A NAME="getBorder(java.lang.Object)"><!-- --></A><H3>getBorder</H3><PRE>public static <A HREF="../../javax/swing/border/Border.html">Border</A> <B>getBorder</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns a border from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the border<DT><B>Returns:</B><DD>the Border object</DL></DD></DL><HR><A NAME="getString(java.lang.Object)"><!-- --></A><H3>getString</H3><PRE>public static <A HREF="../../java/lang/String.html">String</A> <B>getString</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns a string from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the string<DT><B>Returns:</B><DD>the String</DL></DD></DL><HR><A NAME="getInt(java.lang.Object)"><!-- --></A><H3>getInt</H3><PRE>public static int <B>getInt</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns an int from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the int<DT><B>Returns:</B><DD>the int</DL></DD></DL><HR><A NAME="getInsets(java.lang.Object)"><!-- --></A><H3>getInsets</H3><PRE>public static <A HREF="../../java/awt/Insets.html">Insets</A> <B>getInsets</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns an Insets object from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the Insets object<DT><B>Returns:</B><DD>the Insets object</DL></DD></DL><HR><A NAME="getDimension(java.lang.Object)"><!-- --></A><H3>getDimension</H3><PRE>public static <A HREF="../../java/awt/Dimension.html">Dimension</A> <B>getDimension</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns a dimension from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the dimension object<DT><B>Returns:</B><DD>the Dimension object</DL></DD></DL><HR><A NAME="get(java.lang.Object)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../java/lang/Object.html">Object</A> <B>get</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key)</PRE><DL><DD>Returns an object from the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the desired object<DT><B>Returns:</B><DD>the Object</DL></DD></DL><HR><A NAME="put(java.lang.Object, java.lang.Object)"><!-- --></A><H3>put</H3><PRE>public static <A HREF="../../java/lang/Object.html">Object</A> <B>put</B>(<A HREF="../../java/lang/Object.html">Object</A>&nbsp;key,                         <A HREF="../../java/lang/Object.html">Object</A>&nbsp;value)</PRE><DL><DD>Stores an object in the defaults table.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - an Object specifying the retrieval key<DD><CODE>value</CODE> - the Object to store<DT><B>Returns:</B><DD>the Object returned by <A HREF="../../javax/swing/UIDefaults.html#put(java.lang.Object, java.lang.Object)"><CODE>UIDefaults.put(java.lang.Object, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="getUI(javax.swing.JComponent)"><!-- --></A><H3>getUI</H3><PRE>public static <A HREF="../../javax/swing/plaf/ComponentUI.html">ComponentUI</A> <B>getUI</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;target)</PRE><DL><DD>Returns the L&F object that renders the target component.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>target</CODE> - the JComponent to render<DT><B>Returns:</B><DD>the ComponentUI object that renders the target component</DL></DD></DL><HR><A NAME="getLookAndFeelDefaults()"><!-- --></A><H3>getLookAndFeelDefaults</H3><PRE>public static <A HREF="../../javax/swing/UIDefaults.html">UIDefaults</A> <B>getLookAndFeelDefaults</B>()</PRE><DL><DD>Returns the default values for this look and feel.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an UIDefaults object containing the default values</DL></DD></DL><HR><A NAME="addAuxiliaryLookAndFeel(javax.swing.LookAndFeel)"><!-- --></A><H3>addAuxiliaryLookAndFeel</H3><PRE>public static void <B>addAuxiliaryLookAndFeel</B>(<A HREF="../../javax/swing/LookAndFeel.html">LookAndFeel</A>&nbsp;laf)</PRE><DL><DD>Add a LookAndFeel to the list of auxiliary look and feels.  The auxiliary look and feels tell the multiplexing look and feel what other LookAndFeel classes for a component instance are to be used  in addition to the default LookAndFeel class when creating a  multiplexing UI.  The change will only take effect when a new UI class is created or when the default look and feel is changed on a component instance. <p>Note these are not the same as the installed look and feels.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>laf</CODE> - the LookAndFeel object<DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIManager.html#removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)"><CODE>removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#setLookAndFeel(javax.swing.LookAndFeel)"><CODE>setLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#getAuxiliaryLookAndFeels()"><CODE>getAuxiliaryLookAndFeels()</CODE></A>, <A HREF="../../javax/swing/UIManager.html#getInstalledLookAndFeels()"><CODE>getInstalledLookAndFeels()</CODE></A></DL></DD></DL><HR><A NAME="removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)"><!-- --></A><H3>removeAuxiliaryLookAndFeel</H3><PRE>public static boolean <B>removeAuxiliaryLookAndFeel</B>(<A HREF="../../javax/swing/LookAndFeel.html">LookAndFeel</A>&nbsp;laf)</PRE><DL><DD>Remove a LookAndFeel from the list of auxiliary look and feels.  The auxiliary look and feels tell the multiplexing look and feel what other LookAndFeel classes for a component instance are to be used  in addition to the default LookAndFeel class when creating a  multiplexing UI.  The change will only take effect when a new UI class is created or when the default look and feel is changed on a component instance. <p>Note these are not the same as the installed look and feels.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the LookAndFeel was removed from the list<DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIManager.html#removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)"><CODE>removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#getAuxiliaryLookAndFeels()"><CODE>getAuxiliaryLookAndFeels()</CODE></A>, <A HREF="../../javax/swing/UIManager.html#setLookAndFeel(javax.swing.LookAndFeel)"><CODE>setLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#getInstalledLookAndFeels()"><CODE>getInstalledLookAndFeels()</CODE></A></DL></DD></DL><HR><A NAME="getAuxiliaryLookAndFeels()"><!-- --></A><H3>getAuxiliaryLookAndFeels</H3><PRE>public static <A HREF="../../javax/swing/LookAndFeel.html">LookAndFeel</A>[] <B>getAuxiliaryLookAndFeels</B>()</PRE><DL><DD>Return the list of auxiliary look and feels (can be null).  The auxiliary look and feels tell the multiplexing look and feel what other LookAndFeel classes for a component instance are to be used  in addition to the default LookAndFeel class when creating a  multiplexing UI.   <p>Note these are not the same as the installed look and feels.<DD><DL></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIManager.html#addAuxiliaryLookAndFeel(javax.swing.LookAndFeel)"><CODE>addAuxiliaryLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)"><CODE>removeAuxiliaryLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#setLookAndFeel(javax.swing.LookAndFeel)"><CODE>setLookAndFeel(javax.swing.LookAndFeel)</CODE></A>, <A HREF="../../javax/swing/UIManager.html#getInstalledLookAndFeels()"><CODE>getInstalledLookAndFeels()</CODE></A></DL></DD></DL><HR><A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>addPropertyChangeListener</H3><PRE>public static void <B>addPropertyChangeListener</B>(<A HREF="../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A>&nbsp;listener)</PRE><DL><DD>Add a PropertyChangeListener to the listener list. The listener is registered for all properties.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - The PropertyChangeListener to be added<DT><B>See Also: </B><DD><A HREF="../../java/beans/PropertyChangeSupport.html"><CODE>PropertyChangeSupport</CODE></A></DL></DD></DL><HR><A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3>removePropertyChangeListener</H3><PRE>public static void <B>removePropertyChangeListener</B>(<A HREF="../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A>&nbsp;listener)</PRE><DL><DD>Remove a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - The PropertyChangeListener to be removed<DT><B>See Also: </B><DD><A HREF="../../java/beans/PropertyChangeSupport.html"><CODE>PropertyChangeSupport</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/UIManager.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/UIDefaults.ProxyLazyValue.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/swing/UIManager.LookAndFeelInfo.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="UIManager.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;FIELD&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><!-- =========== 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 + -