Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4279934

Add alt. form of InputVerifier.shouldYieldFocus() with "to" comp as 2nd param

    XMLWordPrintable

Details

    • Fix Understood
    • generic, x86
    • generic, windows_nt

    Description



      Name: krT82822 Date: 10/11/99


      We would like to have a second parameter in
      InputVerifier.shouldYieldFocus(lastFocus).

      Your new class InputVerifier might be quite handy for us.
      Currently we are using a similar mechanism, which is
      not as elegant, as it is programmed outside the Swing
      classes.

      For our applications it is necessary, though, in the
      method shouldYieldFocus() to have a handle on the component
      to which the focus should go. In some cases the focus
      change might be allowed, e.g. when the focus passes to
      a field "in the same set" as the field from which it
      comes.

      ---------

      10/11/99 eval1127@eng -- you'll already have a ref to the "to" component when this method gets called. User apparently just would like to see an alt. form
      where this ref is explicitly passed as an additional arg.
      (Review ID: 96351)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kryansunw Kevin Ryan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: