36class NCRadioButton :
public YRadioButton,
public NCWidget
40 friend std::ostream & operator<<( std::ostream & str,
const NCRadioButton & obj );
42 NCRadioButton & operator=(
const NCRadioButton & );
43 NCRadioButton(
const NCRadioButton & );
50 virtual const char * location()
const {
return "NCRadioButton"; }
52 virtual void wRedraw();
56 NCRadioButton( YWidget * parent,
57 const std::string & label,
60 virtual ~NCRadioButton();
62 virtual int preferredWidth();
63 virtual int preferredHeight();
65 virtual void setSize(
int newWidth,
int newHeight );
67 virtual void setLabel(
const std::string & nlabel );
69 virtual void setValue(
bool newval );
70 virtual bool value() {
return checked; }
76 virtual bool setKeyboardFocus()
79 return YWidget::setKeyboardFocus();