Examples of photo()


Examples of com.anzsoft.client.XMPP.mandioca.XmppVCard.photo()

    XmppVCard vc = null;
    if(local)
      vc = JabberApp.instance().getSelfVCard();
    else
      vc = vcard;
    if(!GXT.isIE&&vc != null&&!vc.photo().isEmpty())
      imageElement.setSrc("data:image;base64,"+vc.photo());
    else
      imageElement.setSrc("images/default_avatar.png");
   
    tdElement = DOM.createTD();
View Full Code Here

Examples of com.anzsoft.client.XMPP.mandioca.XmppVCard.photo()

    if(local)
      vc = JabberApp.instance().getSelfVCard();
    else
      vc = vcard;
    if(!GXT.isIE&&vc != null&&!vc.photo().isEmpty())
      imageElement.setSrc("data:image;base64,"+vc.photo());
    else
      imageElement.setSrc("images/default_avatar.png");
   
    tdElement = DOM.createTD();
    tdElement.setInnerHTML("&nbsp&nbsp");
View Full Code Here

Examples of com.anzsoft.client.XMPP.mandioca.XmppVCard.photo()

    XmppVCard vc = null;
    if(local)
      vc = JabberApp.instance().getSelfVCard();
    else
      vc = vcard;
    if(!GXT.isIE&&vc != null&&!vc.photo().isEmpty())
      imageElement.setSrc("data:image;base64,"+vc.photo());
    else
      imageElement.setSrc(JabberApp.instance().getAvatarUrl(jid));
   
    tdElement = DOM.createTD();
View Full Code Here

Examples of com.anzsoft.client.XMPP.mandioca.XmppVCard.photo()

    if(local)
      vc = JabberApp.instance().getSelfVCard();
    else
      vc = vcard;
    if(!GXT.isIE&&vc != null&&!vc.photo().isEmpty())
      imageElement.setSrc("data:image;base64,"+vc.photo());
    else
      imageElement.setSrc(JabberApp.instance().getAvatarUrl(jid));
   
    tdElement = DOM.createTD();
    tdElement.setInnerHTML("&nbsp&nbsp");
View Full Code Here

Examples of org.onesocialweb.model.vcard4.VCard4Factory.photo()

        final Profile profile = profileFactory.profile();

        try {
          // prepare for updating and check for empty values
          if (avatarF.getAvatarUri().length() > 0)
            profile.addField(profileFactory.photo(avatarF.getAvatarUri()));
          if (displaynameF.getText().length() > 0)
            profile.addField(profileFactory.fullname(displaynameF.getText()));
          if (nameF.getFirstName().length() > 0 || nameF.getLastName().length() > 0)
            profile.addField(profileFactory.name(null, nameF.getFirstName(), nameF.getLastName(), null));
          if (birthdayF.getDate() != null)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.