class: ewol::widget::Label


Constructor and Destructor:

+                                 Label               (std::string _newLabel);
+ virtual ~Label (void );

Synopsis:

+         const char* const       eventPressed;
+ void init (ewol::widget::Manager & _widgetManager);
+ void setLabel (const std::string & _newLabel);
+ void setValue (const std::string & _newLabel);
+ std::string getLabel (void );
+ std::string getValue (void );
# virtual void onDraw (void );
+ virtual void calculateMinMaxSize (void );
+ virtual void onRegenerateDisplay (void );
+ virtual bool onEventInput (const ewol::event::Input & _event);
+ virtual bool loadXML (exml::Element* _node);

Object Hierarchy:

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

Detail:

eventPressed

+ const char* const eventPressed;



init

+ void init (ewol::widget::Manager & _widgetManager);
Main call of recording the widget on the List of "widget named creator"


Label

+  Label (std::string _newLabel);
Constructor


~Label

+ virtual  ~Label (void );
destructor


setLabel

+ void setLabel (const std::string & _newLabel);
change the label displayed


setValue

+ void setValue (const std::string & _newLabel);



getLabel

+ std::string getLabel (void );
get the current displayed label


getValue

+ std::string 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)


loadXML

+ virtual bool loadXML (exml::Element* _node);
load properties with an XML node.