class: ewol::widget::CheckBox


Description:



Constructor and Destructor:

+                                    CheckBox            (const std::string & newLabel);
+ virtual ~CheckBox (void );

Synopsis:

+         const char* const          eventClicked;
+ void init (ewol::widget::Manager & _widgetManager);
+ void setLabel (std::string newLabel);
+ void setValue (bool val);
+ bool getValue (void );
# virtual void onDraw (void );
+ virtual void calculateMinMaxSize (void );
+ virtual void onRegenerateDisplay (void );
+ virtual bool onEventInput (const ewol::event::Input & _event);
+ virtual bool onEventEntry (const ewol::event::Entry & _event);

Object Hierarchy:

+ewol::Object
+--> +ewol::Widget
+--> ewol::widget::CheckBox

Detail:

eventClicked

+ const char* const eventClicked;



init

+ void init (ewol::widget::Manager & _widgetManager);



CheckBox

+  CheckBox (const std::string & newLabel);



~CheckBox

+ virtual  ~CheckBox (void );



setLabel

+ void setLabel (std::string newLabel);



setValue

+ void setValue (bool val);



getValue

+ bool getValue (void );



onDraw

# virtual void onDraw (void );
Common widget drawing function (called by the drawing thread [Android, X11, ...])


calculateMinMaxSize

+ virtual void calculateMinMaxSize (void );
calculate the minimum and maximum size (need to estimate expend properties of the widget)
Note: : INTERNAL EWOL SYSTEM


onRegenerateDisplay

+ virtual void onRegenerateDisplay (void );
Event generated when a redraw is needed


onEventInput

+ virtual bool onEventInput (const ewol::event::Input & _event);
Event on an input of this Widget (finger, mouse, stilet)


onEventEntry

+ virtual bool onEventEntry (const ewol::event::Entry & _event);
Entry event. represent the physical event : - Keyboard (key event and move event) - Accelerometer - Joystick