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] Commented: (PIVOT-512) Add support for line item tooltips in data-driven components
Date Thu, 03 Jun 2010 11:23:12 GMT

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

Greg Brown commented on PIVOT-512:

Sorry, I should have been more specific. I meant the toString(Object) method of the renderer.
This method is used to convert items to a string representation (i.e. it "renders" the item
as text). It is currently used to facilitate keyboard navigation (e.g. by jumping to the first
item beginning with a given letter) but also seems like a natural fit here.

I think adding some sort of conversion interface would simply muddy the API, since converting
items to strings is the primary purpose of the existing toString(Object) method. If you are
using someone else's renderer, why not just extend it and override that method? Seems easy

> Add support for line item tooltips in data-driven components
> ------------------------------------------------------------
>                 Key: PIVOT-512
>                 URL: https://issues.apache.org/jira/browse/PIVOT-512
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Greg Brown
>            Priority: Minor
>             Fix For: 1.6
> When enabled, the skin would use the toString() method of the renderer to determine an
appropriate tooltip for the item.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message