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 2010/01/14 14:36:54 UTC
[jira] Updated: (PIVOT-330) Add suggestions:List to
TextInput
[ https://issues.apache.org/jira/browse/PIVOT-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown updated PIVOT-330:
-----------------------------
Fix Version/s: (was: 1.5)
1.4.1
Assignee: Greg Brown
> Add suggestions:List<String> to TextInput
> -----------------------------------------
>
> Key: PIVOT-330
> URL: https://issues.apache.org/jira/browse/PIVOT-330
> Project: Pivot
> Issue Type: New Feature
> Components: wtk
> Reporter: Todd Volkert
> Assignee: Greg Brown
> Fix For: 1.4.1
>
>
> Proposal to add the following API to TextInput:
> public List<String> getSuggestions();
> public void setSuggestions(List<String> suggestions);
> When the suggestions list was non-null, the text input skin would be responsible for showing the suggestions to the user. The default skin would display a popup underneath the text input, with a list view of the suggestions in the popup. The user could then use the down arrow and tab or click to select a suggestion, thus populating the text of the text input.
> It would always be left up to the application to manage the suggestions list (update it, set it, or clear it) based on application-level logic -- the skin would always present the suggestion list if it were there.
> Applications could combine this feature with the Java preferences API to store historical form data and provide behavior akin to browser form behavior.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.