pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-977) Specialized component to implement an HTML hyperlink
Date Wed, 05 Aug 2015 18:52:05 GMT

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

Roger Whitcomb commented on PIVOT-977:

After playing around with this, I don't think any additional listener for the URI/URL change
is necessary.  But feel free to comment if anyone thinks otherwise.

The other thing that could be changed is the way we check for "Desktop.isSupported" in the
"perform" method.  These checks could turn into exceptions instead, so that something gets
signaled if the link can't be implemented, rather than just silently failing.  Thoughts?

> Specialized component to implement an HTML hyperlink
> ----------------------------------------------------
>                 Key: PIVOT-977
>                 URL: https://issues.apache.org/jira/browse/PIVOT-977
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0.4
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: hyperlink, linkbutton
>             Fix For: 2.1
>         Attachments: 977.patch
> The appearance of a LinkButton is the same as an HTML hyperlink, but actually using it
to implement a hyperlink is rather involved.  So, it would be nice if there was a specialized
component (subclass of LinkButton) that actually implements the hyperlink functionality, using
the standard Java "Desktop.browse(URI)" method, so it is quite simple to implement a real
hyperlink within an application.

This message was sent by Atlassian JIRA

View raw message