Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Private Attributes
OOInteraction::Cell Class Reference
Inheritance diagram for OOInteraction::Cell:
OOInteraction::ListCell

Public Member Functions

 Cell (int x, int y, int width, int height, Visualization::Item *item, int stringComponentsStart, int stringComponentsEnd=-1)
 
 Cell (int x, int y, Visualization::Item *item, int stringComponentsStart, int stringComponentsEnd=-1)
 
 Cell (int x, Visualization::Item *item, int stringComponentsStart, int stringComponentsEnd=-1)
 
virtual ~Cell ()
 
Visualization::Itemitem () const
 
virtual int offset (const QStringList &allComponents, Qt::Key key, int *length=nullptr)
 
const QRect & region () const
 
virtual void setOffset (int newOffset)
 
int stringComponentsEnd () const
 
int stringComponentsStart () const
 
int x () const
 
int y () const
 

Private Attributes

Visualization::Itemitem_
 
QRect region_
 
int stringComponentsEnd_
 
int stringComponentsStart_
 

Constructor & Destructor Documentation

◆ Cell() [1/3]

OOInteraction::Cell::Cell ( int  x,
Visualization::Item item,
int  stringComponentsStart,
int  stringComponentsEnd = -1 
)

◆ Cell() [2/3]

OOInteraction::Cell::Cell ( int  x,
int  y,
Visualization::Item item,
int  stringComponentsStart,
int  stringComponentsEnd = -1 
)

◆ Cell() [3/3]

OOInteraction::Cell::Cell ( int  x,
int  y,
int  width,
int  height,
Visualization::Item item,
int  stringComponentsStart,
int  stringComponentsEnd = -1 
)

◆ ~Cell()

OOInteraction::Cell::~Cell ( )
virtual

Member Function Documentation

◆ item()

Visualization::Item * OOInteraction::Cell::item ( ) const
inline

◆ offset()

int OOInteraction::Cell::offset ( const QStringList &  allComponents,
Qt::Key  key,
int *  length = nullptr 
)
virtual

Reimplemented in OOInteraction::ListCell.

◆ region()

const QRect & OOInteraction::Cell::region ( ) const
inline

◆ setOffset()

void OOInteraction::Cell::setOffset ( int  newOffset)
virtual

Reimplemented in OOInteraction::ListCell.

◆ stringComponentsEnd()

int OOInteraction::Cell::stringComponentsEnd ( ) const
inline

◆ stringComponentsStart()

int OOInteraction::Cell::stringComponentsStart ( ) const
inline

◆ x()

int OOInteraction::Cell::x ( ) const
inline

◆ y()

int OOInteraction::Cell::y ( ) const
inline

Member Data Documentation

◆ item_

Visualization::Item* OOInteraction::Cell::item_
private

◆ region_

QRect OOInteraction::Cell::region_
private

◆ stringComponentsEnd_

int OOInteraction::Cell::stringComponentsEnd_
private

◆ stringComponentsStart_

int OOInteraction::Cell::stringComponentsStart_
private