📄 jradiobutton.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#JRadioButton()">JRadioButton</A></B>()</CODE><BR> Creates an initially unselected radio button with no set text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#JRadioButton(javax.swing.Action)">JRadioButton</A></B>(<A HREF="../../javax/swing/Action.html">Action</A> a)</CODE><BR> Creates a radiobutton where properties are taken from the Action supplied.</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> icon)</CODE><BR> 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> icon, boolean selected)</CODE><BR> 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)">JRadioButton</A></B>(<A HREF="../../java/lang/String.html">String</A> text)</CODE><BR> Creates an unselected radio button with the specified text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#JRadioButton(java.lang.String, boolean)">JRadioButton</A></B>(<A HREF="../../java/lang/String.html">String</A> text, boolean selected)</CODE><BR> Creates a radio button with the specified text and selection state.</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> text, <A HREF="../../javax/swing/Icon.html">Icon</A> icon)</CODE><BR> 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> text, <A HREF="../../javax/swing/Icon.html">Icon</A> icon, boolean selected)</CODE><BR> Creates a radio button that has the specified text, image, and selection state.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#configurePropertiesFromAction(javax.swing.Action)">configurePropertiesFromAction</A></B>(<A HREF="../../javax/swing/Action.html">Action</A> a)</CODE><BR> Factory method which sets the ActionEvent source's properties according to values from the Action instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#createActionPropertyChangeListener(javax.swing.Action)">createActionPropertyChangeListener</A></B>(<A HREF="../../javax/swing/Action.html">Action</A> a)</CODE><BR> Factory method which creates the PropertyChangeListener used to update the ActionEvent source as properties change on its Action instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE><BR> Gets the AccessibleContext associated with this JRadioButton.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#getUIClassID()">getUIClassID</A></B>()</CODE><BR> Returns the name of the L&F class that renders this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#paramString()">paramString</A></B>()</CODE><BR> Returns a string representation of this JRadioButton.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../javax/swing/JRadioButton.html#updateUI()">updateUI</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -