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

Variable Index

 o b_ok
Awt Componet Button ok ,used when the user want to change the password
 o label1
Awt Componet Label for password input
 o label2
Awt Componet Label for Student Acess Form
 o label3
Awt Componet Label Corses and Marks
 o list1
Awt Componet List to display the course ,test and marks
 o server
Reference to the Remote Object
 o student
this is to Store the Studentid in form of String
 o tf_password
Awt Componet TextField for new password input
 o vector
Vector to stores courseid,testid and marks

Constructor Index

 o StudentFrame(String, iServer)
Constructor for the Student Frame

Method Index

 o getMarks(Vector)
this function updates the List with new Marks
 o handleEvent(Event)
to handle the various event

Variables

 o list1
 List list1
Awt Componet List to display the course ,test and marks

 o b_ok
 Button b_ok
Awt Componet Button ok ,used when the user want to change the password

 o tf_password
 TextField tf_password
Awt Componet TextField for new password input

 o label1
 Label label1
Awt Componet Label for password input

 o label2
 Label label2
Awt Componet Label for Student Acess Form

 o label3
 Label label3
Awt Componet Label Corses and Marks

 o server
 iServer server
Reference to the Remote Object

 o vector
 Vector vector
Vector to stores courseid,testid and marks

 o student
 String student
this is to Store the Studentid in form of String

Constructors

 o StudentFrame
 public StudentFrame(String s,
                     iServer obj)
Constructor for the Student Frame

Parameters:
String - ID for the Student
iServer - Refernce to the Remote Server

Methods

 o 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
 o 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
1