public class RadioButtonEnumModel<E extends java.lang.Enum<E>>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.awt.event.ActionListener listener) |
static <E extends java.lang.Enum<E>> |
bindEnum(java.lang.Class<E> e,
javax.swing.ButtonGroup group) |
javax.swing.AbstractButton |
getButton(E e) |
E |
getSelected() |
void |
setSelected(E e) |
void |
setSelected(int index) |
public static <E extends java.lang.Enum<E>> RadioButtonEnumModel<E> bindEnum(java.lang.Class<E> e, javax.swing.ButtonGroup group)
public E getSelected()
public void setSelected(E e)
public void addActionListener(java.awt.event.ActionListener listener)
public void setSelected(int index)
public javax.swing.AbstractButton getButton(E e)