SkHasLabelWidget Class Reference

#include <SkWidget.h>

Inherits SkWidget.

Inherited by SkButtonWidget.

Collaboration diagram for SkHasLabelWidget:
[legend]

List of all members.

Public Member Functions

 SkHasLabelWidget (uint32_t flags=0)
size_t getLabel (SkString *label=NULL) const
size_t getLabel (char lable[]=NULL) const
void setLabel (const SkString &)
void setLabel (const char label[])
void setLabel (const char label[], size_t len)

Protected Member Functions

virtual void onLabelChange ()
virtual void onInflate (const SkDOM &dom, const SkDOM::Node *)

Detailed Description

Definition at line 51 of file SkWidget.h.


Constructor & Destructor Documentation

SkHasLabelWidget::SkHasLabelWidget ( uint32_t  flags = 0  )  [inline]

Definition at line 53 of file SkWidget.h.


Member Function Documentation

size_t SkHasLabelWidget::getLabel ( char  lable[] = NULL  )  const
size_t SkHasLabelWidget::getLabel ( SkString label = NULL  )  const
virtual void SkHasLabelWidget::onInflate ( const SkDOM dom,
const SkDOM::Node node 
) [protected, virtual]

Override this to initialize your subclass from the XML node. Be sure to call the inherited version too

Reimplemented from SkWidget.

Reimplemented in SkButtonWidget, and SkCheckBoxWidget.

virtual void SkHasLabelWidget::onLabelChange (  )  [protected, virtual]
void SkHasLabelWidget::setLabel ( const char  label[],
size_t  len 
)
void SkHasLabelWidget::setLabel ( const char  label[]  ) 
void SkHasLabelWidget::setLabel ( const SkString  ) 

The documentation for this class was generated from the following file:

Generated on Tue Oct 20 10:33:04 2009 for Skia by  doxygen 1.6.1