]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/MenuSeparator.js
2 Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
3 Available via Academic Free License >= 2.1 OR the modified BSD license.
4 see: http://dojotoolkit.org/license for details
8 if(!dojo
._hasResource
["dijit.MenuSeparator"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
9 dojo
._hasResource
["dijit.MenuSeparator"] = true;
10 dojo
.provide("dijit.MenuSeparator");
11 dojo
.require("dijit._Widget");
12 dojo
.require("dijit._Templated");
13 dojo
.require("dijit._Contained");
16 dojo
.declare("dijit.MenuSeparator",
17 [dijit
._Widget
, dijit
._Templated
, dijit
._Contained
],
20 // A line between two menu items
22 templateString
: dojo
.cache("dijit", "templates/MenuSeparator.html", "<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n"),
24 buildRendering: function(){
25 this.inherited(arguments
);
26 dojo
.setSelectable(this.domNode
, false);
29 isFocusable: function(){
31 // Override to always return false
35 return false; // Boolean