ALBA
Public Member Functions | Protected Attributes | List of all members
albaGUIValidator Class Reference

#include <albaGUIValidator.h>

Inheritance diagram for albaGUIValidator:
Inheritance graph
[legend]
Collaboration diagram for albaGUIValidator:
Collaboration graph
[legend]

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
 
albaGUIFloatSliderm_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
 
albaStringm_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
 
albaObserverm_Listener
 
int m_ModuleId
 
int m_DecimalDigits
 
albaString m_Wildcard
 

Detailed Description

Definition at line 68 of file albaGUIValidator.h.

Constructor & Destructor Documentation

◆ albaGUIValidator() [1/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxStaticText *  win,
wxString *  var 
)

◆ albaGUIValidator() [2/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxStaticText *  win,
albaString var 
)

◆ albaGUIValidator() [3/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxTextCtrl *  win,
albaString var,
bool  interactive = false,
bool  multiline = false 
)

◆ albaGUIValidator() [4/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxTextCtrl *  win,
wxString *  var,
bool  interactive = false,
bool  multiline = false 
)

◆ albaGUIValidator() [5/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxTextCtrl *  win,
int *  var,
int  min = -2147483647-1,
int  max = 2147483647 
)

◆ albaGUIValidator() [6/21]

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() [7/21]

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() [8/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxSlider *  win,
int *  var,
wxTextCtrl *  lab 
)

◆ albaGUIValidator() [9/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxTextCtrl *  win,
int *  var,
wxSlider *  lab,
int  min = -2147483647-1,
int  max = 2147483647 
)

◆ albaGUIValidator() [10/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
albaGUIFloatSlider win,
double *  var,
wxTextCtrl *  lab 
)

◆ albaGUIValidator() [11/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxTextCtrl *  win,
double *  var,
albaGUIFloatSlider lab,
double  min = -1.0e+299,
double  max = 1.0e+299 
)

◆ albaGUIValidator() [12/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxCheckBox *  win,
int *  var 
)

◆ albaGUIValidator() [13/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxRadioBox *  win,
int *  var 
)

◆ albaGUIValidator() [14/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxComboBox *  win,
int *  var 
)

◆ albaGUIValidator() [15/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxListBox *  win 
)

◆ albaGUIValidator() [16/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxListCtrl *  win 
)

◆ albaGUIValidator() [17/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxButton *  win 
)

◆ albaGUIValidator() [18/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxButton *  win,
albaString var,
wxTextCtrl *  lab,
bool  openfile,
const albaString  wildcard 
)

◆ albaGUIValidator() [19/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxButton *  win,
albaString var,
wxTextCtrl *  lab 
)

◆ albaGUIValidator() [20/21]

albaGUIValidator::albaGUIValidator ( albaObserver listener,
int  mid,
wxButton *  win,
wxColour *  var,
wxTextCtrl *  lab 
)

◆ albaGUIValidator() [21/21]

albaGUIValidator::albaGUIValidator ( const albaGUIValidator val)
inline

Definition at line 92 of file albaGUIValidator.h.

◆ ~albaGUIValidator()

albaGUIValidator::~albaGUIValidator ( )
inline

Definition at line 93 of file albaGUIValidator.h.

Member Function Documentation

◆ Clone()

virtual wxObject * albaGUIValidator::Clone ( void  ) const
inlinevirtual

Definition at line 94 of file albaGUIValidator.h.

◆ Copy()

bool albaGUIValidator::Copy ( const albaGUIValidator val)

◆ IsValid()

virtual bool albaGUIValidator::IsValid ( )
virtual

◆ Validate()

virtual bool albaGUIValidator::Validate ( wxWindow *  parent)
virtual

◆ TransferToWindow()

virtual bool albaGUIValidator::TransferToWindow ( void  )
virtual

◆ TransferFromWindow()

virtual bool albaGUIValidator::TransferFromWindow ( void  )
virtual

◆ Init()

void albaGUIValidator::Init ( albaObserver listener,
int  mid,
wxControl *  win 
)

◆ OnChar()

void albaGUIValidator::OnChar ( wxKeyEvent &  event)

◆ OnKeyUp()

void albaGUIValidator::OnKeyUp ( wxKeyEvent &  event)

◆ OnKillFocus()

void albaGUIValidator::OnKillFocus ( wxFocusEvent &  event)

◆ OnScrollEvent()

void albaGUIValidator::OnScrollEvent ( wxScrollEvent &  event)

◆ OnCommandEvent()

void albaGUIValidator::OnCommandEvent ( wxCommandEvent &  event)

◆ OnButton()

void albaGUIValidator::OnButton ( wxCommandEvent &  event)

◆ GetWidgetData()

void albaGUIValidator::GetWidgetData ( WidgetDataType widget_data)

Fill widget_data with the active widget value.

◆ SetWidgetData()

void albaGUIValidator::SetWidgetData ( WidgetDataType widget_data)

Fill m_WidgetData member variable with widget_data information and validate it.

Member Data Documentation

◆ m_Mode

enum VALIDATOR_MODES albaGUIValidator::m_Mode
protected

Definition at line 122 of file albaGUIValidator.h.

◆ m_StaticText

wxStaticText* albaGUIValidator::m_StaticText
protected

Definition at line 124 of file albaGUIValidator.h.

◆ m_TextCtrl

wxTextCtrl* albaGUIValidator::m_TextCtrl
protected

Definition at line 125 of file albaGUIValidator.h.

◆ m_Slider

wxSlider* albaGUIValidator::m_Slider
protected

Definition at line 126 of file albaGUIValidator.h.

◆ m_FloatSlider

albaGUIFloatSlider* albaGUIValidator::m_FloatSlider
protected

Definition at line 127 of file albaGUIValidator.h.

◆ m_CheckBox

wxCheckBox* albaGUIValidator::m_CheckBox
protected

Definition at line 128 of file albaGUIValidator.h.

◆ m_RadioBox

wxRadioBox* albaGUIValidator::m_RadioBox
protected

Definition at line 129 of file albaGUIValidator.h.

◆ m_ComboBox

wxComboBox* albaGUIValidator::m_ComboBox
protected

Definition at line 130 of file albaGUIValidator.h.

◆ m_Button

wxButton* albaGUIValidator::m_Button
protected

Definition at line 131 of file albaGUIValidator.h.

◆ m_ListBox

wxListBox* albaGUIValidator::m_ListBox
protected

Definition at line 132 of file albaGUIValidator.h.

◆ m_ListCtrl

wxListCtrl* albaGUIValidator::m_ListCtrl
protected

Definition at line 133 of file albaGUIValidator.h.

◆ m_FloatVar

float* albaGUIValidator::m_FloatVar
protected

Definition at line 135 of file albaGUIValidator.h.

◆ m_DoubleVar

double* albaGUIValidator::m_DoubleVar
protected

Definition at line 136 of file albaGUIValidator.h.

◆ m_IntVar

int* albaGUIValidator::m_IntVar
protected

Definition at line 137 of file albaGUIValidator.h.

◆ m_StringVar

wxString* albaGUIValidator::m_StringVar
protected

Definition at line 138 of file albaGUIValidator.h.

◆ m_MafStringVar

albaString* albaGUIValidator::m_MafStringVar
protected

Definition at line 139 of file albaGUIValidator.h.

◆ m_ColorVar

wxColour* albaGUIValidator::m_ColorVar
protected

Definition at line 140 of file albaGUIValidator.h.

◆ m_FloatMax

float albaGUIValidator::m_FloatMax
protected

Definition at line 142 of file albaGUIValidator.h.

◆ m_FloatMin

float albaGUIValidator::m_FloatMin
protected

Definition at line 143 of file albaGUIValidator.h.

◆ m_DoubleMin

double albaGUIValidator::m_DoubleMin
protected

Definition at line 144 of file albaGUIValidator.h.

◆ m_DoubleMax

double albaGUIValidator::m_DoubleMax
protected

Definition at line 145 of file albaGUIValidator.h.

◆ m_IntMax

int albaGUIValidator::m_IntMax
protected

Definition at line 146 of file albaGUIValidator.h.

◆ m_IntMin

int albaGUIValidator::m_IntMin
protected

Definition at line 147 of file albaGUIValidator.h.

◆ m_WidgetData

WidgetDataType albaGUIValidator::m_WidgetData
protected

Used in Collaborative Mode and contains the active widget informations.

Definition at line 149 of file albaGUIValidator.h.

◆ m_Listener

albaObserver* albaGUIValidator::m_Listener
protected

Definition at line 151 of file albaGUIValidator.h.

◆ m_ModuleId

int albaGUIValidator::m_ModuleId
protected

Definition at line 152 of file albaGUIValidator.h.

◆ m_DecimalDigits

int albaGUIValidator::m_DecimalDigits
protected

Number of decimal digits to consider and to show into the widget.

Definition at line 153 of file albaGUIValidator.h.

◆ m_Wildcard

albaString albaGUIValidator::m_Wildcard
protected

Definition at line 154 of file albaGUIValidator.h.


The documentation for this class was generated from the following file: