multivalent.gui

Class VRadiogroup

public class VRadiogroup extends Object

Used by VRadiobox to keep track of which in group is selected. x@deprecated - key on some attribute instead, which button queries to see if active, so can share with new behaviors

Version: $Revision$ $Date$

Method Summary
voidaddObserver(VRadiobox r)
Add radiobox to group.
voidclear()
voiddeleteObserver(VRadiobox r)
Remove radiobox from group.
VRadioboxgetActive()
Return active radiobox.
List<VRadiobox>getGroup()
voidsetActive(VRadiobox r)
Set the passed radiobox to be the active one in the group, automatically unselecting the old active.

Method Detail

addObserver

public void addObserver(VRadiobox r)
Add radiobox to group.

clear

public void clear()

deleteObserver

public void deleteObserver(VRadiobox r)
Remove radiobox from group.

getActive

public VRadiobox getActive()
Return active radiobox.

getGroup

public List<VRadiobox> getGroup()

setActive

public void setActive(VRadiobox r)
Set the passed radiobox to be the active one in the group, automatically unselecting the old active.