All Packages Class Hierarchy This Package Previous Next Index
Class mypackage.StudentFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----mypackage.StudentFrame
- public class StudentFrame
- extends Frame
- implements iClient
This class implements the Graphical User Interface for the Student
and the function to perform the various operation such as changepassword etc
- Version:
- 1.0
- Author:
- Vicky Shiv
-
b_ok
- Awt Componet Button ok ,used when the user want to change the password
-
label1
- Awt Componet Label for password input
-
label2
- Awt Componet Label for Student Acess Form
-
label3
- Awt Componet Label Corses and Marks
-
list1
- Awt Componet List to display the course ,test and marks
-
server
- Reference to the Remote Object
-
student
- this is to Store the Studentid in form of String
-
tf_password
- Awt Componet TextField for new password input
-
vector
- Vector to stores courseid,testid and marks
-
StudentFrame(String, iServer)
- Constructor for the Student Frame
-
getMarks(Vector)
- this function updates the List with new Marks
-
handleEvent(Event)
- to handle the various event
list1
List list1
- Awt Componet List to display the course ,test and marks
b_ok
Button b_ok
- Awt Componet Button ok ,used when the user want to change the password
tf_password
TextField tf_password
- Awt Componet TextField for new password input
label1
Label label1
- Awt Componet Label for password input
label2
Label label2
- Awt Componet Label for Student Acess Form
label3
Label label3
- Awt Componet Label Corses and Marks
server
iServer server
- Reference to the Remote Object
vector
Vector vector
- Vector to stores courseid,testid and marks
student
String student
- this is to Store the Studentid in form of String
StudentFrame
public StudentFrame(String s,
iServer obj)
- Constructor for the Student Frame
- Parameters:
- String - ID for the Student
- iServer - Refernce to the Remote Server
getMarks
public void getMarks(Vector v)
- this function updates the List with new Marks
- Parameters:
- Vector - this is the new Vector Created by the Server and passed to the
allRegister clients for the update,if there is any change in the data
handleEvent
public boolean handleEvent(Event event)
- to handle the various event
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index