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] [Updated] (PIVOT-977) Specialized component to implement an HTML hyperlink
Date Wed, 05 Aug 2015 16:32:04 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Roger Whitcomb updated PIVOT-977:
---------------------------------
    Attachment: 977.patch

The "977.patch" file implements this component, including a couple of test programs to illustrate
the functionality.  The button content by default will be the URI or URL string, but it can
be set to any text desired, and/or a text and icon (just like any other button).

The only additional thing I was considering was a listener for changes to the URI/URL on this
button.  Not sure if this is really necessary.

> 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
(v6.3.4#6332)

Mime
View raw message