1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.form.HtmlEditor.ToolbarContext</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.form.HtmlEditor.ToolbarContext-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.form.HtmlEditor.ToolbarContext-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.form.HtmlEditor.ToolbarContext-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.form.HtmlEditor.ToolbarContext-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
50 Class Roo.form.HtmlEditor.ToolbarContext
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Package:</td><td class="hd-info">Roo.form.HtmlEditor</td></tr>
57 <tr><td class="label">Defined In:</td><td class="hd-info">
59 <a href="./src/Roo_form_HtmlEditor_ToolbarContext.js.html">Roo/form/HtmlEditor/ToolbarContext.js</a>.
62 <tr><td class="label">Class:</td><td class="hd-info">ToolbarContext</td></tr>
70 <!-- ============================== class summary ========================== -->
71 <div class="description">
72 Context Toolbar<br/><br/>Usage:<br/><br/> new Roo.form.HtmlEditor({<br/> ....<br/> toolbars : [<br/> { xtype: 'ToolbarStandard', styles : {} }<br/> { xtype: 'ToolbarContext', disable : {} }<br/> ]<br/>})
76 <!-- ============================== Class comment block... ========================== -->
78 <div class="comments">
79 <b>Class Comments / Notes</B> =>
80 <u onclick="parent.CommentDialog.showCommentId = 'Roo.form.HtmlEditor.ToolbarContext';">[Add Your comment/notes about this class]</u>
82 <iframe frameborder="0" id="comments-Roo.form.HtmlEditor" style="border: none;width:100%;"
83 src="/blog.php/GtkDjsComments/Roo.form.HtmlEditor.ToolbarContext.html"></iframe>
88 <!-- ============================== config options ========================== -->
93 <div class="hr"></div>
94 <a id="Roo.form.HtmlEditor.ToolbarContext-configs"></a>
100 <table cellspacing="0" class="member-table">
101 <caption>Config Options (Usually are also Properties)</caption>
105 <th class="sig-header" colspan="2">Options</th>
107 <th class="msource-header">Defined By</th>
114 <tr class="config-row expandable config-row-alt0 notInherited">
115 <td class="micon"><a class="exi" href="#expand"> </a></td>
118 <a id="Roo.form.HtmlEditor.ToolbarContext-cfg-disable" name=".disable"></a>
119 <div class="fixedFont">
120 <b class="itemname">disable</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
126 <div class="short">List of toolbar elements to disable</div>
131 List of toolbar elements to disable
141 Roo.form.HtmlEditor.ToolbarContext
147 <tr class="config-row expandable config-row-alt1 notInherited">
148 <td class="micon"><a class="exi" href="#expand"> </a></td>
151 <a id="Roo.form.HtmlEditor.ToolbarContext-cfg-styles" name=".styles"></a>
152 <div class="fixedFont">
153 <b class="itemname">styles</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
159 <div class="short">List of styles <br/> eg.</div>
164 List of styles <br/> eg. { '*' : [ 'headline' ] , 'TD' : [ 'underline', 'double-underline' ] } <br/><br/>These must be defined in the page, so they get rendered correctly..<br/>.headline { }<br/>TD.underline { }
174 Roo.form.HtmlEditor.ToolbarContext
190 <!-- ============================== public properties ==================== -->
194 <a id="Roo.form.HtmlEditor.ToolbarContext-props"></a>
200 <table cellspacing="0" class="member-table">
201 <caption class="Empty">Public Properties - Has None</caption>
207 <!-- ============================== methods summary / details ======================== -->
210 <a id="Roo.form.HtmlEditor.ToolbarContext-methods"></a>
211 <!-- constructor?? -->
218 <!-- then dynamics first -->
225 <table cellspacing="0" class="member-table">
226 <caption>Public Methods</caption>
228 <th class="sig-header" colspan="2">Method</th>
229 <th class="msource-header">Defined By</th>
239 <tr class="method-row config-row-alt0 notInherited">
240 <td class="micon"><a class="exi" href="#expand"> </a></td>
244 <a id="Roo.form.HtmlEditor-method-ToolbarContext" name=".ToolbarContext"></a>
245 <div class="fixedFont">
246 <span class="attributes">new <B>Roo.form.HtmlEditor.</B></span><b class="itemname">ToolbarContext</b>
256 <div class="short">Create a new Roo.form.HtmlEditor.ToolbarContext</div>
263 Create a new Roo.form.HtmlEditor.ToolbarContext
286 <tr class="method-row config-row-alt1 expandable notInherited">
287 <td class="micon"><a class="exi" href="#expand"> </a></td>
291 <a id="Roo.form.HtmlEditor.ToolbarContext-method-updateToolbar" name=".updateToolbar"></a>
292 <div class="fixedFont">
293 <span class="attributes"></span><b class="itemname">updateToolbar</b>
302 <div class="short">Protected method that will not generally be called directly.</div>
308 Protected method that will not generally be called directly. It triggers<br/>a toolbar update by reading the markup state of the current selection in the editor.<br/><br/>Note you can force an update by calling on('editorevent', scope, false)
331 Roo.form.HtmlEditor.ToolbarContext
340 <!-- ============================== events summary / details ======================== -->
343 <a id="Roo.form.HtmlEditor.ToolbarContext-events"></a>
349 <table cellspacing="0" class="member-table">
350 <caption class="Empty">Events - Has None</caption>
361 <!-- ============================== footer ================================= -->
362 <div class="fineprint" style="clear:both">
364 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Tue Mar 22 2016 11:14:09 GMT+0800 (HKT)
366 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>