summaryrefslogtreecommitdiffstats
path: root/qooxdoo/source/class/Tr/ui/Cellrenderer.js
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-08-23 15:59:15 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-08-23 15:59:15 +0200
commit55490b1bfb539386b63e25a8fd90e56c0200c1e8 (patch)
tree8ab5e31b7d1579ae8640dd006c4aa01daf7f8aaa /qooxdoo/source/class/Tr/ui/Cellrenderer.js
parenta1fbf832f9f0ba3043c3300aa0ca3a3d841ce41c (diff)
downloadsmokeping-55490b1bfb539386b63e25a8fd90e56c0200c1e8.tar.gz
smokeping-55490b1bfb539386b63e25a8fd90e56c0200c1e8.tar.xz
clean out smoketrace
Diffstat (limited to 'qooxdoo/source/class/Tr/ui/Cellrenderer.js')
-rw-r--r--qooxdoo/source/class/Tr/ui/Cellrenderer.js46
1 files changed, 0 insertions, 46 deletions
diff --git a/qooxdoo/source/class/Tr/ui/Cellrenderer.js b/qooxdoo/source/class/Tr/ui/Cellrenderer.js
deleted file mode 100644
index f18672d..0000000
--- a/qooxdoo/source/class/Tr/ui/Cellrenderer.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/* ************************************************************************
-
- Tr Frontend
-
- Author:
- * Tobias Oetiker
-
-************************************************************************ */
-/* ************************************************************************
-#module(Tr)
-************************************************************************ */
-
-/**
- * A configurable cell renderre
- */
-
-qx.Class.define('Tr.ui.Cellrenderer',
-{
- extend: qx.ui.table.cellrenderer.Number,
- /**
- * Format a number with a configurable number of fraction digits
- * and add optional pre and postfix.
- * @param digits {Integer} how many digits should there be. Default is 0.
- * @param prefix {String} optional prefix.
- * @param postfix {String} optional postfix.
- */
-
- construct: function (digits,postfix,prefix) {
- if (digits == undefined){
- digits = 0;
- }
- this.base(arguments)
- var format = new qx.util.format.NumberFormat();
- format.set({
- maximumFractionDigits: digits,
- minimumFractionDigits: digits
- });
- if (postfix != undefined){
- format.setPostfix(postfix);
- }
- if (prefix != undefined){
- format.setPrefix(prefix);
- }
- this.setNumberFormat(format);
- }
-});