30 #include <yui/YIntField.h>
38 friend std::ostream & operator<<( std::ostream & STREAM,
const NCIntField & OBJ );
44 static const unsigned taglen;
59 virtual const char * location()
const {
return "NCIntField"; }
61 virtual void wCreate(
const wrect & newrect );
62 virtual void wDelete();
64 virtual void wRedraw();
66 bool Increment(
const bool bigstep =
false );
67 bool Decrement(
const bool bigstep =
false );
69 int enterPopup(
wchar_t first = L
'\0' );
74 const std::string & label,
75 int minValue,
int maxValue,
79 virtual int preferredWidth();
80 virtual int preferredHeight();
82 virtual void setSize(
int newWidth,
int newHeight );
84 virtual void setLabel(
const std::string & nlabel );
86 virtual void setValueInternal(
int newValue );
88 virtual int value() {
return cvalue; }
92 virtual bool setKeyboardFocus()
95 return YWidget::setKeyboardFocus();
104 #endif // NCIntField_h
virtual void setEnabled(bool do_bv)