25 #ifndef NCCheckBoxFrame_h
26 #define NCCheckBoxFrame_h
30 #include <yui/YCheckBoxFrame.h>
32 #include "NCCheckBox.h"
41 friend std::ostream & operator<<( std::ostream & str,
const NCCheckBoxFrame & obj );
54 virtual const char * location()
const {
return "NCCheckBoxFrame"; }
56 virtual void wRedraw();
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 );
virtual void setEnabled(bool do_bv)
Pure virtual to make sure every widget implements it.