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

dutrieux edited comment on PIVOT-621 at 8/31/10 2:09 PM:
---------------------------------------------------------

I think it's good to have too the URLBindMapping interface

public interface URLBindMapping {
      
        public URL toImage(Object value);

        public Object valueOf(URL image);
    }

Because if not we loose the ResourceCache and asynchronous loading of ImageView.

Or maybe you can refactory resourceCache and asynchronous of method 
"setImage(final URL imageURL)"  to a re-usable class for caller.

Duto

      was (Author: dutrieux):
    I think it's good to have too the URLBindMapping interface

public interface URLBindMapping {
      
        public URL toImage(Object value);

        public Object valueOf(URL image);
    }

Because if not we loose the ResourceCache and asynchronous loading of ImageView.

Duto
  
> 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.

Reply via email to