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

InputVerifier() should have information from FocusEvent.isTemporary()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • 1.4.2
    • client-libs
    • Cause Known
    • x86
    • windows_xp

    Description

      A DESCRIPTION OF THE REQUEST :
      InputVerifier's method verify() receives as its only parameter the reference to the Jcomponent whose contents is to be validated. A 2nd parameter would be welcome which could tell if the upcoming focus loss is of temporary or permanent nature. This is the very information the following FocusEvent provides - but a little late!

      JUSTIFICATION :
      Temporary focus losses can be granted much less rectrictive than permanent ones.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Class InputVerifier should have new method "boolean isTemporary()" (or so) - just like the FocusEvent class-.
      ACTUAL -
      Information is not provided.

      ---------- BEGIN SOURCE ----------
      *none*
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      generate information that temporary focus loss is about to be scheduled by the source of this loss - provided this is under the influence of the application. E.g., with modal (j)dialogs, this can be accomplished.
      ###@###.### 2005-03-03 19:34:46 GMT

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: