pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIVOT-190) Create a ButtonBar component
Date Tue, 28 Jul 2009 17:03:14 GMT
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.


Mime
View raw message