All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Interface.ExerciseInterfaceView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.JPanel
                                   |
                                   +----Interface.InterfaceView
                                           |
                                           +----Interface.ExerciseInterfaceView

public class ExerciseInterfaceView
extends InterfaceView
A class to define interface view for exercise function


Constructor Index

 o ExerciseInterfaceView(InterfaceDefinition)
This constructor will create an interface for exercise

Method Index

 o changeInter(String, String)
This method will change the interface to each specific language
 o getAssistBox()
This method will return the assist box for displaying the number of assists
 o getCorrectBox()
This method will return the correct box for displaying the number of correct answers
 o getErrorBox()
This method will return theerror box for displaying the number of incorrect answers
 o getExerciseController()
This method will return an exercise object
 o getFeedbackBox()
This method will return a text field for status display
 o getTotalBox()
This method will return the total box for displaying the number of total words

Constructors

 o ExerciseInterfaceView
 public ExerciseInterfaceView(InterfaceDefinition id)
This constructor will create an interface for exercise

Methods

 o changeInter
 public void changeInter(String lang,
                         String country)
This method will change the interface to each specific language

Parameters:
String - lang -language
String - country
Returns:
none
 o getExerciseController
 public Exercise getExerciseController()
This method will return an exercise object

Returns:
Exercise exercise object
 o getFeedbackBox
 public JTextField getFeedbackBox()
This method will return a text field for status display

Returns:
JTestField text field for feed back
 o getCorrectBox
 public JTextField getCorrectBox()
This method will return the correct box for displaying the number of correct answers

Returns:
JTextField correct answers box
 o getErrorBox
 public JTextField getErrorBox()
This method will return theerror box for displaying the number of incorrect answers

Returns:
JTextField incorrect answers box
 o getAssistBox
 public JTextField getAssistBox()
This method will return the assist box for displaying the number of assists

Returns:
JTextField assists box
 o getTotalBox
 public JTextField getTotalBox()
This method will return the total box for displaying the number of total words

Returns:
JTextField total number of words box

All Packages  Class Hierarchy  This Package  Previous  Next  Index