course.classes
Class ClassView
java.lang.Object
|
+--course.classes.ClassView
- All Implemented Interfaces:
- java.io.Serializable, View
- public class ClassView
- extends java.lang.Object
- implements View, java.io.Serializable
Class for creation of new classes. It allows two options: to create new class or to copy information from other class.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
createView(Ticket tic,
SQL sql)
Method for creation of new instace from the View class. |
java.awt.Panel |
initView()
Method for creation of graphic interface for this class. |
java.lang.Object |
updateView(SQL sql)
Method for initialize the creation of the class. |
boolean |
validateView()
Method for validation of the new class information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassView
public ClassView()
createView
public java.lang.Object createView(Ticket tic,
SQL sql)
throws java.sql.SQLException,
java.lang.ClassNotFoundException
- Method for creation of new instace from the View class. The next assignment id will be the last + 1.
- Specified by:
createView
in interface View
initView
public java.awt.Panel initView()
- Method for creation of graphic interface for this class.
- Specified by:
initView
in interface View
validateView
public boolean validateView()
- Method for validation of the new class information.
- Specified by:
validateView
in interface View
updateView
public java.lang.Object updateView(SQL sql)
throws java.lang.Exception
- Method for initialize the creation of the class.
- Specified by:
updateView
in interface View