diff options
Diffstat (limited to 'swat2/style/qooxdoo/widgets/widgets/QxListItem.js')
-rw-r--r-- | swat2/style/qooxdoo/widgets/widgets/QxListItem.js | 2 |
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 0000000000..864c9d086b --- /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 |