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

Creation of an application wide 'focus decorator' which would be applied to the focused Component

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0
    • wtk
    • None
    • n/a

    Description

      Apply a user specified Decorator (such as a ShadeDecorator) to the currently focused component to make it more visible.
      This would be useful when debugging focus traversal issues and possibly from an accessibility perspective.
      By default the Decorator would be 'null' and therefore not added to the focused component.

      It could be set through a static method on org.apache.pivot.wtk.Component (allowing it to be changed at run time), and/or via a system property (like org.apache.pivot.wtk.debugpaint) or startup argument.

      I have already developed this to satisfy my own requirement for the static methods on Component, but can add the other code and submit if deemed useful.

      Attachments

        1. highlighed-listview.jpg
          60 kB
          Christopher James Bartlett
        2. highlighed-listbutton.jpg
          65 kB
          Christopher James Bartlett

        Activity

          People

            cbartlett Christopher James Bartlett
            cbartlett Christopher James Bartlett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: