public class FitRadioGroup
extends javax.swing.ButtonGroup
Created by Administrator on 2016/5/5/0005.
构造器和说明 |
---|
FitRadioGroup() |
限定符和类型 | 方法和说明 |
---|---|
void |
add(javax.swing.AbstractButton button) |
void |
addActionListener(java.awt.event.ActionListener actionListener)
给所有的按钮加上监听
|
int |
getSelectRadioIndex()
获取当前选中的按钮index
|
boolean |
isEnabled()
设置按钮状态
|
void |
selectIndexButton(int index)
选中指定index的按钮
|
void |
setEnabled(boolean enabled)
设置按钮状态
|
public void add(javax.swing.AbstractButton button)
add
在类中 javax.swing.ButtonGroup
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int getSelectRadioIndex()
public void selectIndexButton(int index)
public void addActionListener(java.awt.event.ActionListener actionListener)