[ 
https://issues.apache.org/jira/browse/PIVOT-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910401#action_12910401
 ] 

Greg Brown commented on PIVOT-607:
----------------------------------

I think it is a good idea. However, it is fairly easily done at the application 
level via ComponentClassListener, so we probably don't need to go out of our 
way to support it.

OTOH, it would be nice to be able to turn it on/off like debug paint, so if you 
want to add it, feel free (though I'd suggest using the listener rather than 
modifying the Component class - not sure how you have coded it).


> Creation of an application wide 'focus decorator' which would be applied to 
> the focused Component
> -------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-607
>                 URL: https://issues.apache.org/jira/browse/PIVOT-607
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: highlighed-listbutton.jpg, highlighed-listview.jpg
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to