org.dmonix.gui
Class SimpleButtonGroup

java.lang.Object
  extended byjavax.swing.ButtonGroup
      extended byorg.dmonix.gui.SimpleButtonGroup
All Implemented Interfaces:
java.io.Serializable

public class SimpleButtonGroup
extends javax.swing.ButtonGroup

Extends the standard button group with additional methods.

Copyright: Copyright (c) 2003

Company: dmonix.org

Version:
1.0
Author:
Peter Nerg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.ButtonGroup
buttons
 
Constructor Summary
SimpleButtonGroup()
           
 
Method Summary
 javax.swing.AbstractButton getSelectedButton()
          Returns the currently selected button in the group.
 void setSelectionByValue(java.lang.String value)
           
 
Methods inherited from class javax.swing.ButtonGroup
add, getButtonCount, getElements, getSelection, isSelected, remove, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleButtonGroup

public SimpleButtonGroup()
Method Detail

getSelectedButton

public javax.swing.AbstractButton getSelectedButton()
Returns the currently selected button in the group.

Returns:
The selected button, null if none

setSelectionByValue

public void setSelectionByValue(java.lang.String value)


Copyright © 1998-2005 dmonix.org Peter Nerg, All Rights Reserved.