summaryrefslogtreecommitdiff
path: root/swat2/style/qooxdoo/widgets/widgets/QxListItem.js
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-12 21:31:56 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-12 21:31:56 +0200
commiteff27744d3dcb4f6bcdf9bd03583bb38634c398d (patch)
tree5a44f953dcdb8b5efd69bcc6689b767631b19c1f /swat2/style/qooxdoo/widgets/widgets/QxListItem.js
parent696f30fff249656409f2efcc81b86a421d0c6880 (diff)
parent53b57300c799a079b4d64815243fe6120e0a9fa2 (diff)
downloadsamba-eff27744d3dcb4f6bcdf9bd03583bb38634c398d.tar.gz
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into manpage
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