All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.ui.FiveGrade

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----guinea.ui.GradeBar
                           |
                           +----guinea.ui.FiveGrade

public class FiveGrade
extends GradeBar
This UI components implements a continuous grading scale with "anchors" derived from the ITU-R five-grade impairment scale given in Recommendation ITU-R BS.562 as shown below.

Impairment                     Grade
Imperceptible                  5.0
Perceptible, but not annoying  4.0
Slightly annoying              3.0
Annoying                       2.0
Very annoying                  1.0

One decimal place is used.

This component is basically a simple extension to the generic GradeBar grading scale. This component simply predefines the limits of the scale, number of decimals and adjectives ("anchors").

See Also:
GradeBar

Variable Index

· pattern
Default choice pattern for anchors.

Constructor Index

· FiveGrade()
Construct a new five-grade components with no question set.
· FiveGrade(String)
Construct a new five-grade component with a given question.

Variables

· pattern
 public static final String pattern
Default choice pattern for anchors.

Constructors

· FiveGrade
 public FiveGrade()
Construct a new five-grade components with no question set.

· FiveGrade
 public FiveGrade(String qtext)
Construct a new five-grade component with a given question.

Parameters:
qtext - Text of the question.

All Packages  Class Hierarchy  This Package  Previous  Next  Index