![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDataTarget.h>
Inheritance diagram for FX::FXDataTarget:

Public Types | |
| enum | { ID_VALUE = 1, ID_OPTION = ID_VALUE+10001, ID_LAST = ID_OPTION+10000 } |
Public Member Functions | |
| FXDataTarget () | |
| FXDataTarget (FXObject *tgt, FXSelector sel) | |
| FXDataTarget (FXchar &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXuchar &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXshort &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXushort &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXint &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXuint &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXlong &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXulong &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXfloat &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXdouble &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| FXDataTarget (FXString &value, FXObject *tgt=NULL, FXSelector sel=0) | |
| void | setTarget (FXObject *t) |
| FXObject * | getTarget () const |
| void | setSelector (FXSelector sel) |
| FXSelector | getSelector () const |
| FXuint | getType () const |
| void * | getData () const |
| void | connect () |
| void | connect (FXchar &value) |
| void | connect (FXuchar &value) |
| void | connect (FXshort &value) |
| void | connect (FXushort &value) |
| void | connect (FXint &value) |
| void | connect (FXuint &value) |
| void | connect (FXlong &value) |
| void | connect (FXulong &value) |
| void | connect (FXfloat &value) |
| void | connect (FXdouble &value) |
| void | connect (FXString &value) |
| void | connect (FXObject *tgt, FXSelector sel) |
| void | connect (FXchar &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXuchar &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXshort &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXushort &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXint &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXuint &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXlong &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXulong &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXfloat &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXdouble &value, FXObject *tgt, FXSelector sel) |
| void | connect (FXString &value, FXObject *tgt, FXSelector sel) |
| virtual | ~FXDataTarget () |
Whenever the valuator control changes, the variable connected through the data target is automatically updated; conversely, whenever the program changes a variable, all the connected valuator widgets will be updated to reflect this new value on the display. Data Targets also allow connecting Radio Buttons, Menu Commands, and so on to a variable. In this case, the new value of the connected variable is computed by subtracting ID_OPTION from the message ID.
|
|
|
|
|
Associate with nothing.
|
|
||||||||||||
|
Associate with nothing.
|
|
||||||||||||||||
|
Associate with character variable.
|
|
||||||||||||||||
|
Associate with unsigned character variable.
|
|
||||||||||||||||
|
Associate with signed short variable.
|
|
||||||||||||||||
|
Associate with unsigned short variable.
|
|
||||||||||||||||
|
Associate with int variable.
|
|
||||||||||||||||
|
Associate with unsigned int variable.
|
|
||||||||||||||||
|
Associate with long variable.
|
|
||||||||||||||||
|
Associate with unsigned long variable.
|
|
||||||||||||||||
|
Associate with float variable.
|
|
||||||||||||||||
|
Associate with double variable.
|
|
||||||||||||||||
|
Associate with string variable.
|
|
|
Destroy.
|
|
|
Set the message target object for this data target.
|
|
|
Get the message target object for this data target, if any.
|
|
|
Set the message identifier for this data target.
|
|
|
Get the message identifier for this data target.
|
|
|
Return type of data its connected to.
|
|
|
Return pointer to data its connected to.
|
|
|
Associate with nothing.
|
|
|
Associate with character variable.
|
|
|
Associate with unsigned character variable.
|
|
|
Associate with signed short variable.
|
|
|
Associate with unsigned short variable.
|
|
|
Associate with int variable.
|
|
|
Associate with unsigned int variable.
|
|
|
Associate with long variable.
|
|
|
Associate with unsigned long variable.
|
|
|
Associate with float variable.
|
|
|
Associate with double variable.
|
|
|
Associate with string variable.
|
|
||||||||||||
|
Associate with nothing; also set target and message.
|
|
||||||||||||||||
|
Associate with character variable; also set target and message.
|
|
||||||||||||||||
|
Associate with unsigned character variable; also set target and message.
|
|
||||||||||||||||
|
Associate with signed short variable; also set target and message.
|
|
||||||||||||||||
|
Associate with unsigned short variable; also set target and message.
|
|
||||||||||||||||
|
Associate with int variable; also set target and message.
|
|
||||||||||||||||
|
Associate with unsigned int variable; also set target and message.
|
|
||||||||||||||||
|
Associate with long variable; also set target and message.
|
|
||||||||||||||||
|
Associate with unsigned long variable; also set target and message.
|
|
||||||||||||||||
|
Associate with float variable; also set target and message.
|
|
||||||||||||||||
|
Associate with double variable; also set target and message.
|
|
||||||||||||||||
|
Associate with string variable; also set target and message.
|
|
|