com.alee.utils.swing
Class UnselectableButtonGroup

java.lang.Object
  extended by javax.swing.ButtonGroup
      extended by 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

Field Summary
 
Fields inherited from class javax.swing.ButtonGroup
buttons
 
Constructor Summary
UnselectableButtonGroup()
           
UnselectableButtonGroup(javax.swing.AbstractButton... buttons)
           
UnselectableButtonGroup(boolean unselectable)
           
UnselectableButtonGroup(java.util.List<javax.swing.AbstractButton> buttons)
           
 
Method Summary
 void add(javax.swing.AbstractButton... b)
           
 void add(java.util.List<javax.swing.AbstractButton> b)
           
 void addButtonGroupListener(ButtonGroupListener listener)
           
 void fireSelectionChanged()
           
 java.util.List<javax.swing.AbstractButton> getButtons()
           
static UnselectableButtonGroup group(javax.swing.AbstractButton... buttons)
           
static UnselectableButtonGroup group(java.util.List<javax.swing.AbstractButton> buttons)
           
 boolean isUnselectable()
           
 void removeButtonGroupListener(ButtonGroupListener listener)
           
 void setSelected(javax.swing.ButtonModel model, boolean selected)
           
 void setUnselectable(boolean unselectable)
           
 
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
 

Constructor Detail

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)
Method Detail

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)