Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UElemProps Class Reference

Useful information on UElem objects that are retrieved by UEvent::getElem(). More...

#include <uevent.hpp>

List of all members.

Public Member Functions

u_pos getX (class UEvent *)
u_pos getY (class UEvent *)
 return the location of the element relatively to the source VIEW.
u_dim getWidth ()
u_dim getHeight ()
 return the width and the height of the element.

Public Attributes

UElemelem
ULink * elemLink
 points to the element that is located under the mouse when calling UEvent::getElem()/getStr().
URegion region
 the region that encloses this element.
bool exactMatch
 true if this element is exactly located under the Mouse.
int strpos
int strpos2
 strpos = position of the mouse in the string if elem is an UStr.
UWinContext * winContext
UContext * elemContext
 graphical contexts of the enclosing window and this element.


Detailed Description

Useful information on UElem objects that are retrieved by UEvent::getElem().


Member Function Documentation

u_pos UElemProps::getY class UEvent  ) 
 

return the location of the element relatively to the source VIEW.

(ie. the view returned by e.getView())


Member Data Documentation

class UContext* UElemProps::elemContext
 

graphical contexts of the enclosing window and this element.

Note: this data is automatically deleted when UElemProps is deleted

bool UElemProps::exactMatch
 

true if this element is exactly located under the Mouse.

false if this elem is the last element before the Mouse position

URegion UElemProps::region
 

the region that encloses this element.

NOTE that these coordinates are relative to the enclosing WINDOW (not the elem parent!). use methods getX(), getY() for obtaining local coordinates.


The documentation for this class was generated from the following files:
Generated on Thu May 19 12:40:17 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.2