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>
130 <div class="long">List of toolbar elements to disable</div>
138 Roo.form.HtmlEditor.ToolbarContext
144 <tr class="config-row expandable config-row-alt1 notInherited">
145 <td class="micon"><a class="exi" href="#expand"> </a></td>
148 <a id="Roo.form.HtmlEditor.ToolbarContext-cfg-styles" name=".styles"></a>
149 <div class="fixedFont">
150 <b class="itemname">styles</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
156 <div class="short">List of styles <br/> eg.</div>
160 <div class="long">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 { }</div>
168 Roo.form.HtmlEditor.ToolbarContext
184 <!-- ============================== public properties ==================== -->
188 <a id="Roo.form.HtmlEditor.ToolbarContext-props"></a>
194 <table cellspacing="0" class="member-table">
195 <caption class="Empty">Public Properties - Has None</caption>
201 <!-- ============================== methods summary / details ======================== -->
204 <a id="Roo.form.HtmlEditor.ToolbarContext-methods"></a>
205 <!-- constructor?? -->
212 <!-- then dynamics first -->
219 <table cellspacing="0" class="member-table">
220 <caption>Public Methods</caption>
222 <th class="sig-header" colspan="2">Method</th>
223 <th class="msource-header">Defined By</th>
233 <tr class="method-row config-row-alt0 notInherited">
234 <td class="micon"><a class="exi" href="#expand"> </a></td>
238 <a id="Roo.form.HtmlEditor-method-ToolbarContext" name=".ToolbarContext"></a>
239 <div class="fixedFont">
240 <span class="attributes">new <B>Roo.form.HtmlEditor.</B></span><b class="itemname">ToolbarContext</b>
250 <div class="short">Create a new Roo.form.HtmlEditor.ToolbarContext</div>
257 Create a new Roo.form.HtmlEditor.ToolbarContext
280 <tr class="method-row config-row-alt1 expandable notInherited">
281 <td class="micon"><a class="exi" href="#expand"> </a></td>
285 <a id="Roo.form.HtmlEditor.ToolbarContext-method-updateToolbar" name=".updateToolbar"></a>
286 <div class="fixedFont">
287 <span class="attributes"></span><b class="itemname">updateToolbar</b>
296 <div class="short">Protected method that will not generally be called directly.</div>
302 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.
325 Roo.form.HtmlEditor.ToolbarContext
334 <!-- ============================== events summary / details ======================== -->
337 <a id="Roo.form.HtmlEditor.ToolbarContext-events"></a>
343 <table cellspacing="0" class="member-table">
344 <caption class="Empty">Events - Has None</caption>
355 <!-- ============================== footer ================================= -->
356 <div class="fineprint" style="clear:both">
358 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 24 2014 16:33:00 GMT+0800 (HKT)
360 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>