37class NCCheckBoxFrame :
public YCheckBoxFrame,
public NCWidget
41 friend std::ostream & operator<<( std::ostream & str,
const NCCheckBoxFrame & obj );
43 NCCheckBoxFrame & operator=(
const NCCheckBoxFrame & );
44 NCCheckBoxFrame(
const NCCheckBoxFrame & );
54 virtual const char * location()
const {
return "NCCheckBoxFrame"; }
56 virtual void wRedraw();
60 NCCheckBoxFrame( YWidget * parent,
const std::string & label,
62 virtual ~NCCheckBoxFrame();
64 virtual int preferredWidth();
65 virtual int preferredHeight();
67 virtual void setSize(
int newWidth,
int newHeight );
69 virtual void setLabel(
const std::string & nlabel );
73 virtual bool getValue() {
return isEnabled; }
77 virtual void setValue(
bool enable ) { isEnabled = enable; Redraw();}
79 virtual bool setKeyboardFocus();
85 bool getParentValue( NCWidget * widget,
bool initial );