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

NexSlider,subclass of NexTouch,provides simple methods to control slider component. More...

#include <NexSlider.h>

Inheritance diagram for NexSlider:
NexTouch NexObject

Public Member Functions

 NexSlider (NexPid pid, NexCid cid, const char *name)
 Constructor,inherited NexTouch's constructor function.
 
bool getValue (uint32_t *number)
 Get the value of slider. More...
 
bool setValue (uint32_t number)
 Set the value of slider. More...
 
- Public Member Functions inherited from NexTouch
 NexTouch (NexPid pid, NexCid cid, const char *name)
 Constructor of Nextouch. 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

NexSlider,subclass of NexTouch,provides simple methods to control slider component.

Examples:
CompSlider.ino.

Definition at line 26 of file NexSlider.h.

Member Function Documentation

bool NexSlider::getValue ( uint32_t *  number)

Get the value of slider.

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

Definition at line 35 of file NexSlider.cpp.

bool NexSlider::setValue ( uint32_t  number)

Set the value of slider.

Parameters
number- the value of slider.
Return values
true- success.
false- failed.

Definition at line 52 of file NexSlider.cpp.


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