-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b80
-
x86
-
linux
A DESCRIPTION OF THE PROBLEM :
The documentation for javax.swing.AbstractSpinnerModel says:
"Subclasses must provide an implementation of the minimum, maximum, and value properties..."
but there are no properties named minimum and maximum, and the documentation for the SpinnerModel interface explicitly includes unbounded models as well.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Subclasses must provide an implementation of the value property and the getNextValue and getPreviousValue methods.
ACTUAL -
Subclasses must provide an implementation of the minimum, maximum, and value properties and the getNextValue and getPreviousValue methods.
URL OF FAULTY DOCUMENTATION :
http://download.java.net/jdk6/docs/api/javax/swing/AbstractSpinnerModel.html
The documentation for javax.swing.AbstractSpinnerModel says:
"Subclasses must provide an implementation of the minimum, maximum, and value properties..."
but there are no properties named minimum and maximum, and the documentation for the SpinnerModel interface explicitly includes unbounded models as well.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Subclasses must provide an implementation of the value property and the getNextValue and getPreviousValue methods.
ACTUAL -
Subclasses must provide an implementation of the minimum, maximum, and value properties and the getNextValue and getPreviousValue methods.
URL OF FAULTY DOCUMENTATION :
http://download.java.net/jdk6/docs/api/javax/swing/AbstractSpinnerModel.html