MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

ValueChangedEvent Class Reference

Value changed event. More...

#include <EvtValueChanged.h>

List of all members.

Public Member Functions

 ValueChangedEvent (wxEventType commandType=wxEVT_NULL)
 Constructor.
ValueChangedEventClone () const
 Coppies the event.
double GetValue ()
 Return the value of the label.
bool IsValid ()
 Return if the text is valid (numeric and !null).

Public Attributes

double value
 Contains the value.
bool valid
 Marks the validity of the value.


Detailed Description

Value changed event.

ValueChangedEvent is used by TxtValue to tell to the parent object that his value has changed. It derives from wxEvent

Definition at line 23 of file EvtValueChanged.h.


Constructor & Destructor Documentation

ValueChangedEvent::ValueChangedEvent wxEventType  commandType = wxEVT_NULL  ) 
 

Constructor.

Definition at line 19 of file EvtValueChanged.cpp.

Referenced by Clone().


Member Function Documentation

ValueChangedEvent * ValueChangedEvent::Clone  )  const
 

Coppies the event.

Definition at line 23 of file EvtValueChanged.cpp.

References ValueChangedEvent().

double ValueChangedEvent::GetValue  ) 
 

Return the value of the label.

Definition at line 30 of file EvtValueChanged.cpp.

References value.

Referenced by PnlGraphFrame::TxtValueChanged().

bool ValueChangedEvent::IsValid  ) 
 

Return if the text is valid (numeric and !null).

Definition at line 37 of file EvtValueChanged.cpp.

References valid.

Referenced by PnlGraphFrame::TxtValueChanged().


Member Data Documentation

bool ValueChangedEvent::valid
 

Marks the validity of the value.

Definition at line 37 of file EvtValueChanged.h.

Referenced by IsValid(), TxtValue::OnKeyDown(), and TxtValue::OnKillFocus().

double ValueChangedEvent::value
 

Contains the value.

Definition at line 35 of file EvtValueChanged.h.

Referenced by GetValue(), TxtValue::OnKeyDown(), and TxtValue::OnKillFocus().


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

 

SourceForge Logo