class: ewol::widget::List
Constructor and Destructor:
# List ();
+ virtual ~List ();
Synopsis:
# void init ();
+ virtual void calculateMinMaxSize ();
+ void setLabel (std::string _newLabel);
+ void addOObject (ewol::Compositing* _newObject,
int32_t _pos);
+ void clearOObjectList ();
# virtual etk::Color<> getBasicBG ();
# virtual uint32_t getNuberOfColomn ();
# virtual bool getTitle (int32_t _colomn,
std::string & _myTitle,
etk::Color<> & _fg,
etk::Color<> & _bg);
# virtual uint32_t getNuberOfRaw ();
# virtual bool getElement (int32_t _colomn,
int32_t _raw,
std::string & _myTextToWrite,
etk::Color<> & _fg,
etk::Color<> & _bg);
# virtual bool onItemEvent (int32_t _IdInput,
enum ewol::key::status _typeEvent,
int32_t _colomn,
int32_t _raw,
float _x,
float _y);
# void setRawVisible (int32_t _id);
# virtual void onGetFocus ();
# virtual void onLostFocus ();
# virtual void onDraw ();
+ virtual void onRegenerateDisplay ();
+ virtual bool onEventInput (const ewol::event::Input & _event);
Object Hierarchy:
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::WidgetScrolled
+--> ewol::widget::List
+--> ewol::widget::ListFileSystem
Detail:
List
# List ();
init
# void init ();
~List
+ virtual ~List ();
calculateMinMaxSize
+ virtual void calculateMinMaxSize ();
calculate the minimum and maximum size (need to estimate expend properties of the widget)
Note: : INTERNAL EWOL SYSTEM
setLabel
+ void setLabel (std::string _newLabel);
addOObject
+ void addOObject (ewol::Compositing* _newObject,
int32_t _pos);
clearOObjectList
+ void clearOObjectList ();
getBasicBG
# virtual etk::Color<> getBasicBG ();
getNuberOfColomn
# virtual uint32_t getNuberOfColomn ();
getTitle
# virtual bool getTitle (int32_t _colomn,
std::string & _myTitle,
etk::Color<> & _fg,
etk::Color<> & _bg);
getNuberOfRaw
# virtual uint32_t getNuberOfRaw ();
getElement
# virtual bool getElement (int32_t _colomn,
int32_t _raw,
std::string & _myTextToWrite,
etk::Color<> & _fg,
etk::Color<> & _bg);
onItemEvent
# virtual bool onItemEvent (int32_t _IdInput,
enum ewol::key::status _typeEvent,
int32_t _colomn,
int32_t _raw,
float _x,
float _y);
setRawVisible
# void setRawVisible (int32_t _id);
set a raw visible in the main display
Parameter [input]: _id Id of the raw that might be visible.
onGetFocus
# virtual void onGetFocus ();
Event of the focus has been grep by the current widget
onLostFocus
# virtual void onLostFocus ();
Event of the focus has been lost by the current widget
onDraw
# virtual void onDraw ();
Common widget drawing function (called by the drawing thread [Android, X11, ...])
onRegenerateDisplay
+ virtual void onRegenerateDisplay ();
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)
Parameter [input]: _event Event properties
Return: true the event is used<br/>false the event is not used
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::WidgetScrolled
+--> ewol::widget::List
+--> ewol::widget::ListFileSystem
Detail:
List
# List ();
init
# void init ();
~List
+ virtual ~List ();
calculateMinMaxSize
+ virtual void calculateMinMaxSize ();calculate the minimum and maximum size (need to estimate expend properties of the widget)
Note: : INTERNAL EWOL SYSTEM
setLabel
+ void setLabel (std::string _newLabel);
addOObject
+ void addOObject (ewol::Compositing* _newObject,
int32_t _pos);
clearOObjectList
+ void clearOObjectList ();
getBasicBG
# virtual etk::Color<> getBasicBG ();
getNuberOfColomn
# virtual uint32_t getNuberOfColomn ();
getTitle
# virtual bool getTitle (int32_t _colomn,
std::string & _myTitle,
etk::Color<> & _fg,
etk::Color<> & _bg);
getNuberOfRaw
# virtual uint32_t getNuberOfRaw ();
getElement
# virtual bool getElement (int32_t _colomn,
int32_t _raw,
std::string & _myTextToWrite,
etk::Color<> & _fg,
etk::Color<> & _bg);
onItemEvent
# virtual bool onItemEvent (int32_t _IdInput,
enum ewol::key::status _typeEvent,
int32_t _colomn,
int32_t _raw,
float _x,
float _y);
setRawVisible
# void setRawVisible (int32_t _id);set a raw visible in the main display
Parameter [input]: | _id | Id of the raw that might be visible. |
onGetFocus
# virtual void onGetFocus ();Event of the focus has been grep by the current widget
onLostFocus
# virtual void onLostFocus ();Event of the focus has been lost by the current widget
onDraw
# virtual void onDraw ();Common widget drawing function (called by the drawing thread [Android, X11, ...])
onRegenerateDisplay
+ virtual void onRegenerateDisplay ();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)
Parameter [input]: | _event | Event properties |
Return: | true the event is used<br/>false the event is not used |