Container.getFocusTraversalPolicy() does not define return value if no ancestor exists

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • None
    • Affects Version/s: 6
    • Component/s: client-libs
    • Cause Known
    • x86
    • windows_2000

      The J2SE 5.0 spec states for public FocusTraversalPolicy getFocusTraversalPolicy():
        "Returns the focus traversal policy that will manage keyboard traversal of this Container's
         children, or null if this Container is not a focus cycle root. If no traversal policy has
         been explicitly set for this Container, then this Container's focus-cycle-root ancestor's
         policy is returned."

      The spec does not describe one more case when the container has no ancestor.
      What to expect as a return value: null or KFM.getDefaultFocusTraversalPolicy()?

      There are two places in the spec which need to be updated:
        java/awt/Container.html#getFocusTraversalPolicy()
        java/awt/doc-files/FocusSpec.html#FocusTraversalPolicy

      ###@###.### 2005-04-19 14:41:43 GMT

            Assignee:
            Anton Tarasov (Inactive)
            Reporter:
            Vasily Isaenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: