ubit::UDataProps Struct Reference

information on UData objects that are being retrieved by UEvent::findData() or UEvent::findStr(). More...

#include <uevent.hpp>

List of all members.

Public Member Functions

int getX (UEvent *)
int getY (UEvent *)
 return the location of the data object relatively to the source VIEW.
int getWidth ()
int getHeight ()
 return the width and the height of the data object.
void set (UContext &, UData *, UChildIter data_iter, UChildIter end_iter, const URegion &, int _strpos, bool exact_match)
void merge (UContext &, UData *, UChildIter data_iter, UChildIter end_iter, const URegion &, bool exact_match)
 impl.

Public Attributes

UDatadata
UChildIter dataIter
UChildIter endIter
 points to the data object that is located under the mouse when calling UEvent::getData()/getStr().
URegion region
 the region that encloses this data object.
bool exactMatch
 true if this data object is exactly located under the Mouse.
int strpos
int strpos2
 strpos = position of the mouse in the string if data is an UStr.
UWinContextwinContext
UContextdataContext
 graphical contexts of the enclosing window and this data object.


Detailed Description

information on UData objects that are being retrieved by UEvent::findData() or UEvent::findStr().


Member Function Documentation

int ubit::UDataProps::getY ( UEvent  ) 

return the location of the data object relatively to the source VIEW.

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


Member Data Documentation

UContext* ubit::UDataProps::dataContext

graphical contexts of the enclosing window and this data object.

Note: this data is automatically deleted when UDataProps is deleted

bool ubit::UDataProps::exactMatch

true if this data object is exactly located under the Mouse.

false if this data is the last data object before the Mouse position

URegion ubit::UDataProps::region

the region that encloses this data object.

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


The documentation for this struct was generated from the following files:
Generated on Mon Jan 29 00:20:49 2007 for Ubit by  doxygen 1.4.7