MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TListaW Class Reference

#include <TListaW.h>

Collaboration diagram for TListaW:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TListaW ()
 ~TListaW ()
void NuovoNodo (wxWindow *object, int idx)
void RimuoviNodo (int posizione)
int TrovaPosizione (int idx)
wxWindow * TrovaSuccessivo (int id)
void OrdinaElementi ()
bool ControllaPosizione (wxPoint posizionereale, wxWindow **pannello)
wxWindow * ExtractObject (int position)
 Extract object from the list.

Public Attributes

int numeroelementi

Private Types

typedef TListaW::widget pr

Private Attributes

prfirst
prlast

Classes

struct  widget

Detailed Description

Definition at line 12 of file TListaW.h.


Member Typedef Documentation

typedef struct TListaW::widget TListaW::pr [private]
 


Constructor & Destructor Documentation

TListaW::TListaW  ) 
 

Definition at line 2 of file TListaW.cpp.

References first, last, and numeroelementi.

TListaW::~TListaW  ) 
 

Definition at line 11 of file TListaW.cpp.

References numeroelementi, and RimuoviNodo().


Member Function Documentation

bool TListaW::ControllaPosizione wxPoint  posizionereale,
wxWindow **  pannello
 

Definition at line 150 of file TListaW.cpp.

References first, TListaW::widget::next, numeroelementi, and TListaW::widget::oggetto.

Referenced by PnlFoglio::OnChar().

wxWindow * TListaW::ExtractObject int  position  ) 
 

Extract object from the list.

Parameters:
position the position of the object to extract.
Returns:
point to the extracted object

Definition at line 168 of file TListaW.cpp.

References first, TListaW::widget::next, and TListaW::widget::oggetto.

Referenced by PnlObjTree::Fill().

void TListaW::NuovoNodo wxWindow *  object,
int  idx
 

Definition at line 21 of file TListaW.cpp.

References first, TListaW::widget::id, last, TListaW::widget::next, numeroelementi, TListaW::widget::oggetto, and OrdinaElementi().

Referenced by PnlFoglio::MnuAggiungiEtichettaClick(), PnlFoglio::MnuAggiungiGrafico2DClick(), PnlFoglio::MnuAggiungiGrafico3DClick(), and PnlFoglio::OnChar().

void TListaW::OrdinaElementi  ) 
 

Definition at line 115 of file TListaW.cpp.

References first, TListaW::widget::id, TListaW::widget::next, numeroelementi, and TListaW::widget::oggetto.

Referenced by NuovoNodo().

void TListaW::RimuoviNodo int  posizione  ) 
 

Definition at line 45 of file TListaW.cpp.

References first, last, TListaW::widget::next, and numeroelementi.

Referenced by PnlFoglio::Elimina(), TBasePanel::Elimina(), and ~TListaW().

int TListaW::TrovaPosizione int  idx  ) 
 

Definition at line 96 of file TListaW.cpp.

References first, TListaW::widget::id, and TListaW::widget::next.

Referenced by PnlFoglio::Elimina(), TBasePanel::Elimina(), and TrovaSuccessivo().

wxWindow * TListaW::TrovaSuccessivo int  id  ) 
 

Definition at line 82 of file TListaW.cpp.

References first, TListaW::widget::next, numeroelementi, TListaW::widget::oggetto, and TrovaPosizione().


Member Data Documentation

pr* TListaW::first [private]
 

Definition at line 21 of file TListaW.h.

Referenced by ControllaPosizione(), ExtractObject(), NuovoNodo(), OrdinaElementi(), RimuoviNodo(), TListaW(), TrovaPosizione(), and TrovaSuccessivo().

pr* TListaW::last [private]
 

Definition at line 22 of file TListaW.h.

Referenced by NuovoNodo(), RimuoviNodo(), and TListaW().

int TListaW::numeroelementi
 

Definition at line 27 of file TListaW.h.

Referenced by ControllaPosizione(), PnlObjTree::Fill(), NuovoNodo(), OrdinaElementi(), RimuoviNodo(), TListaW(), TrovaSuccessivo(), and ~TListaW().


The documentation for this class was generated from the following files:

 

SourceForge Logo