class PageableContainer : public Pageable

This class is very very interesting !! It is a container : it contains Pageable, so it manages all the contained automatically

Inheritance:


Public Methods

PageableContainer(int slow) throw()
virtual ~PageableContainer() throw()
void virtual add(Pageable& pageable) throw()
Be careful, the pageable is deleted here, if you don't want it, use addWithoutDelete
void virtual addWithoutDelete(Pageable& pageable) throw()
The pageable must be deleted by the caller
void virtual suppr(Pageable *pageable) throw(Exception)
void virtual supprAll() throw()
void virtual paint(WindowPipe& windowPipe) throw()
void virtual reinit() throw()
void virtual keyAction(const Key& key) throw()

Protected Fields

List < Pageable * > list
List < Pageable * > listWithoutDelete

Protected Methods

int virtual virtualWalk() throw()

Inherited from Pageable:


Inherited from Walkable:

Public Methods

int walk() throw(Exception)
int getSlow() const throw()
virtual void setSlow(int slow) throw()

Protected Fields

int s
int t
int returnWalk

Inherited from Paintable:


Inherited from Reinitable:


Inherited from Keyable:


Inherited from Activable:

Public Methods

void virtual activate() throw()
void virtual unactivate() throw()
bool virtual isActive() const throw()

Protected Fields

bool active

Documentation

This class is very very interesting !! It is a container : it contains Pageable, so it manages all the contained automatically. To a call of PageableContainer.paint for example, the PageableContainer call paint of all the contained. Idem with keyAction,reinit,walk... The interesting thing now : a PageableContainer is itself Pageable !! So a PageableContainer can contains PageableContainer : it is a hierarchy ! Example : CharacterMot is Pageable (a char in color). Mot is PageableContainer : it contains CharacterMot to make a word. And Mot is Pageable, so it can be put in a Painter (it is a PageableContainer). So the Painter can contains Mot, but can contains also Anim, LoopAnim, MultiAnim, etc... and all you can imagine !!! This structure programming constructs trees of hierarchical objects. Through the trees passes messages like key evenement, or paint request.<\b><\u> If you want more explanations, e-mail me :
List < Pageable * > list

List < Pageable * > listWithoutDelete

int virtual virtualWalk() throw()

PageableContainer(int slow) throw()

virtual ~PageableContainer() throw()

void virtual add(Pageable& pageable) throw()
Be careful, the pageable is deleted here, if you don't want it, use addWithoutDelete

void virtual addWithoutDelete(Pageable& pageable) throw()
The pageable must be deleted by the caller

void virtual suppr(Pageable *pageable) throw(Exception)

void virtual supprAll() throw()

void virtual paint(WindowPipe& windowPipe) throw()

void virtual reinit() throw()

void virtual keyAction(const Key& key) throw()


Direct child classes:
StripContainer
Painter
Mot
Grille
Author:
David FAUTHOUX

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de