Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

NetDialog Class Reference

#include <ngui.h>

List of all members.

Public Methods

 NetDialog (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)

Public Attributes

wxButton * btn_newinput
wxButton * btn_delinput
wxButton * btn_setwghts
wxButton * btn_train
wxButton * btn_run
wxButton * btn_setdesrd
wxButton * btn_showdiag
wxButton * btn_quit
wxTextCtrl * txt_bias
wxTextCtrl * txt_squashval
wxStaticText * stc_bias
wxStaticText * stc_squashval

Private Methods

void OnNewInput (wxCommandEvent &event)
void OnDelInput (wxCommandEvent &event)
void OnSetWghts (wxCommandEvent &event)
void OnSetDesrd (wxCommandEvent &event)
void OnTrain (wxCommandEvent &event)
void OnRun (wxCommandEvent &event)
void OnShowDiag (wxCommandEvent &event)
void OnQuit (wxCommandEvent &event)


Constructor & Destructor Documentation

NetDialog::NetDialog wxWindow *    parent,
wxWindowID    id,
const wxString &    title,
const wxPoint &    pos = wxDefaultPosition,
const wxSize &    size = wxDefaultSize,
long    style = wxDEFAULT_DIALOG_STYLE
 

Definition at line 151 of file ngui.cpp.

References NetDialog_BIAS_TXT, NetDialog_DELINPUT_BTN, NetDialog_NEWINPUT_BTN, NetDialog_QUIT_BTN, NetDialog_RUN_BTN, NetDialog_SETDESRD_BTN, NetDialog_SETWGHTS_BTN, NetDialog_SHOWDIAG_BTN, NetDialog_SQUASHVAL_TXT, and NetDialog_TRAIN_BTN.

00152                                                                               :
00153                      wxDialog(parent, id, title, position, size, style)
00154 {
00155     btn_newinput  = new wxButton(this, NetDialog_NEWINPUT_BTN, "New Input",
00156                                  wxPoint(10,10), wxSize(70,17));
00157     btn_delinput  = new wxButton(this, NetDialog_DELINPUT_BTN, "Delete Input",
00158                                  wxPoint(10,30), wxSize(70,17));
00159     btn_setwghts  = new wxButton(this, NetDialog_SETWGHTS_BTN, "Set Weights",
00160                                  wxPoint(10,50), wxSize(70,17));
00161     btn_train     = new wxButton(this, NetDialog_TRAIN_BTN, "Train",
00162                                  wxPoint(10,90), wxSize(70,17));
00163     btn_run       = new wxButton(this, NetDialog_RUN_BTN, "Run",
00164                                  wxPoint(10,110), wxSize(70,17));
00165     btn_setdesrd  = new wxButton(this, NetDialog_SETDESRD_BTN, "Set Desired",
00166                                  wxPoint(10,70), wxSize(70,17));
00167     btn_showdiag  = new wxButton(this, NetDialog_SHOWDIAG_BTN, "Show Diag",
00168                                  wxPoint(10,170), wxSize(70,17));
00169     btn_quit      = new wxButton(this, NetDialog_QUIT_BTN, "Quit",
00170                                  wxPoint(10,200), wxSize(70,17));
00171     txt_bias      = new wxTextCtrl(this, NetDialog_BIAS_TXT, "",
00172                                  wxPoint(90,150), wxSize(25,22));
00173     txt_squashval = new wxTextCtrl(this, NetDialog_SQUASHVAL_TXT, "",
00174                                  wxPoint(90,130), wxSize(25,22));
00175     stc_bias      = new wxStaticText(this, -1, "Bias Value", wxPoint(10,150));
00176     stc_squashval = new wxStaticText(this, -1, "Squash Value", wxPoint(10,130));
00177 }


Member Function Documentation

void NetDialog::OnDelInput wxCommandEvent &    event [private]
 

Definition at line 185 of file ngui.cpp.

00186 {
00187 }

void NetDialog::OnNewInput wxCommandEvent &    event [private]
 

Definition at line 180 of file ngui.cpp.

00181 {
00182 }

void NetDialog::OnQuit wxCommandEvent &    event [private]
 

Definition at line 218 of file ngui.cpp.

00219 {
00220     Close(TRUE);
00221 }

void NetDialog::OnRun wxCommandEvent &    event [private]
 

Definition at line 205 of file ngui.cpp.

00206 {
00207 }

void NetDialog::OnSetDesrd wxCommandEvent &    event [private]
 

Definition at line 195 of file ngui.cpp.

00196 {
00197 }

void NetDialog::OnSetWghts wxCommandEvent &    event [private]
 

Definition at line 190 of file ngui.cpp.

00191 {
00192 }

void NetDialog::OnShowDiag wxCommandEvent &    event [private]
 

Definition at line 210 of file ngui.cpp.

00211 {
00212     NvizFrame *dlg_gldiagram = new NvizFrame(this, "Network Diagram",
00213                                wxPoint(50,50), wxSize(450,340));
00214     dlg_gldiagram->Show(TRUE);
00215 }

void NetDialog::OnTrain wxCommandEvent &    event [private]
 

Definition at line 200 of file ngui.cpp.

00201 {
00202 }


Member Data Documentation

wxButton* NetDialog::btn_delinput
 

Definition at line 61 of file ngui.h.

wxButton* NetDialog::btn_newinput
 

Definition at line 60 of file ngui.h.

wxButton* NetDialog::btn_quit
 

Definition at line 67 of file ngui.h.

wxButton* NetDialog::btn_run
 

Definition at line 64 of file ngui.h.

wxButton* NetDialog::btn_setdesrd
 

Definition at line 65 of file ngui.h.

wxButton* NetDialog::btn_setwghts
 

Definition at line 62 of file ngui.h.

wxButton* NetDialog::btn_showdiag
 

Definition at line 66 of file ngui.h.

wxButton* NetDialog::btn_train
 

Definition at line 63 of file ngui.h.

wxStaticText* NetDialog::stc_bias
 

Definition at line 70 of file ngui.h.

wxStaticText* NetDialog::stc_squashval
 

Definition at line 71 of file ngui.h.

wxTextCtrl* NetDialog::txt_bias
 

Definition at line 68 of file ngui.h.

wxTextCtrl* NetDialog::txt_squashval
 

Definition at line 69 of file ngui.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 23 23:09:58 2003 for NeReK Documentation by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002