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 (FXObject *tgt=NULL, FXSelector sel=0) | |
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) |
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 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.
|
Copyright © 1997-2005 Jeroen van der Zijp |