API
For Arduino developers
Public Member Functions | List of all members
NexProgressBar Class Reference

NexProgressBar,subclass of NexTouch,provides simple methods to control progress bar component. More...

#include <NexProgressBar.h>

Inheritance diagram for NexProgressBar:
NexObject

Public Member Functions

 NexProgressBar (NexPid pid, NexCid cid, const char *name)
 Constructor,inherited NexTouch's constructor function.
 
bool getValue (uint32_t *number)
 Get the value of progress bar. More...
 
bool setValue (uint32_t number)
 Set the value of progress bar. More...
 
- Public Member Functions inherited from NexObject
 NexObject (NexPid pid, NexCid cid, const char *name)
 Constructor. More...
 
NexPid getObjPid (void)
 Get page id. More...
 
NexCid getObjCid (void)
 Get component id. More...
 
const char * getObjName (void)
 Get component name. More...
 
void printObjInfo (void)
 Print current object address,page id,component id, component name,pop event function address,push event function address.
 

Detailed Description

NexProgressBar,subclass of NexTouch,provides simple methods to control progress bar component.

Examples:
CompProgressBar.ino.

Definition at line 26 of file NexProgressBar.h.

Member Function Documentation

bool NexProgressBar::getValue ( uint32_t *  number)

Get the value of progress bar.

Parameters
number- an output parameter to save the value of porgress bar.
Return values
true- success.
false- failed.
Examples:
CompProgressBar.ino.

Definition at line 35 of file NexProgressBar.cpp.

bool NexProgressBar::setValue ( uint32_t  number)

Set the value of progress bar.

Parameters
number- the value of progress bar.
Return values
true- success.
false- failed.
Examples:
CompProgressBar.ino.

Definition at line 52 of file NexProgressBar.cpp.


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