|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object javax.swing.ButtonGroup jp.hishidama.swing.radio.ExButtonGroup
public class ExButtonGroup
拡張ButtonGroup.
当ボタングループでラジオボタンをグルーピングすると、カーソルの上下左右で選択肢を移動できる。
コンストラクタの概要 | |
---|---|
ExButtonGroup()
コンストラクター. |
|
ExButtonGroup(AbstractButton... bs)
コンストラクター. |
メソッドの概要 | |
---|---|
void |
add(AbstractButton b)
|
int |
getSelectedIndex()
選択インデックス取得 |
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
remove(AbstractButton b)
|
void |
setSelectedIndex(int index)
選択 |
クラス javax.swing.ButtonGroup から継承されたメソッド |
---|
clearSelection, getButtonCount, getElements, getSelection, isSelected, setSelected |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ExButtonGroup()
public ExButtonGroup(AbstractButton... bs)
bs
- ボタンadd(AbstractButton)
メソッドの詳細 |
---|
public void add(AbstractButton b)
ButtonGroup
内の add
public void remove(AbstractButton b)
ButtonGroup
内の remove
public void setSelectedIndex(int index)
index
- インデックスpublic int getSelectedIndex()
public void keyPressed(KeyEvent e)
KeyListener
内の keyPressed
public void keyReleased(KeyEvent e)
KeyListener
内の keyReleased
public void keyTyped(KeyEvent e)
KeyListener
内の keyTyped
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |