Index: openacs-4/packages/ajaxhelper/www/resources/ext2/docs/ext_aptana.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ajaxhelper/www/resources/ext2/docs/ext_aptana.xml,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/ajaxhelper/www/resources/ext2/docs/ext_aptana.xml 4 Dec 2007 02:48:37 -0000 1.1 +++ openacs-4/packages/ajaxhelper/www/resources/ext2/docs/ext_aptana.xml 23 Mar 2018 22:56:42 -0000 1.2 @@ -2236,11 +2236,11 @@ <b>This should only be called after the editor is initialized.</b>The Midas command(optional) The value to pass to the command (defaults to null)Inserts the passed text at the current cursor position. Note: the editor must be initialized and activated to insert text.Returns the editor's toolbar. <b>This is only available after the editor has been rendered.</b>Numeric text field that provides automatic keystroke filtering and numeric validation.Creates a new NumberFieldConfiguration optionsSingle radio field. Same as Checkbox, but provided as a convenience for automatically setting the input type. Radio grouping is handled automatically by the browser if you give each radio in a group the same name.Creates a new RadioConfiguration optionsIf this radio is part of a group, it will return the selected valueMultiline text field. Can be used as a direct replacement for traditional textarea fields, plus adds -support for auto-sizing.Creates a new TextAreaConfiguration optionsAutomatically grows the field to accomodate the height of the text up to the maximum field height allowed. +support for auto-sizing.Creates a new TextAreaConfiguration optionsAutomatically grows the field to accommodate the height of the text up to the maximum field height allowed. This only takes effect if grow = true, and fires the autosize event if the height changes.Basic text field. Can be used as a direct replacement for traditional text inputs, or as the base class for more sophisticated input controls (like <a ext:cls="Ext.form.TextArea" href="output/Ext.form.TextArea.html">Ext.form.TextArea</a> and <a ext:cls="Ext.form.ComboBox" href="output/Ext.form.ComboBox.html">Ext.form.ComboBox</a>).Creates a new TextFieldConfiguration optionsResets the current field value to the originally-loaded value and clears any validation messages. Also adds emptyText and emptyClass if the original value was blank.Validates a value according to the field's validation rules and marks the field as invalid -if the validation failsThe value to validateSelects text in this field(optional) The index where the selection should start (defaults to 0)(optional) The index where the selection should end (defaults to the text length)Automatically grows the field to accomodate the width of the text up to the maximum field width allowed. +if the validation failsThe value to validateSelects text in this field(optional) The index where the selection should start (defaults to 0)(optional) The index where the selection should end (defaults to the text length)Automatically grows the field to accommodate the width of the text up to the maximum field width allowed. This only takes effect if grow = true, and fires the autosize event.Provides a time input field with a time dropdown and automatic time validation.Create a new TimeField @hideProvides a convenient wrapper for TextFields that adds a clickable trigger button (looks like a combobox by default). The trigger has no default action, so you must assign a function to implement the trigger click handler by @@ -2765,7 +2765,7 @@ display items. Item extends the base functionality of <a ext:cls="Ext.menu.BaseItem" href="output/Ext.menu.BaseItem.html">Ext.menu.BaseItem</a> by adding menu-specific activation and click handling.Creates a new ItemConfiguration optionsSets the text to display in this menu itemThe text to displaySets the CSS class to apply to the item's icon elementThe CSS class to applyA menu object. This is the container to which you add all other menu items. Menu can also serve a as a base class when you want a specialzed menu based off of another component (like <a ext:cls="Ext.menu.DateMenu" href="output/Ext.menu.DateMenu.html">Ext.menu.DateMenu</a> for example).Creates a new MenuConfiguration optionsRead-only. Returns true if the menu is currently displayed, else false.Displays this menu relative to another elementThe element to align to(optional) The <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">Ext.Element.alignTo</a> anchor position to use in aligning to -the element (defaults to this.defaultAlign)(optional) This menu's parent menu, if applicable (defaults to undefined)Displays this menu at a specific xy positionContains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)(optional) This menu's parent menu, if applicable (defaults to undefined)Hides this menu and optionally all parent menus(optional) True to hide all parent menus recursively, if any (defaults to false)Addds one or more items of any type supported by the Menu class, or that can be converted into menu items. +the element (defaults to this.defaultAlign)(optional) This menu's parent menu, if applicable (defaults to undefined)Displays this menu at a specific xy positionContains X & Y [x, y] values for the position at which to show the menu (coordinates are page-based)(optional) This menu's parent menu, if applicable (defaults to undefined)Hides this menu and optionally all parent menus(optional) True to hide all parent menus recursively, if any (defaults to false)Adds one or more items of any type supported by the Menu class, or that can be converted into menu items. Any of the following are valid: <ul> <li>Any menu item object based on <a ext:cls="Ext.menu.Item" href="output/Ext.menu.Item.html">Ext.menu.Item</a></li> @@ -3040,4 +3040,4 @@ sort = (sort == 'ASC' ? 'DESC' : 'ASC');</code></pre>The value to compare to the current stringThe new value to use if the string already equals the first value passed inTrims whitespace from either end of a string, leaving spaces within the string intact. Example: <pre><code>var s = ' foo bar '; alert('-' + s + '-'); //alerts "- foo bar -" -alert('-' + s.trim() + '-'); //alerts "-foo bar-"</code></pre> \ No newline at end of file +alert('-' + s.trim() + '-'); //alerts "-foo bar-"</code></pre>