ALBA
|
#include <albaGUIValidator.h>
Public Member Functions | |
albaGUIValidator (albaObserver *listener, int mid, wxStaticText *win, wxString *var) | |
albaGUIValidator (albaObserver *listener, int mid, wxStaticText *win, albaString *var) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, albaString *var, bool interactive=false, bool multiline=false) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, wxString *var, bool interactive=false, bool multiline=false) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, int *var, int min=-2147483647-1, int max=2147483647) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, float *var, float min=-1.0e+38F, float max=1.0e+38F, int dec_digits=2) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, double *var, double min=-1.0e+299, double max=1.0e+299, int dec_digits=2) | |
albaGUIValidator (albaObserver *listener, int mid, wxSlider *win, int *var, wxTextCtrl *lab) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, int *var, wxSlider *lab, int min=-2147483647-1, int max=2147483647) | |
albaGUIValidator (albaObserver *listener, int mid, albaGUIFloatSlider *win, double *var, wxTextCtrl *lab) | |
albaGUIValidator (albaObserver *listener, int mid, wxTextCtrl *win, double *var, albaGUIFloatSlider *lab, double min=-1.0e+299, double max=1.0e+299) | |
albaGUIValidator (albaObserver *listener, int mid, wxCheckBox *win, int *var) | |
albaGUIValidator (albaObserver *listener, int mid, wxRadioBox *win, int *var) | |
albaGUIValidator (albaObserver *listener, int mid, wxComboBox *win, int *var) | |
albaGUIValidator (albaObserver *listener, int mid, wxListBox *win) | |
albaGUIValidator (albaObserver *listener, int mid, wxListCtrl *win) | |
albaGUIValidator (albaObserver *listener, int mid, wxButton *win) | |
albaGUIValidator (albaObserver *listener, int mid, wxButton *win, albaString *var, wxTextCtrl *lab, bool openfile, const albaString wildcard) | |
albaGUIValidator (albaObserver *listener, int mid, wxButton *win, albaString *var, wxTextCtrl *lab) | |
albaGUIValidator (albaObserver *listener, int mid, wxButton *win, wxColour *var, wxTextCtrl *lab) | |
albaGUIValidator (const albaGUIValidator &val) | |
~albaGUIValidator () | |
virtual wxObject * | Clone (void) const |
bool | Copy (const albaGUIValidator &val) |
virtual bool | IsValid () |
virtual bool | Validate (wxWindow *parent) |
virtual bool | TransferToWindow (void) |
virtual bool | TransferFromWindow (void) |
void | Init (albaObserver *listener, int mid, wxControl *win) |
void | OnChar (wxKeyEvent &event) |
void | OnKeyUp (wxKeyEvent &event) |
void | OnKillFocus (wxFocusEvent &event) |
void | OnScrollEvent (wxScrollEvent &event) |
void | OnCommandEvent (wxCommandEvent &event) |
void | OnButton (wxCommandEvent &event) |
void | GetWidgetData (WidgetDataType &widget_data) |
void | SetWidgetData (WidgetDataType &widget_data) |
Protected Attributes | |
enum VALIDATOR_MODES | m_Mode |
wxStaticText * | m_StaticText |
wxTextCtrl * | m_TextCtrl |
wxSlider * | m_Slider |
albaGUIFloatSlider * | m_FloatSlider |
wxCheckBox * | m_CheckBox |
wxRadioBox * | m_RadioBox |
wxComboBox * | m_ComboBox |
wxButton * | m_Button |
wxListBox * | m_ListBox |
wxListCtrl * | m_ListCtrl |
float * | m_FloatVar |
double * | m_DoubleVar |
int * | m_IntVar |
wxString * | m_StringVar |
albaString * | m_MafStringVar |
wxColour * | m_ColorVar |
float | m_FloatMax |
float | m_FloatMin |
double | m_DoubleMin |
double | m_DoubleMax |
int | m_IntMax |
int | m_IntMin |
WidgetDataType | m_WidgetData |
albaObserver * | m_Listener |
int | m_ModuleId |
int | m_DecimalDigits |
albaString | m_Wildcard |
Definition at line 68 of file albaGUIValidator.h.
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxStaticText * | win, | ||
wxString * | var | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxStaticText * | win, | ||
albaString * | var | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
albaString * | var, | ||
bool | interactive = false , |
||
bool | multiline = false |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
wxString * | var, | ||
bool | interactive = false , |
||
bool | multiline = false |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
int * | var, | ||
int | min = -2147483647-1 , |
||
int | max = 2147483647 |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
float * | var, | ||
float | min = -1.0e+38F , |
||
float | max = 1.0e+38F , |
||
int | dec_digits = 2 |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
double * | var, | ||
double | min = -1.0e+299 , |
||
double | max = 1.0e+299 , |
||
int | dec_digits = 2 |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxSlider * | win, | ||
int * | var, | ||
wxTextCtrl * | lab | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
int * | var, | ||
wxSlider * | lab, | ||
int | min = -2147483647-1 , |
||
int | max = 2147483647 |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
albaGUIFloatSlider * | win, | ||
double * | var, | ||
wxTextCtrl * | lab | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxTextCtrl * | win, | ||
double * | var, | ||
albaGUIFloatSlider * | lab, | ||
double | min = -1.0e+299 , |
||
double | max = 1.0e+299 |
||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxCheckBox * | win, | ||
int * | var | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxRadioBox * | win, | ||
int * | var | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxComboBox * | win, | ||
int * | var | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxListBox * | win | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxListCtrl * | win | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxButton * | win | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxButton * | win, | ||
albaString * | var, | ||
wxTextCtrl * | lab, | ||
bool | openfile, | ||
const albaString | wildcard | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxButton * | win, | ||
albaString * | var, | ||
wxTextCtrl * | lab | ||
) |
albaGUIValidator::albaGUIValidator | ( | albaObserver * | listener, |
int | mid, | ||
wxButton * | win, | ||
wxColour * | var, | ||
wxTextCtrl * | lab | ||
) |
|
inline |
Definition at line 92 of file albaGUIValidator.h.
|
inline |
Definition at line 93 of file albaGUIValidator.h.
|
inlinevirtual |
Definition at line 94 of file albaGUIValidator.h.
bool albaGUIValidator::Copy | ( | const albaGUIValidator & | val | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void albaGUIValidator::Init | ( | albaObserver * | listener, |
int | mid, | ||
wxControl * | win | ||
) |
void albaGUIValidator::OnChar | ( | wxKeyEvent & | event | ) |
void albaGUIValidator::OnKeyUp | ( | wxKeyEvent & | event | ) |
void albaGUIValidator::OnKillFocus | ( | wxFocusEvent & | event | ) |
void albaGUIValidator::OnScrollEvent | ( | wxScrollEvent & | event | ) |
void albaGUIValidator::OnCommandEvent | ( | wxCommandEvent & | event | ) |
void albaGUIValidator::OnButton | ( | wxCommandEvent & | event | ) |
void albaGUIValidator::GetWidgetData | ( | WidgetDataType & | widget_data | ) |
Fill widget_data with the active widget value.
void albaGUIValidator::SetWidgetData | ( | WidgetDataType & | widget_data | ) |
Fill m_WidgetData member variable with widget_data information and validate it.
|
protected |
Definition at line 122 of file albaGUIValidator.h.
|
protected |
Definition at line 124 of file albaGUIValidator.h.
|
protected |
Definition at line 125 of file albaGUIValidator.h.
|
protected |
Definition at line 126 of file albaGUIValidator.h.
|
protected |
Definition at line 127 of file albaGUIValidator.h.
|
protected |
Definition at line 128 of file albaGUIValidator.h.
|
protected |
Definition at line 129 of file albaGUIValidator.h.
|
protected |
Definition at line 130 of file albaGUIValidator.h.
|
protected |
Definition at line 131 of file albaGUIValidator.h.
|
protected |
Definition at line 132 of file albaGUIValidator.h.
|
protected |
Definition at line 133 of file albaGUIValidator.h.
|
protected |
Definition at line 135 of file albaGUIValidator.h.
|
protected |
Definition at line 136 of file albaGUIValidator.h.
|
protected |
Definition at line 137 of file albaGUIValidator.h.
|
protected |
Definition at line 138 of file albaGUIValidator.h.
|
protected |
Definition at line 139 of file albaGUIValidator.h.
|
protected |
Definition at line 140 of file albaGUIValidator.h.
|
protected |
Definition at line 142 of file albaGUIValidator.h.
|
protected |
Definition at line 143 of file albaGUIValidator.h.
|
protected |
Definition at line 144 of file albaGUIValidator.h.
|
protected |
Definition at line 145 of file albaGUIValidator.h.
|
protected |
Definition at line 146 of file albaGUIValidator.h.
|
protected |
Definition at line 147 of file albaGUIValidator.h.
|
protected |
Used in Collaborative Mode and contains the active widget informations.
Definition at line 149 of file albaGUIValidator.h.
|
protected |
Definition at line 151 of file albaGUIValidator.h.
|
protected |
Definition at line 152 of file albaGUIValidator.h.
|
protected |
Number of decimal digits to consider and to show into the widget.
Definition at line 153 of file albaGUIValidator.h.
|
protected |
Definition at line 154 of file albaGUIValidator.h.