com.alee.utils.swing
Class UnselectableButtonGroup
java.lang.Object
javax.swing.ButtonGroup
com.alee.utils.swing.UnselectableButtonGroup
- All Implemented Interfaces:
- java.io.Serializable
public class UnselectableButtonGroup
- extends javax.swing.ButtonGroup
User: mgarin Date: 15.06.11 Time: 15:48
- See Also:
- Serialized Form
Fields inherited from class javax.swing.ButtonGroup |
buttons |
Methods inherited from class javax.swing.ButtonGroup |
add, clearSelection, getButtonCount, getElements, getSelection, isSelected, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnselectableButtonGroup
public UnselectableButtonGroup()
UnselectableButtonGroup
public UnselectableButtonGroup(javax.swing.AbstractButton... buttons)
UnselectableButtonGroup
public UnselectableButtonGroup(java.util.List<javax.swing.AbstractButton> buttons)
UnselectableButtonGroup
public UnselectableButtonGroup(boolean unselectable)
isUnselectable
public boolean isUnselectable()
setUnselectable
public void setUnselectable(boolean unselectable)
setSelected
public void setSelected(javax.swing.ButtonModel model,
boolean selected)
- Overrides:
setSelected
in class javax.swing.ButtonGroup
getButtons
public java.util.List<javax.swing.AbstractButton> getButtons()
addButtonGroupListener
public void addButtonGroupListener(ButtonGroupListener listener)
removeButtonGroupListener
public void removeButtonGroupListener(ButtonGroupListener listener)
fireSelectionChanged
public void fireSelectionChanged()
add
public void add(javax.swing.AbstractButton... b)
add
public void add(java.util.List<javax.swing.AbstractButton> b)
group
public static UnselectableButtonGroup group(javax.swing.AbstractButton... buttons)
group
public static UnselectableButtonGroup group(java.util.List<javax.swing.AbstractButton> buttons)