Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

NDK_XX::EditDouble Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::EditDouble:

NDK_XX::EditNumber NDK_XX::Edit NDK_XX::Label NDK_XX::Control List of all members.

Public Methods

 EditDouble (Control *parent, int id, const string &text,int lines, int cols, int y, int x,int style=framed|editable|tabstop|notify)
int edit (int key)
 This is the specialized driver for edition.


Constructor & Destructor Documentation

NDK_XX::EditDouble::EditDouble Control   parent,
int    id,
const string &    text,
int    lines,
int    cols,
int    y,
int    x,
int    style = framed|editable|tabstop|notify
[inline]
 

EditDouble Constructor See parameters for class Control

Definition at line 660 of file ndk++.h.

References NDK_XX::Control::pParent, and RETURN_TO_PAGE.

00660                        :
00661                 process_message(pParent,0,(int)RETURN_TO_PAGE,0);
00662                 return TRUE;
00663             default:    result = Button::driver(key); break;
00664         }
        return result;


Member Function Documentation

int NDK_XX::EditDouble::edit int    key [virtual]
 

This is the specialized driver for edition.

Reimplemented from NDK_XX::EditNumber.

Definition at line 867 of file ndk++.cc.

00868 {
00869     switch(key) {
00870         case '.':
00871             return Edit::edit(key);
00872         default:
00873             return EditNumber::edit(key);
00874             break;
00875     }
00876     return FALSE;
00877 }


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 16:02:16 2002 by doxygen1.2.17