Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-883

Update Javadoc for ComponentStateListener method arguments

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1, 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: wtk

      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

        Attachments

          Activity

            People

            • Assignee:
              rwhitcomb Roger Lee Whitcomb
              Reporter:
              sworisbreathing Steven Swor

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1m
              1m
              Remaining:
              Remaining Estimate - 1m
              1m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Issue deployment