[
https://issues.apache.org/jira/browse/PIVOT-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904706#action_12904706
]
Greg Brown commented on PIVOT-621:
----------------------------------
It might make more sense to add two additional methods to ImageBindMapping:
public URL getImageURL();
public String getImageResourceName();
Then load() could simply call each in turn (getImage(), getImageURL(),
getImageResourceName()) to see which one doesn't return null.
OTOH, it isn't difficult to load an image and set it in the resource cache -
it's only a few lines of code.
> BindMapping for ImageView
> -------------------------
>
> Key: PIVOT-621
> URL: https://issues.apache.org/jira/browse/PIVOT-621
> Project: Pivot
> Issue Type: New Feature
> Components: wtk
> Affects Versions: 2.0
> Reporter: dutrieux
> Priority: Minor
> Fix For: 2.0
>
>
> It is possible to have the BindMapping for ImageView.
> My exemple is when I load a Panel with a Bean which contents a Boolean, I
> would like to display a cross image or valid image dependant on Boolean.
> Best regards
> Duto
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.