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

📄 icon.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JCheckBoxMenuItem.html#JCheckBoxMenuItem(java.lang.String, javax.swing.Icon, boolean)">JCheckBoxMenuItem</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,                  <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,                  boolean&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a check box menu item with the specified text, icon, and selection state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JToggleButton.html#JToggleButton(javax.swing.Icon)">JToggleButton</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an initially unselected toggle button with the specified image but no text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JToggleButton.html#JToggleButton(javax.swing.Icon, boolean)">JToggleButton</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,              boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a toggle button with the specified image  and selection state, but no text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JToggleButton.html#JToggleButton(java.lang.String, javax.swing.Icon)">JToggleButton</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,              <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a toggle button that has the specified text and image, and that is initially unselected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JToggleButton.html#JToggleButton(java.lang.String, javax.swing.Icon, boolean)">JToggleButton</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,              <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,              boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a toggle button with the specified text, image, and selection state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JCheckBox.html#JCheckBox(javax.swing.Icon)">JCheckBox</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an initially unselected check box with an icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JCheckBox.html#JCheckBox(javax.swing.Icon, boolean)">JCheckBox</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,          boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a check box with an icon and specifies whether or not it is initially selected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JCheckBox.html#JCheckBox(java.lang.String, javax.swing.Icon)">JCheckBox</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,          <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an initially unselected check box with  the specified text and icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JCheckBox.html#JCheckBox(java.lang.String, javax.swing.Icon, boolean)">JCheckBox</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,          <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,          boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a check box with text and icon, and specifies whether or not it is initially selected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int, javax.swing.Icon)">JOptionPane</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;message,            int&nbsp;messageType,            int&nbsp;optionType,            <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of <code>JOptionPane</code> to display a message with the specified message type, options, and icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[])">JOptionPane</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;message,            int&nbsp;messageType,            int&nbsp;optionType,            <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,            <A HREF="../../../java/lang/Object.html">Object</A>[]&nbsp;options)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of JOptionPane to display a message with the specified message type, icon, and options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)">JOptionPane</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;message,            int&nbsp;messageType,            int&nbsp;optionType,            <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,            <A HREF="../../../java/lang/Object.html">Object</A>[]&nbsp;options,            <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;initialValue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of <code>JOptionPane</code> to display a message with the specified message type, icon, and options, with the  initially-selected option specified.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JButton.html#JButton(javax.swing.Icon)">JButton</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a button with an icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JButton.html#JButton(java.lang.String, javax.swing.Icon)">JButton</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,        <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a button with initial text and an icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/AbstractAction.html#AbstractAction(java.lang.String, javax.swing.Icon)">AbstractAction</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,               <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines an <code>Action</code> object with the specified description string and a the specified icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JLabel.html#JLabel(java.lang.String, javax.swing.Icon, int)">JLabel</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,       <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,       int&nbsp;horizontalAlignment)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified text, image, and horizontal alignment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JLabel.html#JLabel(javax.swing.Icon, int)">JLabel</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;image,       int&nbsp;horizontalAlignment)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified image and horizontal alignment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JLabel.html#JLabel(javax.swing.Icon)">JLabel</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;image)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButton.html#JRadioButton(javax.swing.Icon)">JRadioButton</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an initially unselected radio button with the specified image but no text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButton.html#JRadioButton(javax.swing.Icon, boolean)">JRadioButton</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,             boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a radio button with the specified image and selection state, but no text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButton.html#JRadioButton(java.lang.String, javax.swing.Icon)">JRadioButton</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,             <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a radio button that has the specified text and image, and that is initially unselected.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButton.html#JRadioButton(java.lang.String, javax.swing.Icon, boolean)">JRadioButton</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,             <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,             boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a radio button that has the specified text, image, and selection state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButtonMenuItem.html#JRadioButtonMenuItem(javax.swing.Icon)">JRadioButtonMenuItem</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JRadioButtonMenuItem</code> with an icon.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButtonMenuItem.html#JRadioButtonMenuItem(java.lang.String, javax.swing.Icon)">JRadioButtonMenuItem</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,                     <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a radio button menu item with the specified text and <code>Icon</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButtonMenuItem.html#JRadioButtonMenuItem(javax.swing.Icon, boolean)">JRadioButtonMenuItem</A></B>(<A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,                     boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a radio button menu item with the specified image and selection state, but no text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/swing/JRadioButtonMenuItem.html#JRadioButtonMenuItem(java.lang.String, javax.swing.Icon, boolean)">JRadioButtonMenuItem</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;text,                     <A HREF="../../../javax/swing/Icon.html">Icon</A>&nbsp;icon,                     boolean&nbsp;selected)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a radio button menu item that has the specified  text, image, and selection state.</TD></TR></TABLE>&nbsp;<P><A NAME="javax.swing.border"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../javax/swing/Icon.html">Icon</A> in <A HREF="../../../javax/swing/border/package-summary.html">javax.swing.border</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../javax/swing/border/package-summary.html">javax.swing.border</A> declared as <A HREF="../../../javax/swing/Icon.html">Icon</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../javax/swing/Icon.html">Icon</A></CODE></FONT></TD><TD><CODE><B>MatteBorder.</B><B><A HREF="../../../javax/swing/border/MatteBorder.html#tileIcon">tileIcon</A></B></CODE>

⌨️ 快捷键说明

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