course.grades
Class ActivityGradeSelection

java.lang.Object
  |
  +--course.grades.ActivityGradeSelection
All Implemented Interfaces:
java.util.EventListener, java.awt.event.ItemListener, java.io.Serializable, View

public class ActivityGradeSelection
extends java.lang.Object
implements View, java.io.Serializable, java.awt.event.ItemListener

Class for selection of an activity (for setting the grades).

See Also:
Serialized Form

Field Summary
static java.lang.String ASSIGNMENT_ACCESS
           
static java.lang.String REPORT_ACCESS
           
static java.lang.String TEST_ACCESS
           
 
Constructor Summary
ActivityGradeSelection()
           
 
Method Summary
 java.lang.Object createView(Ticket tic, SQL sql)
          Method for creation of a new instance from the View class.
 java.awt.Panel initView()
          Method for creation of a graphic interface for this class.
 void itemStateChanged(java.awt.event.ItemEvent e)
          Method for showing menus when the activities list is changed.
 void setVariable(java.lang.String classSelected)
          Method for setting variables.
 java.lang.Object updateView(SQL sql)
          Method that invokes the class for management of the grades of the selected activity.
 boolean validateView()
          Method for validation of the graphic interface objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSIGNMENT_ACCESS

public static final java.lang.String ASSIGNMENT_ACCESS

REPORT_ACCESS

public static final java.lang.String REPORT_ACCESS

TEST_ACCESS

public static final java.lang.String TEST_ACCESS
Constructor Detail

ActivityGradeSelection

public ActivityGradeSelection()
Method Detail

setVariable

public void setVariable(java.lang.String classSelected)
Method for setting variables.

createView

public java.lang.Object createView(Ticket tic,
                                   SQL sql)
                            throws java.lang.Exception
Method for creation of a 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

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Method for showing menus when the activities list is changed.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

validateView

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

updateView

public java.lang.Object updateView(SQL sql)
                            throws java.lang.Exception
Method that invokes the class for management of the grades of the selected activity.
Specified by:
updateView in interface View