SkProgressBarView Class Reference

#include <SkProgressBarView.h>

Inherits SkWidgetView.

Collaboration diagram for SkProgressBarView:
[legend]

List of all members.

Public Member Functions

 SkProgressBarView ()
void reset ()
void setProgress (int progress)
void changeProgress (int diff)
void setMax (int max)
int getProgress () const
int getMax () const

Protected Member Functions

virtual void onInflate (const SkDOM &dom, const SkDOM::Node *node)
virtual void onSizeChange ()
virtual void onDraw (SkCanvas *canvas)
virtual bool onEvent (const SkEvent &evt)

Detailed Description

Definition at line 24 of file SkProgressBarView.h.


Constructor & Destructor Documentation

SkProgressBarView::SkProgressBarView (  ) 

Member Function Documentation

void SkProgressBarView::changeProgress ( int  diff  ) 
int SkProgressBarView::getMax (  )  const [inline]

Definition at line 37 of file SkProgressBarView.h.

int SkProgressBarView::getProgress (  )  const [inline]

Definition at line 36 of file SkProgressBarView.h.

virtual void SkProgressBarView::onDraw ( SkCanvas canvas  )  [protected, virtual]
virtual bool SkProgressBarView::onEvent ( const SkEvent  )  [protected, virtual]

Override this to handle events in your subclass. Be sure to call the inherited version for events that you don't handle.

Reimplemented from SkEventSink.

virtual void SkProgressBarView::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 SkWidgetView.

virtual void SkProgressBarView::onSizeChange (  )  [protected, virtual]
void SkProgressBarView::reset (  ) 
void SkProgressBarView::setMax ( int  max  ) 
void SkProgressBarView::setProgress ( int  progress  ) 

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

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