You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2018/02/20 15:58:01 UTC
[jira] [Assigned] (PIVOT-190) Create a ButtonBar component
[ https://issues.apache.org/jira/browse/PIVOT-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Whitcomb reassigned PIVOT-190:
------------------------------------
Assignee: Roger Whitcomb
> Create a ButtonBar component
> ----------------------------
>
> Key: PIVOT-190
> URL: https://issues.apache.org/jira/browse/PIVOT-190
> Project: Pivot
> Issue Type: New Feature
> Components: wtk
> Affects Versions: 1.3
> Reporter: Greg Brown
> Assignee: Roger Whitcomb
> Priority: Minor
> Fix For: 2.5
>
>
> This component would provide a "buttonData" property of type ButtonDataSequence. The length of the list would determine the number of buttons in the button bar. It would fire events as buttons are pressed, possibly via a ButtonBarPressListener#buttonPressed(ButtonBar, int) listener method, where the second argument represented the index of the button that was pressed. ButtonBarListener would fire events including buttonDataAdded(), buttonDataRemoved(), buttonDataUpdated(), etc.
> ButtonBar would provide a setButtonData() method that accepted a JSON array of String values, for setting the button data in WTKX:
> <ButtonBar buttonData="['A', 'B', 'C']"/>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)