Project

General

Profile

Statistics
| Revision:

root / trunk / web / dojo / dijit / Toolbar.js @ 12

History | View | Annotate | Download (1023 Bytes)

1
/*
2
        Copyright (c) 2004-2010, 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
5
*/
6

    
7

    
8
if(!dojo._hasResource["dijit.Toolbar"]){
9
dojo._hasResource["dijit.Toolbar"]=true;
10
dojo.provide("dijit.Toolbar");
11
dojo.require("dijit._Widget");
12
dojo.require("dijit._KeyNavContainer");
13
dojo.require("dijit._Templated");
14
dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"<div class=\"dijit\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",postCreate:function(){
15
this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);
16
this.inherited(arguments);
17
},startup:function(){
18
if(this._started){
19
return;
20
}
21
this.startupKeyNavChildren();
22
this.inherited(arguments);
23
}});
24
dojo.require("dijit.ToolbarSeparator");
25
}