Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0, 2.0.1, 2.0.2
Description
The org.apache.pivot.wtk.ComponentStateListener interface has two methods, enabledChanged(Component) and focusedChanged(Component, Component).
While it should be pretty intuitive that the single argument of enabledChanged is the component whose enabled state has changed, the javadoc for the focusedChanged method is a bit vague as to what each argument represents. I'm assuming that the "component" argument is the one which lost focus and "obverseComponent" is the one that gained focus, but I could have that backwards