class: ewol::widget::List


Constructor and Destructor:

+                                         List                   (void );
+ virtual ~List (void );

Synopsis:

+ virtual void                            calculateMinMaxSize    (void );
+ void setLabel (std::string _newLabel);
+ void addOObject (ewol::Compositing* _newObject,
int32_t _pos);
+ void clearOObjectList (void );
# virtual etk::Color<> getBasicBG (void );
# virtual uint32_t getNuberOfColomn (void );
# virtual bool getTitle (int32_t _colomn,
std::string & _myTitle,
etk::Color<> & _fg,
etk::Color<> & _bg);
# virtual uint32_t getNuberOfRaw (void );
# 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 (void );
# virtual void onLostFocus (void );
# virtual void onDraw (void );
+ virtual void onRegenerateDisplay (void );
+ virtual bool onEventInput (const ewol::event::Input & _event);

Object Hierarchy:

+ewol::Object
+--> +ewol::Widget
+--> +ewol::widget::WidgetScrooled
+--> ewol::widget::List
+--> ewol::widget::ListFileSystem

Detail:

List

+  List (void );



~List

+ virtual  ~List (void );



calculateMinMaxSize

+ virtual void calculateMinMaxSize (void );
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 (void );



getBasicBG

# virtual etk::Color<> getBasicBG (void );



getNuberOfColomn

# virtual uint32_t getNuberOfColomn (void );



getTitle

# virtual bool getTitle (int32_t _colomn,
std::string & _myTitle,
etk::Color<> & _fg,
etk::Color<> & _bg);



getNuberOfRaw

# virtual uint32_t getNuberOfRaw (void );



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


onGetFocus

# virtual void onGetFocus (void );
Event of the focus has been grep by the current widget


onLostFocus

# virtual void onLostFocus (void );
Event of the focus has been lost by the current widget


onDraw

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


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)