course.groups
Class EditGroupView

java.lang.Object
  |
  +--course.groups.EditGroupView
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.io.Serializable, View

public class EditGroupView
extends java.lang.Object
implements View, java.io.Serializable, java.awt.event.ActionListener

Class for edition of student groups.

See Also:
Serialized Form

Field Summary
static int assignmentSelected
           
static int classGroup
           
 
Constructor Summary
EditGroupView()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
          Method for controlling of the operation over the student group (add or remove students).
 java.lang.Object createView(Ticket tic, SQL sql)
          Method for creation of new instance from the View class.
 java.awt.Panel initView()
          Method for creation of a graphic interface for this class.
 java.lang.Object updateView(SQL sql)
          Method for management of the database information.
 boolean validateView()
          Method for validation of graphic interface objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classGroup

public static int classGroup

assignmentSelected

public static int assignmentSelected
Constructor Detail

EditGroupView

public EditGroupView()
Method Detail

createView

public java.lang.Object createView(Ticket tic,
                                   SQL sql)
                            throws java.sql.SQLException,
                                   java.lang.ClassNotFoundException
Method for creation of new instance from the View class.
Specified by:
createView in interface View

initView

public java.awt.Panel initView()
Method for creation of a graphic interface for this class.
Specified by:
initView in interface View

validateView

public boolean validateView()
Method for validation of graphic interface objects.
Specified by:
validateView in interface View

updateView

public java.lang.Object updateView(SQL sql)
                            throws java.lang.Exception
Method for management of the database information.
Specified by:
updateView in interface View

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
Method for controlling of the operation over the student group (add or remove students).
Specified by:
actionPerformed in interface java.awt.event.ActionListener