Class: widget::Label
Synopsis:
+ static void init (ewol::WidgetManager & _widgetManager);
+ Label (std::string _newLabel);
+ ~Label (void);
+ void setLabel (const std::string & _newLabel);
+ void setValue (const std::string & _newLabel);
+ std::string getLabel (void);
+ std::string getValue (void);
+ void calculateMinMaxSize (void);
+ void onRegenerateDisplay (void);
+ bool onEventInput (const ewol::EventInput & _event);
+ bool loadXML (exml::Element * _node);
# void onDraw (void);
Object Hierarchy:
ewol::EObject +--> ewol::Widget +--> widget::Label
Description:
/** * @ingroup ewolWidgetGroup */Detail:
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
Main call of recording the widget on the List of "widget named creator"
widget::Label ()
Label(std::string _newLabel);
Constructor
Parameter [input]: _newLabel The displayed decorated text.
widget::~Label ()
~Label(void);
destructor
setLabel ()
void setLabel(const std::string & _newLabel);
change the label displayed
Parameter [input]: _newLabel The displayed decorated text.
setValue ()
void setValue(const std::string & _newLabel);
getLabel ()
std::string getLabel(void);
get the current displayed label
Return: The displayed decorated text.
getValue ()
std::string getValue(void);
calculateMinMaxSize ()
void calculateMinMaxSize(void);
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
loadXML ()
bool loadXML(exml::Element * _node);
onDraw ()
void onDraw(void);
widget::init ()
static void init(ewol::WidgetManager & _widgetManager);
Main call of recording the widget on the List of "widget named creator"
widget::Label ()
Label(std::string _newLabel);
Constructor
-
Parameter [input]: _newLabel The displayed decorated text.
widget::~Label ()
~Label(void);
destructor
setLabel ()
void setLabel(const std::string & _newLabel);
change the label displayed
-
Parameter [input]: _newLabel The displayed decorated text.
setValue ()
void setValue(const std::string & _newLabel);
getLabel ()
std::string getLabel(void);
get the current displayed label
-
Return: The displayed decorated text.
getValue ()
std::string getValue(void);
calculateMinMaxSize ()
void calculateMinMaxSize(void);
onRegenerateDisplay ()
void onRegenerateDisplay(void);
onEventInput ()
bool onEventInput(const ewol::EventInput & _event);
loadXML ()
bool loadXML(exml::Element * _node);
onDraw ()
void onDraw(void);