Hi all, I just finished testing a couple of new classes, and I want to share them with the community.
FilesizeFormat Similar to qx.util.format.NumberFormat class. It enables the formatting of numbers as file sizes: - Numbers are converted to file sizes - Numbers greater than 1024 bytes are expressed in KB - Numbers greater than 1024^2 bytes are expressed in MB - Numbers greater than 1024^3 bytes are expressed in GB - Rounding and significant digits are handled according to convention Filesize Similar to qx.ui.table.cellrenderer.Number. This class formats table data using the new FileSizeFormat class. A demo is located here: http://sandbox.tartansolutions.com/filesize/build/ Source classes are located here: http://sandbox.tartansolutions.com/filesize/FilesizeFormat.js http://sandbox.tartansolutions.com/filesize/Filesize.js I will contribute these to the qooxdoo-contrib soon. -Mike -- View this message in context: http://www.nabble.com/New-FilesizeFormat-class-and-Filesize-cell-renderer-class-tp16757178p16757178.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
