Package xnap.util

Examples of xnap.util.LinkSpeed


    //--- Method(s) ---

    public void setValue(Object value)
    {
  if ((value != null) && (value instanceof Number)) {
      super.setValue(new LinkSpeed(((Number)value).intValue()));
  }
  else {
      super.setValue(value);
  }
    }
View Full Code Here


      addComponent(jm, new JPopupMenu.Separator());
      addLabel(jm, " " + XNap.tr("Client") + ": " + user.getClientInfo());
      if (user.getFileCount() != -1) {
    addLabel(jm, " " + XNap.tr("File Count") + ": " + user.getFileCount());
      }
      LinkSpeed l = new LinkSpeed(user.getLinkSpeed());
      addLabel(jm, " " + XNap.tr("Link Speed") + ": " + l.toString());
  }
    }
View Full Code Here

TOP

Related Classes of xnap.util.LinkSpeed

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.