You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/07/28 19:03:14 UTC

[jira] Created: (PIVOT-190) Create a ButtonBar component

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: Greg Brown
            Priority: Minor
             Fix For: 1.4


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-190) Create a ButtonBar component

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-190:
-----------------------------

    Assignee:     (was: Greg Brown)

> 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
>            Priority: Minor
>             Fix For: 1.4
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-190) Create a ButtonBar component

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776746#action_12776746 ] 

Todd Volkert commented on PIVOT-190:
------------------------------------

TabPaneSkin could use a ButtonBar subclass (with a custom skin) internally to represent the tabs (currently, it hand rolls this functionality).

> 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
>            Priority: Minor
>             Fix For: 1.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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIVOT-190) Create a ButtonBar component

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIVOT-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778405#action_12778405 ] 

Todd Volkert commented on PIVOT-190:
------------------------------------

Flex provides ButtonBar and ToggleButtonBar - we could probably accomplish the same functionality with a single class that supports toggle and non-toggle modes.

> 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
>            Priority: Minor
>             Fix For: 1.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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.