Ext.ux.TabScrollerMenu.js
11.9 KB
Ext.data.JsonP.Ext_ux_TabScrollerMenu({"mixins":[],"code_type":"ext_define","inheritable":false,"component":false,"meta":{},"mixedInto":[],"uses":[],"aliases":{"plugin":["tabscrollermenu"]},"parentMixins":[],"superclasses":[],"members":{"event":[],"property":[],"css_var":[],"method":[{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"constructor","id":"method-constructor"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"getMaxText","id":"method-getMaxText"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"getMenuPrefixText","id":"method-getMenuPrefixText"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"getPageSize","id":"method-getPageSize"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"setMaxText","id":"method-setMaxText"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"setMenuPrefixText","id":"method-setMenuPrefixText"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"method","name":"setPageSize","id":"method-setPageSize"}],"css_mixin":[],"cfg":[{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"cfg","name":"maxText","id":"cfg-maxText"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"cfg","name":"menuPrefixText","id":"cfg-menuPrefixText"},{"meta":{},"owner":"Ext.ux.TabScrollerMenu","tagname":"cfg","name":"pageSize","id":"cfg-pageSize"}]},"tagname":"class","extends":null,"html":"<div><pre class=\"hierarchy\"><h4>Requires</h4><div class='dependency'><a href='#!/api/Ext.menu.Menu' rel='Ext.menu.Menu' class='docClass'>Ext.menu.Menu</a></div><h4>Files</h4><div class='dependency'><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu' target='_blank'>TabScrollerMenu.js</a></div></pre><div class='doc-contents'><p>Plugin (ptype = 'tabscrollermenu') for adding a tab menu to a TabBar is the Tabs overflow.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-maxText' class='member first-child not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-cfg-maxText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-cfg-maxText' class='name expandable'>maxText</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span></div><div class='description'><div class='short'>How long should the title of each Ext.menu.Item be. ...</div><div class='long'><p>How long should the title of each <a href=\"#!/api/Ext.menu.Item\" rel=\"Ext.menu.Item\" class=\"docClass\">Ext.menu.Item</a> be.</p>\n<p>Defaults to: <code>15</code></p></div></div></div><div id='cfg-menuPrefixText' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-cfg-menuPrefixText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-cfg-menuPrefixText' class='name expandable'>menuPrefixText</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>Text to prefix the submenus. ...</div><div class='long'><p>Text to prefix the submenus.</p>\n<p>Defaults to: <code>"Items"</code></p></div></div></div><div id='cfg-pageSize' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-cfg-pageSize' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-cfg-pageSize' class='name expandable'>pageSize</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span></div><div class='description'><div class='short'>How many items to allow per submenu. ...</div><div class='long'><p>How many items to allow per submenu.</p>\n<p>Defaults to: <code>10</code></p></div></div></div></div></div><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-method'>Methods</h3><div class='subsection'><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-constructor' target='_blank' class='view-source'>view source</a></div><strong class='new-keyword'>new</strong><a href='#!/api/Ext.ux.TabScrollerMenu-method-constructor' class='name expandable'>Ext.ux.TabScrollerMenu</a>( <span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> config</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></div><div class='description'><div class='short'> ...</div><div class='long'>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>config</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>Configuration options</p>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-getMaxText' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-getMaxText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-method-getMaxText' class='name expandable'>getMaxText</a>( <span class='pre'></span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></div><div class='description'><div class='short'>Returns the current maxText length; ...</div><div class='long'><p>Returns the current maxText length;</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>this.maxText The current max text length.</p>\n</div></li></ul></div></div></div><div id='method-getMenuPrefixText' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-getMenuPrefixText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-method-getMenuPrefixText' class='name expandable'>getMenuPrefixText</a>( <span class='pre'></span> ) : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></div><div class='description'><div class='short'>Returns the current menu prefix text String.; ...</div><div class='long'><p>Returns the current menu prefix text String.;</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span><div class='sub-desc'><p>this.menuPrefixText The current menu prefix text.</p>\n</div></li></ul></div></div></div><div id='method-getPageSize' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-getPageSize' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-method-getPageSize' class='name expandable'>getPageSize</a>( <span class='pre'></span> ) : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></div><div class='description'><div class='short'>Returns an the current page size (this.pageSize); ...</div><div class='long'><p>Returns an the current page size (this.pageSize);</p>\n<h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a></span><div class='sub-desc'><p>this.pageSize The current page size.</p>\n</div></li></ul></div></div></div><div id='method-setMaxText' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-setMaxText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-method-setMaxText' class='name expandable'>setMaxText</a>( <span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> t</span> )</div><div class='description'><div class='short'>Sets the maximum text size for each menu item. ...</div><div class='long'><p>Sets the maximum text size for each menu item.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>t</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The max text per each menu item.</p>\n</div></li></ul></div></div></div><div id='method-setMenuPrefixText' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-setMenuPrefixText' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-method-setMenuPrefixText' class='name expandable'>setMenuPrefixText</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> t</span> )</div><div class='description'><div class='short'>Sets the menu prefix text String. ...</div><div class='long'><p>Sets the menu prefix text String.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>t</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The menu prefix text.</p>\n</div></li></ul></div></div></div><div id='method-setPageSize' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><span class='defined-in' rel='Ext.ux.TabScrollerMenu'>Ext.ux.TabScrollerMenu</span><br/><a href='source/TabScrollerMenu.html#Ext-ux-TabScrollerMenu-method-setPageSize' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.ux.TabScrollerMenu-method-setPageSize' class='name expandable'>setPageSize</a>( <span class='pre'><a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> pageSize</span> )</div><div class='description'><div class='short'>Sets the number of menu items per submenu \"page size\". ...</div><div class='long'><p>Sets the number of menu items per submenu \"page size\".</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>pageSize</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>The page size</p>\n</div></li></ul></div></div></div></div></div></div></div>","subclasses":[],"name":"Ext.ux.TabScrollerMenu","alternateClassNames":[],"inheritdoc":null,"files":[{"href":"TabScrollerMenu.html#Ext-ux-TabScrollerMenu","filename":"TabScrollerMenu.js"}],"html_meta":{},"singleton":false,"id":"class-Ext.ux.TabScrollerMenu","statics":{"property":[],"event":[],"css_var":[],"method":[],"css_mixin":[],"cfg":[]},"requires":["Ext.menu.Menu"]});