Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

DoctorSelect Class Reference

Inheritance diagram for DoctorSelect:

SelectBox Widget List of all members.

Public Member Functions

 DoctorSelect (int practice_id, int rows, String prefix, Form form)
void display (boolean hidden)

Package Attributes

int practice_id

Detailed Description

Definition at line 2 of file DoctorSelect.java.


Constructor & Destructor Documentation

DoctorSelect::DoctorSelect int  practice_id,
int  rows,
String  prefix,
Form  form
[inline]
 

Definition at line 6 of file DoctorSelect.java.

00007         {
00008           super(false, rows, prefix, form);
00009           this.practice_id = practice_id;
00010         }


Member Function Documentation

void DoctorSelect::display boolean  hidden  )  [inline]
 

Reimplemented from SelectBox.

Definition at line 12 of file DoctorSelect.java.

References practice_id.

00013         {
00014           if (practice_id <= 0)
00015             super.display(hidden, "SELECT doctor_id, name FROM doctors");
00016           else
00017             super.display(hidden, "SELECT doctor_id, name FROM doctors WHERE practice_id = " + practice_id);
00018         }


Member Data Documentation

int DoctorSelect::practice_id [package]
 

Definition at line 4 of file DoctorSelect.java.


The documentation for this class was generated from the following file:
Generated on Mon Mar 6 23:34:35 2006 by  doxygen 1.4.4