de.lessvoid.nifty.controls
Class RadioButtonStateChangedEvent

java.lang.Object
  extended by de.lessvoid.nifty.controls.RadioButtonStateChangedEvent
All Implemented Interfaces:
NiftyEvent<Void>

public class RadioButtonStateChangedEvent
extends Object
implements NiftyEvent<Void>

Nifty generates this event when a single RadioButton changes its state. It gets selected or unselected. If you're more interested in the state of a whole RadioGroup (a linked collection of individual RadioButtons with only a single one being allowed to be active) you might want to look at the RadioGroupSelectionChangedEvent.

Author:
void

Constructor Summary
RadioButtonStateChangedEvent(RadioButton radioButton, boolean newSelected)
           
 
Method Summary
 RadioButton getRadioButton()
           
 boolean isSelected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButtonStateChangedEvent

public RadioButtonStateChangedEvent(RadioButton radioButton,
                                    boolean newSelected)
Method Detail

getRadioButton

public RadioButton getRadioButton()

isSelected

public boolean isSelected()


Copyright © 2011. All Rights Reserved.