| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><meta name="keywords" content="IGridItemEditor,spark.components.gridClasses.IGridItemEditor,CELL,DOUBLE_CLICK,ERROR_TEXT,GRID,MULTIPLE_CELLS,MULTIPLE_ROWS,NONE,NONE,ROW,SINGLE_CELL,SINGLE_CLICK,SINGLE_CLICK_ON_SELECTED_CELL,SINGLE_ROW,column,column,column,column,columnCount,columnIndex,columnIndex,columnIndex,columnIndex,columnIndex,columnIndex,columnIndex,column,comboBox,data,data,dataField,dataGrid,dataGrid,dataGrid,dataGrid,dataProvider,dataTipField,dataTipFormatter,dataTipFunction,down,down,dragging,dragging,editable,editedItemPosition,editedItemRenderer,editorActivationMouseEvent,editorColumnIndex,editorRowIndex,enableIME,formatter,grid,grid,grid,grid,gridColumnHeaderGroup,gridHeaderViewLayout,gridViewLayout,headerRenderer,headerText,hovered,hovered,imeMode,imeMode,itemEditor,itemEditorInstance,itemRenderer,itemRenderer,itemRendererFunction,label,label,labelDisplay,labelFunction,maxWidth,minWidth,percentWidth,rendererIsEditable,resizable,rowCount,rowIndex,rowIndex,rowIndex,rowIndex,rowIndex,rowIndex,selected,selected,showDataTips,showsCaret,showsCaret,sortCompareFunction,sortCompareType,sortDescending,sortField,sortable,textArea,value,visible,width,cancel,cancel,containsGlobalPoint,containsMouseEvent,containsMouseEvent,discard,discard,discard,discard,endItemEditorSession,getCurrentRendererState,getNextVisibleColumnIndex,getPreviousVisibleColumnIndex,getSortFieldValue,grid_gridMouseWheelHandler,initialize,itemToDataTip,itemToLabel,itemToRenderer,prepare,prepare,prepare,prepare,prepareGridVisualElement,save,save,startItemEditorSession,uninitialize,validate"><title>spark.components.gridClasses.IGridItemEditor</title></head><body><script language="javascript" type="text/javascript" src="../../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../../help.js"></script><script language="javascript" type="text/javascript" src="../../../cookies.js"></script><script language="javascript" type="text/javascript"><!-- |
| asdocTitle = 'IGridItemEditor - ApacheFlex API Reference'; |
| var baseRef = '../../../'; |
| window.onload = configPage; |
| --></script> |
| <script type="text/javascript"> |
| scrollToNameAnchor(); |
| </script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Apache Flex 4.16.1 API Reference </td><td class="titleTableTopNav" align="right"><a href="../../../package-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Packages</a> | <a href="../../../class-summary.html" onclick="loadClassListFrame('../../../all-classes.html')">All Classes</a> | <a href="../../../all-index-A.html" onclick="loadClassListFrame('../../../index-list.html')">Index</a> | <a id="framesLink1" href="../../../index.html?spark/components/gridClasses/IGridItemEditor.html&spark/components/gridClasses/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logo.jpg" class="logoImage" alt="AdobeLogo" title="AdobeLogo"></td></tr><tr class="titleTableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">IGridItemEditor</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a> | <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3"> </td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve"> |
| <!-- |
| |
| if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("IGridItemEditor"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false ,false,false,false,false,false);} |
| --> |
| </script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">spark.components.gridClasses</a></td></tr><tr><td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface IGridItemEditor extends <a href="../../../mx/core/IDataRenderer.html">IDataRenderer</a>, <a href="../../../mx/core/IVisualElement.html">IVisualElement</a>, <a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a>, <a href="../../../mx/core/IIMESupport.html">IIMESupport</a>, <a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a>, <a href="../../../mx/core/ILayoutDirectionElement.html">ILayoutDirectionElement</a>, flash.events.IEventDispatcher</td></tr><tr><td class="classHeaderTableLabel">Implementors</td><td> <a href="../../../spark/components/gridClasses/GridItemEditor.html">GridItemEditor</a></td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p></p><p></p> |
| The IGridItemEditor interface defines the interface that item editors for |
| the Spark DataGrid and Spark Grid controls must implement. |
| The DataGrid and Grid controls are referred to as the item renderer owner, |
| or as the host component of the item editor. |
| |
| <p>All of the item editor's properties are set by the owner during |
| the start of the editor session. |
| The <code>data</code> property is the last property set. |
| When the <code>data</code> property is set, an item editor should |
| set the value of the editor's controls. |
| Next, the editor's <code>prepare()</code> method is called. |
| IGridItemEditor implementations should override the <code>prepare()</code> method |
| to make any final adjustments to its properties or any aspect of its visual elements. |
| When the editor is closing, the <code>discard()</code> method is called.</p> |
| |
| <p>When the editor is closed, the input value can be saved or canceled. |
| If saving, the <code>save()</code> function is called by the editor |
| to write new values to the data provider element corresponding to the |
| row of the edited cell. </p> |
| <p></p><p><span class="classHeaderTableLabel">See also</span></p><div class="seeAlso"><a href="../../../spark/components/DataGrid.html" target="">spark.components.DataGrid</a><br/><a href="../../../spark/components/Grid.html" target="">spark.components.Grid</a></div><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><div class="showHideLinks"><div id="hideInheritedProperty" class="hideInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(false,'Property');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Properties</a></div><div id="showInheritedProperty" class="showInheritedProperty"><a class="showHideLink" href="#propertySummary" onclick="javascript:setInheritedVisible(true,'Property');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Properties</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th> </th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#alpha" class="signatureLink">alpha</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#baseline" class="signatureLink">baseline</a> : Object<div class="summaryTableDescription"> |
| The vertical distance in pixels from the anchor target to |
| the control's baseline position.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#baselinePosition" class="signatureLink">baselinePosition</a> : Number<div class="summaryTableDescription">[read-only] |
| The y-coordinate of the baseline |
| of the first line of text of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#bottom" class="signatureLink">bottom</a> : Object<div class="summaryTableDescription"> |
| The vertical distance in pixels from the bottom edge of the component to the |
| anchor target's bottom edge.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#column" class="signatureLink">column</a> : <a href="../../../spark/components/gridClasses/GridColumn.html">GridColumn</a><div class="summaryTableDescription"> |
| The column of the cell being edited.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#columnIndex" class="signatureLink">columnIndex</a> : int<div class="summaryTableDescription">[read-only] |
| The zero-based index of the column being edited.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IDataRenderer.html#data" class="signatureLink">data</a> : Object<div class="summaryTableDescription"> |
| The data to render or edit.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IDataRenderer.html">IDataRenderer</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#dataGrid" class="signatureLink">dataGrid</a> : <a href="../../../spark/components/DataGrid.html">DataGrid</a><div class="summaryTableDescription">[read-only] |
| The control that owns this item editor.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#depth" class="signatureLink">depth</a> : Number<div class="summaryTableDescription"> |
| Determines the order in which items inside of containers |
| are rendered.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#designLayer" class="signatureLink">designLayer</a> : <a href="../../../mx/core/DesignLayer.html">DesignLayer</a><div class="summaryTableDescription"> |
| Specifies the optional DesignLayer instance associated with this visual |
| element.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IIMESupport.html#enableIME" class="signatureLink">enableIME</a> : Boolean<div class="summaryTableDescription">[read-only] |
| Specifies whether the IME should be enabled when |
| this component has focus.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IIMESupport.html">IIMESupport</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/managers/IFocusManagerComponent.html#focusEnabled" class="signatureLink">focusEnabled</a> : Boolean<div class="summaryTableDescription"> |
| A flag that indicates whether the component can receive focus when selected.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/managers/IFocusManagerComponent.html#hasFocusableChildren" class="signatureLink">hasFocusableChildren</a> : Boolean<div class="summaryTableDescription"> |
| A flag that indicates whether child objects can receive focus.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#hasLayoutMatrix3D" class="signatureLink">hasLayoutMatrix3D</a> : Boolean<div class="summaryTableDescription">[read-only] |
| Contains true if the element has 3D Matrix.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#height" class="signatureLink">height</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#horizontalCenter" class="signatureLink">horizontalCenter</a> : Object<div class="summaryTableDescription"> |
| The horizontal distance in pixels from the center of the component to the |
| center of the anchor target's content area.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IIMESupport.html#imeMode" class="signatureLink">imeMode</a> : String<div class="summaryTableDescription"> |
| The IME mode of the component.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IIMESupport.html">IIMESupport</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#includeInLayout" class="signatureLink">includeInLayout</a> : Boolean<div class="summaryTableDescription"> |
| Specifies whether this component is included in the layout of the |
| parent container.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#is3D" class="signatureLink">is3D</a> : Boolean<div class="summaryTableDescription">[read-only] |
| Contains true when the element is in 3D.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutDirectionElement.html#layoutDirection" class="signatureLink">layoutDirection</a> : String<div class="summaryTableDescription"> |
| Specifies the desired layout direction for an element: one of LayoutDirection.LTR |
| (left to right), LayoutDirection.RTL (right to left), or null (inherit).</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutDirectionElement.html">ILayoutDirectionElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#left" class="signatureLink">left</a> : Object<div class="summaryTableDescription"> |
| The horizontal distance in pixels from the left edge of the component to the |
| anchor target's left edge.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/managers/IFocusManagerComponent.html#mouseFocusEnabled" class="signatureLink">mouseFocusEnabled</a> : Boolean<div class="summaryTableDescription">[read-only] |
| A flag that indicates whether the component can receive focus |
| when selected with the mouse.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#owner" class="signatureLink">owner</a> : DisplayObjectContainer<div class="summaryTableDescription"> |
| The owner of this IVisualElement object.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#parent" class="signatureLink">parent</a> : DisplayObjectContainer<div class="summaryTableDescription">[read-only] |
| The parent container or component for this component.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#percentHeight" class="signatureLink">percentHeight</a> : Number<div class="summaryTableDescription"> |
| Specifies the height of a component as a percentage |
| of its parent's size.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#percentWidth" class="signatureLink">percentWidth</a> : Number<div class="summaryTableDescription"> |
| Specifies the width of a component as a percentage |
| of its parent's size.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#postLayoutTransformOffsets" class="signatureLink">postLayoutTransformOffsets</a> : <a href="../../../mx/geom/TransformOffsets.html">TransformOffsets</a><div class="summaryTableDescription"> |
| Defines a set of adjustments that can be applied to the object's |
| transform in a way that is invisible to its parent's layout.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#right" class="signatureLink">right</a> : Object<div class="summaryTableDescription"> |
| The horizontal distance in pixels from the right edge of the component to the |
| anchor target's right edge.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><a href="#rowIndex" class="signatureLink">rowIndex</a> : int<div class="summaryTableDescription"> |
| The zero-based index of the row of the cell being edited.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/managers/IFocusManagerComponent.html#tabFocusEnabled" class="signatureLink">tabFocusEnabled</a> : Boolean<div class="summaryTableDescription">[read-only] |
| A flag that indicates whether pressing the Tab key eventually |
| moves focus to this component.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/managers/IFocusManagerComponent.html#tabIndex" class="signatureLink">tabIndex</a> : int<div class="summaryTableDescription"> |
| If tabFocusEnabled, the order in which the component receives focus.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#top" class="signatureLink">top</a> : Object<div class="summaryTableDescription"> |
| The vertical distance in pixels from the top edge of the component to the |
| anchor target's top edge.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/ILayoutElement.html#verticalCenter" class="signatureLink">verticalCenter</a> : Object<div class="summaryTableDescription"> |
| The vertical distance in pixels from the center of the component to the |
| center of the anchor target's content area.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#visible" class="signatureLink">visible</a> : Boolean<div class="summaryTableDescription"> |
| Controls the visibility of this visual element.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#width" class="signatureLink">width</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#x" class="signatureLink">x</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr><tr class="hideInheritedProperty"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><a href="../../../mx/core/IVisualElement.html#y" class="signatureLink">y</a> : Number<div class="summaryTableDescription"></div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/IVisualElement.html">IVisualElement</a></td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><div class="showHideLinks"><div id="hideInheritedMethod" class="hideInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(false,'Method');"><img class="showHideLinkImage" src="../../../images/expanded.gif"> Hide Inherited Public Methods</a></div><div id="showInheritedMethod" class="showInheritedMethod"><a class="showHideLink" href="#methodSummary" onclick="javascript:setInheritedVisible(true,'Method');"><img class="showHideLinkImage" src="../../../images/collapsed.gif"> Show Inherited Public Methods</a></div></div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th> </th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#cancel()" class="signatureLink">cancel</a>():Boolean</div><div class="summaryTableDescription"> |
| Called by the DataGrid when an open editor is being closed without |
| saving the data in the editor.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#discard()" class="signatureLink">discard</a>():void</div><div class="summaryTableDescription"> |
| Called just before the editor is closed.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/managers/IFocusManagerComponent.html#drawFocus()" class="signatureLink">drawFocus</a>(isFocused:Boolean):void</div><div class="summaryTableDescription"> |
| Called by the FocusManager when the component receives focus.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getBoundsXAtSize()" class="signatureLink">getBoundsXAtSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the x coordinate of the element's bounds at the specified element size.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getBoundsYAtSize()" class="signatureLink">getBoundsYAtSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the y coordinate of the element's bounds at the specified element size.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getLayoutBoundsHeight()" class="signatureLink">getLayoutBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's layout height.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getLayoutBoundsWidth()" class="signatureLink">getLayoutBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's layout width.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getLayoutBoundsX()" class="signatureLink">getLayoutBoundsX</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the x coordinate that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getLayoutBoundsY()" class="signatureLink">getLayoutBoundsY</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the y coordinate that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getLayoutMatrix()" class="signatureLink">getLayoutMatrix</a>():Matrix</div><div class="summaryTableDescription"> |
| Returns the transform matrix that is used to calculate the component's |
| layout relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getLayoutMatrix3D()" class="signatureLink">getLayoutMatrix3D</a>():Matrix3D</div><div class="summaryTableDescription"> |
| Returns the layout transform Matrix3D for this element.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getMaxBoundsHeight()" class="signatureLink">getMaxBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's maximum height.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getMaxBoundsWidth()" class="signatureLink">getMaxBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's maximum width.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getMinBoundsHeight()" class="signatureLink">getMinBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's minimum height.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getMinBoundsWidth()" class="signatureLink">getMinBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's minimum width.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getPreferredBoundsHeight()" class="signatureLink">getPreferredBoundsHeight</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's preferred height.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#getPreferredBoundsWidth()" class="signatureLink">getPreferredBoundsWidth</a>(postLayoutTransform:Boolean = true):Number</div><div class="summaryTableDescription"> |
| Returns the element's preferred width.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutDirectionElement.html#invalidateLayoutDirection()" class="signatureLink">invalidateLayoutDirection</a>():void</div><div class="summaryTableDescription"> |
| An element must call this method when its layoutDirection changes or |
| when its parent's layoutDirection changes.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutDirectionElement.html">ILayoutDirectionElement</a></td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#prepare()" class="signatureLink">prepare</a>():void</div><div class="summaryTableDescription"> |
| Called after the editor has been created and sized but before the |
| editor is visible.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class=""><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"> </td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#save()" class="signatureLink">save</a>():Boolean</div><div class="summaryTableDescription"> |
| Saves the value in the editor to the data provider of the |
| item renderer's owner.</div></td><td class="summaryTableOwnerCol">IGridItemEditor</td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/managers/IFocusManagerComponent.html#setFocus()" class="signatureLink">setFocus</a>():void</div><div class="summaryTableDescription"> |
| Called by the FocusManager when the component receives focus.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/managers/IFocusManagerComponent.html">IFocusManagerComponent</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#setLayoutBoundsPosition()" class="signatureLink">setLayoutBoundsPosition</a>(x:Number, y:Number, postLayoutTransform:Boolean = true):void</div><div class="summaryTableDescription"> |
| Sets the coordinates that the element uses to draw on screen.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#setLayoutBoundsSize()" class="signatureLink">setLayoutBoundsSize</a>(width:Number, height:Number, postLayoutTransform:Boolean = true):void</div><div class="summaryTableDescription"> |
| Sets the layout size of the element.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#setLayoutMatrix()" class="signatureLink">setLayoutMatrix</a>(value:Matrix, invalidateLayout:Boolean):void</div><div class="summaryTableDescription"> |
| Sets the transform Matrix that is used to calculate the component's layout |
| size and position relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#setLayoutMatrix3D()" class="signatureLink">setLayoutMatrix3D</a>(value:Matrix3D, invalidateLayout:Boolean):void</div><div class="summaryTableDescription"> |
| Sets the transform Matrix3D that is used to calculate the component's layout |
| size and position relative to its siblings.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr><tr class="hideInheritedMethod"><td class="summaryTablePaddingCol"> </td><td class="summaryTableInheritanceCol"><img src="../../../images/inheritedSummary.gif" alt="Inherited" title="Inherited" class="inheritedSummaryImage"></td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="../../../mx/core/ILayoutElement.html#transformAround()" class="signatureLink">transformAround</a>(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void</div><div class="summaryTableDescription"> |
| A utility method to update the rotation, scale, and translation of the |
| transform while keeping a particular point, specified in the component's |
| own coordinate space, fixed in the parent's coordinate space.</div></td><td class="summaryTableOwnerCol"><a href="../../../mx/core/ILayoutElement.html">ILayoutElement</a></td></tr></table></div><script language="javascript" type="text/javascript"><!-- |
| showHideInherited(); |
| --></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="column"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">column</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>column:<a href="../../../spark/components/gridClasses/GridColumn.html">GridColumn</a></code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| The column of the cell being edited. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get column():<a href="../../../spark/components/gridClasses/GridColumn.html">GridColumn</a></code><br/><code> public function set column(value:<a href="../../../spark/components/gridClasses/GridColumn.html">GridColumn</a>):void</code><br/></div><a name="propertyDetail"></a><a name="columnIndex"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">columnIndex</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>columnIndex:int</code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| The zero-based index of the column being edited. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get columnIndex():int</code><br/></div><a name="propertyDetail"></a><a name="dataGrid"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">dataGrid</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>dataGrid:<a href="../../../spark/components/DataGrid.html">DataGrid</a></code> [read-only] <p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| The control that owns this item editor. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get dataGrid():<a href="../../../spark/components/DataGrid.html">DataGrid</a></code><br/></div><a name="propertyDetail"></a><a name="rowIndex"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">rowIndex</td><td class="detailHeaderType">property</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code>rowIndex:int</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| The zero-based index of the row of the cell being edited. |
| |
| </p><br/><span class="label"> Implementation </span><br/><code> public function get rowIndex():int</code><br/><code> public function set rowIndex(value:int):void</code><br/></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="cancel()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">cancel</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code> public function cancel():Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| Called by the DataGrid when an open editor is being closed without |
| saving the data in the editor. Closing the editor may be |
| prevented by returning <code>false</code> |
| . |
| <p>Do not call this method directly. |
| It should only be called by the control hosting the item editor. |
| To close the editor without saving its data, call the |
| <code>endItemEditorSession()</code> method with the <code>cancel</code> |
| parameter set to <code>true</code>.</p> |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> — <code>true</code> to close the editor without saving its data. |
| Return <code>false</code> to prevent the editor from closing. |
| |
| </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="../../../spark/components/DataGrid.html" target="">spark.components.DataGrid</a></div></div><a name="discard()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">discard</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function discard():void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| Called just before the editor is closed. |
| Use this method to perform any final cleanup, |
| such as cleaning up anything that was set in the |
| <code>prepare()</code> method. |
| |
| <p>Do not call this method directly. |
| It should only be called by the control hosting the item editor.</p> |
| |
| </p></div><a name="prepare()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">prepare</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function prepare():void</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| Called after the editor has been created and sized but before the |
| editor is visible. |
| Use this method to adjust the appearance of the editor, |
| add event listeners, or perform any other initializations |
| before it becomes visible. |
| |
| <p>Do not call this method directly. |
| It should only be called by the control hosting the item editor.</p> |
| |
| </p></div><a name="save()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">save</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule"> </td></tr></table><div class="detailBody"><code> public function save():Boolean</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version : </b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version : </b></td><td>Flex 4.5</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions : </b></td><td>Flash Player 10, AIR 2.5</td></tr></table><p></p><p></p><p> |
| Saves the value in the editor to the data provider of the |
| item renderer's owner. |
| This method updates the data provider element corresponding to the |
| row of the edited cell. |
| This function calls <code>GridItemEditor.validate()</code> to verify |
| the data may be saved. |
| If the data is not valid, then the data is not saved |
| and the editor is not closed. |
| |
| <p>Do not call this method directly. |
| It should only be called by the control hosting the item editor. |
| To save and close the editor, call the <code>endItemEditorSession()</code> |
| method of the item renderer owner.</p> |
| </p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Boolean</code> — <code>true</code> if the save operation succeeded, |
| and <code>false</code> if not. |
| |
| </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso"><a href="../../../spark/components/DataGrid.html" target="">spark.components.DataGrid</a></div></div><br/><br/><hr><br/><p></p><center class="copyright"><footer>The Apache Software Foundation</footer><br/>Wed Nov 15 2017, 09:50 AM +01:00 </center></div></body></html><!--The Apache Software Foundation<br/>Wed Nov 15 2017, 09:50 AM +01:00 --> |