maxGraph/docs/js-api/files/util/mxToolbar-js.html

83 lines
45 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>mxToolbar</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.5 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxToolbar"></a>mxToolbar</h1><div class=CBody><p>Creates a toolbar inside a given DOM node.&nbsp; The toolbar may contain icons, buttons and combo boxes.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#mxToolbar" >mxToolbar</a></td><td class=SDescription>Creates a toolbar inside a given DOM node. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxToolbar.Events" >Events</a></td><td class=SDescription></td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.mxEvent.SELECT" >mxEvent.<wbr>SELECT</a></td><td class=SDescription>Fires when an item was selected in the toolbar. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxToolbar.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.mxToolbar" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">mxToolbar</a></td><td class=SDescription>Constructs a toolbar in the specified container.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxToolbar.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.container" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">container</a></td><td class=SDescription>Reference to the DOM nodes that contains the toolbar.</td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxToolbar.enabled" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">enabled</a></td><td class=SDescription>Specifies if events are handled. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.noReset" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">noReset</a></td><td class=SDescription>Specifies if <a href="#mxToolbar.resetMode" class=LFunction id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">resetMode</a> requires a forced flag of true for resetting the current mode in the toolbar. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxToolbar.updateDefaultMode" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">updateDefaultMode</a></td><td class=SDescription>Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxToolbar.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.addItem" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">addItem</a></td><td class=SDescription>Adds the given function as an image with the specified title and icon and returns the new image node.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxToolbar.addCombo" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">addCombo</a></td><td class=SDescription>Adds and returns a new SELECT element using the given style. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.addCombo" >addCombo</a></td><td class=SDescription>Adds and returns a new SELECT element using the given title as the default element. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxToolbar.addOption" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">addOption</a></td><td class=SDescription>Adds and returns a new OPTION element inside the given SELECT element. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxToolbar.addSwitchMode" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10'
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.Events"></a>Events</h3></div></div>
<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.mxEvent.SELECT"></a>mxEvent.<wbr>SELECT</h3><div class=CBody><p>Fires when an item was selected in the toolbar.&nbsp; The &lt;code&gt;function&lt;/code&gt; property contains the function that was selected in <a href="#mxToolbar.selectMode" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt12', 'link18')" onMouseOut="HideTip('tt12')">selectMode</a>.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.mxToolbar"></a>mxToolbar</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function mxToolbar(</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a toolbar in the specified container.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>container</td><td class=CDLDescription>DOM node that contains the toolbar.</td></tr></table></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.Variables"></a>Variables</h3></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.container"></a>container</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.container</td></tr></table></blockquote><p>Reference to the DOM nodes that contains the toolbar.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.enabled"></a>enabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.enabled</td></tr></table></blockquote><p>Specifies if events are handled.&nbsp; Default is true.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.noReset"></a>noReset</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.noReset</td></tr></table></blockquote><p>Specifies if <a href="#mxToolbar.resetMode" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt5', 'link19')" onMouseOut="HideTip('tt5')">resetMode</a> requires a forced flag of true for resetting the current mode in the toolbar.&nbsp; Default is false.&nbsp; This is set to true if the toolbar item is double clicked to avoid a reset after a single use of the item.</p></div></div></div>
<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.updateDefaultMode"></a>updateDefaultMode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.updateDefaultMode</td></tr></table></blockquote><p>Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode.&nbsp; Default is true, that is the last selected switch mode is the default mode.&nbsp; The default mode is the mode to be selected after a reset of the toolbar.&nbsp; If this is false, then the default mode is the first inserted mode item regardless of what was last selected.&nbsp; Otherwise, the selected item after a reset is the previously selected item.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.Functions"></a>Functions</h3></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addItem"></a>addItem</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addItem = function(</td><td class=PParameter nowrap>title,</td></tr><tr><td></td><td class=PParameter nowrap>icon,</td></tr><tr><td></td><td class=PParameter nowrap>funct,</td></tr><tr><td></td><td class=PParameter nowrap>pressedIcon,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>factoryMethod</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the given function as an image with the specified title and icon and returns the new image node.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>title</td><td class=CDLDescription>Optional string that is used as the tooltip.</td></tr><tr><td class=CDLEntry>icon</td><td class=CDLDescription>Optional URL of the image to be used.&nbsp; If no URL is given, then a button is created.</td></tr><tr><td class=CDLEntry>funct</td><td class=CDLDescription>Function to execute on a mouse click.</td></tr><tr><td class=CDLEntry>pressedIcon</td><td class=CDLDescription>Optional URL of the pressed image.&nbsp; Default is a gray background.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional style classname.&nbsp; Default is mxToolbarItem.</td></tr><tr><td class=CDLEntry>factoryMethod</td><td class=CDLDescription>Optional factory method for popup menu, eg. function(menu, evt, cell) { menu.addItem(&lsquo;Hello, World!&rsquo;); }</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addCombo"></a>addCombo</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addCombo = function(</td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds and returns a new SELECT element using the given style.&nbsp; The element is placed inside a DIV with the mxToolbarComboContainer style classname.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional style classname.&nbsp; Default is mxToolbarCombo.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addCombo"></a>addCombo</h3><div class=CBody><p>Adds and returns a new SELECT element using the given title as the default element.&nbsp; The selection is reset to this element after each change.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>title</td><td class=CDLDescription>String that specifies the title of the default element.</td></tr><tr><td class=CDLEntry>style</td><td class=CDLDescription>Optional style classname.&nbsp; Default is mxToolbarCombo.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addOption"></a>addOption</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addOption = function(</td><td class=PParameter nowrap>combo,</td></tr><tr><td></td><td class=PParameter nowrap>title,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds and returns a new OPTION element inside the given SELECT element.&nbsp; If the given value is a function then it is stored in the option&rsquo;s funct field.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>combo</td><td class=CDLDescription>SELECT element that will contain the new entry.</td></tr><tr><td class=CDLEntry>title</td><td class=CDLDescription>String that specifies the title of the option.</td></tr><tr><td class=CDLEntry>value</td><td class=CDLDescription>Specifies the value associated with this option.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addSwitchMode"></a>addSwitchMode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addSwitchMode = function(</td><td class=PParameter nowrap>title,</td></tr><tr><td></td><td class=PParameter nowrap>icon,</td></tr><tr><td></td><td class=PParameter nowrap>funct,</td></tr><tr><td></td><td class=PParameter nowrap>pressedIcon,</td></tr><tr><td></td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a new selectable item to the toolbar.&nbsp; Only one switch mode item may be selected at a time.&nbsp; The currently selected item is the default item after a reset of the toolbar.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addMode"></a>addMode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addMode = function(</td><td class=PParameter nowrap>title,</td></tr><tr><td></td><td class=PParameter nowrap>icon,</td></tr><tr><td></td><td class=PParameter nowrap>funct,</td></tr><tr><td></td><td class=PParameter nowrap>pressedIcon,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>toggle</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a new item to the toolbar.&nbsp; The selection is typically reset after the item has been consumed, for example by adding a new vertex to the graph.&nbsp; The reset is not carried out if the item is double clicked.</p><p>The function argument uses the following signature: funct(evt, cell) where evt is the native mouse event and cell is the cell under the mouse.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.selectMode"></a>selectMode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.selectMode = function(</td><td class=PParameter nowrap>domNode,</td></tr><tr><td></td><td class=PParameter nowrap>funct</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Resets the state of the previously selected mode and displays the given DOM node as selected.&nbsp; This function fires a select event with the given function as a parameter.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.resetMode"></a>resetMode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.resetMode = function(</td><td class=PParameter nowrap>forced</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Selects the default mode and resets the state of the previously selected mode.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addSeparator"></a>addSeparator</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addSeparator = function(</td><td class=PParameter nowrap>icon</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds the specifies image as a separator.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>icon</td><td class=CDLDescription>URL of the separator icon.</td></tr></table></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addBreak"></a>addBreak</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.addBreak = function()</td></tr></table></blockquote><p>Adds a break to the container.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.addLine"></a>addLine</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.addLine = function()</td></tr></table></blockquote><p>Adds a horizontal line to the container.</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxToolbar.destroy"></a>destroy</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.destroy = function ()</td></tr></table></blockquote><p>Removes the toolbar and all its associated resources.</p></div></div></div>
</div><!--Content-->
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
2013-06-28 19:07:06 +00:00
<div id=Menu><div class=MEntry><div class=MFile><a href="../index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../handler/mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPopupMenuHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphViewCodec-js.html">mxGraphViewCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxModelCodec-js.html">mxModelCodec</a></d
2012-05-21 20:32:26 +00:00
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([10], 13);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function mxToolbar(</td><td class=PParameter nowrap>container</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a toolbar in the specified container.</div></div><div class=CToolTip id="tt2"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.container</td></tr></table></blockquote>Reference to the DOM nodes that contains the toolbar.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.enabled</td></tr></table></blockquote>Specifies if events are handled. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.noReset</td></tr></table></blockquote>Specifies if resetMode requires a forced flag of true for resetting the current mode in the toolbar. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.resetMode = function(</td><td class=PParameter nowrap>forced</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Selects the default mode and resets the state of the previously selected mode.</div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>mxToolbar.prototype.updateDefaultMode</td></tr></table></blockquote>Boolean indicating if the default mode should be the last selected switch mode or the first inserted switch mode. </div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addItem = function(</td><td class=PParameter nowrap>title,</td></tr><tr><td></td><td class=PParameter nowrap>icon,</td></tr><tr><td></td><td class=PParameter nowrap>funct,</td></tr><tr><td></td><td class=PParameter nowrap>pressedIcon,</td></tr><tr><td></td><td class=PParameter nowrap>style,</td></tr><tr><td></td><td class=PParameter nowrap>factoryMethod</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds the given function as an image with the specified title and icon and returns the new image node.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addCombo = function(</td><td class=PParameter nowrap>style</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds and returns a new SELECT element using the given style. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>mxToolbar.prototype.addOption = function(</td><td class=PParameter nowrap>combo,</td></tr><tr><td></td><td class=PParameter nowrap>title,</td></tr><tr><td></td><td class=PParameter nowrap>value</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Adds and returns a new OPTION element inside the given SELECT element. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>