pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bartlett (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-677) Add ability to navigate a ButtonGroup of RadioButtons using the keyboard
Date Thu, 30 Jun 2011 14:41:28 GMT

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

Chris Bartlett commented on PIVOT-677:
--------------------------------------

I simply 'enhanced' ButtonGroup.  If that had extended Container, then RadioButtonGroup obviously
would have used this to its advantage as you suggest.

I agree that the common scenario is to have all buttons within a single parent Container,
but again, this was not true of ButtonGroup, although I thought it would be.  After thinking
it over I came up with the 'RadioButtons in a TablePane' scenario, which I think is a valid
and can imagine being used in a real layout.  This solution allows that but I don't think
a traditional Container would.

> Add ability to navigate a ButtonGroup of RadioButtons using the keyboard
> ------------------------------------------------------------------------
>
>                 Key: PIVOT-677
>                 URL: https://issues.apache.org/jira/browse/PIVOT-677
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>         Environment: n/a
>            Reporter: Chris Bartlett
>            Assignee: Chris Bartlett
>            Priority: Minor
>             Fix For: 2.1
>
>
> LEFT or UP arrows would select the previous enabled button in the group.
> RIGHT or DOWN arrows would select the next enabled button in the group.
> Optionally, HOME & END would select the first or last enabled button in respectively.
> This functionality could be added to the existing org.apache.pivot.wtk.ButtonGroup class,
or a new class named RadioButtonGroup could be created.
> The ButtonGroup would track the order that the buttons were added and use it to select
the appropriate button.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message