Package com.anzsoft.client.utils

Examples of com.anzsoft.client.utils.ChatIcons


      getRowFormatter().setVerticalAlign(0,HasVerticalAlignment.ALIGN_TOP);
      getRowFormatter().setVerticalAlign(1,HasVerticalAlignment.ALIGN_TOP);


   
    final ChatIcons icons = ChatIcons.App.getInstance();
    statusImg = new Image();
    statusImg.setWidth("16px");
    statusImg.setHeight("16px");
    icons.online().applyTo(statusImg);
   
    avatarImg = new Image("images/default_avatar.png");
    avatarImg.setWidth("32px");
    avatarImg.setHeight("32px");
    avatarImg.setStyleName("handler");
View Full Code Here


  }
 
   private AbstractImagePrototype iconFromStatus(XmppContactStatus status)
   {

     final ChatIcons icons = ChatIcons.App.getInstance();
     switch(status.type())
     {
     case Online:
       return icons.online();
     case Offline:
       return icons.offline();
     case Invisible:
       return icons.offline();
     case DND:
       return icons.busy();
     case XA:
       return icons.xa();
     case Away:
       return icons.away();
     case FFC:
       return icons.chat();
     }
     return icons.offline();
   }
View Full Code Here

    }
   
    private AbstractImagePrototype iconFromStatus(XmppContactStatus status)
    {
  
      final ChatIcons icons = ChatIcons.App.getInstance();
      switch(status.type())
      {
      case Online:
        return icons.online();
      case Offline:
        return icons.offline();
      case Invisible:
        return icons.offline();
      case DND:
        return icons.busy();
      case XA:
        return icons.xa();
      case Away:
        return icons.away();
      case FFC:
        return icons.chat();
      }
    return icons.offline();
    }
View Full Code Here

TOP

Related Classes of com.anzsoft.client.utils.ChatIcons

Copyright © 2018 www.massapicom. 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.