30#include <yui/YLabel.h>
32#include "NCWordWrapper.h"
37class NCLabel :
public YLabel,
public NCWidget
41 friend std::ostream & operator<<( std::ostream & str,
const NCLabel & obj );
43 NCLabel & operator=(
const NCLabel & );
44 NCLabel(
const NCLabel & );
53 virtual const char * location()
const {
return "NCLabel"; }
55 virtual void wRedraw();
59 NCLabel( YWidget * parent,
60 const std::string & text,
61 bool isHeading =
false,
62 bool isOutputField =
false );
66 virtual int preferredWidth();
67 virtual int preferredHeight();
69 virtual void setSize(
int newWidth,
int newHeight );
71 virtual void setText(
const std::string & nlabel );
74 virtual void setAutoWrap(
bool autoWrap =
true );
virtual void setEnabled(bool do_bv)
Definition NCLabel.cc:132
Definition NCWordWrapper.h:39
Multi-line string, with optional hotkey, drawable.
Definition NCtext.h:82