org.processmining.plugins.declare.visualizing
Class BlankButtonGroup

java.lang.Object
  extended by javax.swing.ButtonGroup
      extended by org.processmining.plugins.declare.visualizing.BlankButtonGroup
All Implemented Interfaces:
java.io.Serializable

public class BlankButtonGroup
extends javax.swing.ButtonGroup

Title: DECLARE

Description: Extends the ButtonGroup in such a way, that it is possible to have none of the buttons in the group selected.

Copyright: Copyright (c) 2006

Company: TU/e

Version:
1.0
Author:
Maja Pesic
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.ButtonGroup
buttons
 
Constructor Summary
BlankButtonGroup()
           
 
Method Summary
 void setSelected(javax.swing.ButtonModel m, boolean b)
          Sets the selected value for the ButtonModel.
 
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

BlankButtonGroup

public BlankButtonGroup()
Method Detail

setSelected

public void setSelected(javax.swing.ButtonModel m,
                        boolean b)
Sets the selected value for the ButtonModel. Only one button in the group may be selected at a time. If a button is unselected, then the hidden button 'blank' becomes selected.

Overrides:
setSelected in class javax.swing.ButtonGroup
Parameters:
m - the ButtonModel
b - true if this button is to be selected, otherwise false