Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeLabelWidget Class Reference

a widget that holds a text label More...

#include <cascade/widgets/CascadeLabelWidget.h>

Inheritance diagram for CascadeLabelWidget:

CascadeWidget CascadeWindow CascadeObject List of all members.

Public Member Functions

 CascadeLabelWidget ()
virtual ~CascadeLabelWidget ()
virtual void SetText (const CascadeString &text)
virtual void GetText (CascadeString &textToSet)
virtual void OnPaint (CascadeBitmap &bitmap)
virtual bool WillAcceptFocus ()

Protected Attributes

CascadeString m_text

Detailed Description

a widget that holds a text label

Skip the description

CascadeLabelWidget is a widget that holds a text label.


class CascadePictureWidget


Constructor & Destructor Documentation

CascadeLabelWidget::CascadeLabelWidget  ) 
 

The CascadeLabelWidget constructor - lightweight.

This constructor is lightweight.

virtual CascadeLabelWidget::~CascadeLabelWidget  )  [virtual]
 

Destructor.

The destructor.


Member Function Documentation

virtual void CascadeLabelWidget::GetText CascadeString textToSet  )  [virtual]
 

gets the text of the label widget

GetText() sets the textToSet with the text of the label widget.

Parameters:
textToSet a string that will be set with the label widget's text
See also:
SetText()

virtual void CascadeLabelWidget::OnPaint CascadeBitmap bitmap  )  [virtual]
 

paints the label widget

OnPaint() provides painting for the label widget

Reimplemented from CascadeWindow.

virtual void CascadeLabelWidget::SetText const CascadeString text  )  [virtual]
 

sets the text for the label widget

SetText() sets the text for the label widget.

Parameters:
text the text to set
See also:
GetText()

virtual bool CascadeLabelWidget::WillAcceptFocus  )  [inline, virtual]
 

overridden to refuse focus

WillAcceptFocus() is overridden so the label widget will not accept (refuse) focus.

Reimplemented from CascadeWidget.


Member Data Documentation

CascadeString CascadeLabelWidget::m_text [protected]
 

the text of the widget

m_text holds the text of the label widget


The documentation for this class was generated from the following file:
Generated on Sun Jul 24 14:27:19 2005 for Cascade Library by  doxygen 1.4.1