summaryrefslogtreecommitdiff
path: root/swat2/style/qooxdoo/widgets/widgets/QxListItem.js
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-09-11 16:47:45 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-12 08:51:07 +0200
commit7e671ae37f6c951d4db18c446eed52685200b2e0 (patch)
treec9c3713d27ac0374c08d2b99f7968969bd67c69e /swat2/style/qooxdoo/widgets/widgets/QxListItem.js
parentacf11ddd5fbb9e4b0b780f4f95957d79fcc6fcf1 (diff)
downloadsamba-7e671ae37f6c951d4db18c446eed52685200b2e0.tar.gz
rename swat => swat2, so that we don't conflict with samba3
metze (This used to be commit bf852a3dbeee8900fa36978f08a5cdceabcbd926)
Diffstat (limited to 'swat2/style/qooxdoo/widgets/widgets/QxListItem.js')
-rw-r--r--swat2/style/qooxdoo/widgets/widgets/QxListItem.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/swat2/style/qooxdoo/widgets/widgets/QxListItem.js b/swat2/style/qooxdoo/widgets/widgets/QxListItem.js
new file mode 100644
index 00000000000..864c9d086b9
--- /dev/null
+++ b/swat2/style/qooxdoo/widgets/widgets/QxListItem.js
@@ -0,0 +1,2 @@
+/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */
+function QxListItem(vText,vIcon,vValue){QxAtom.call(this,vText,vIcon);if(isValid(vValue)){this.setValue(vValue);};this.setWidth(null);this.setLeft(0);this.setRight(0);this.setCanSelect(false);this.setTimerCreate(false);};QxListItem.extend(QxAtom,"QxListItem");QxListItem.addProperty({name:"value",type:String});proto.matchesString=function(vText){return vText!=""&&this.getText().toLowerCase().indexOf(vText.toLowerCase())==0;};proto.matchesStringExact=function(vText){return vText!=""&&this.getText().toLowerCase()==String(vText).toLowerCase();}; \ No newline at end of file