You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mi...@apache.org on 2016/03/22 14:58:33 UTC
[6/7] git commit: [flex-sdk] [refs/heads/develop] - FLEX-26808
Terminating statements, correcting asdocs,
and removing an unused variable and unused method.
FLEX-26808
Terminating statements, correcting asdocs, and removing an unused variable and unused method.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a34e9c3f
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a34e9c3f
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a34e9c3f
Branch: refs/heads/develop
Commit: a34e9c3f7c48a67ccd462cd801e7e77c5bd93afd
Parents: 23f0bd4
Author: Mihai Chira <mi...@apache.org>
Authored: Tue Mar 22 14:15:51 2016 +0100
Committer: Mihai Chira <mi...@apache.org>
Committed: Tue Mar 22 14:15:51 2016 +0100
----------------------------------------------------------------------
.../spark/src/spark/components/DataGrid.as | 41 +++++---------------
1 file changed, 10 insertions(+), 31 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a34e9c3f/frameworks/projects/spark/src/spark/components/DataGrid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/DataGrid.as b/frameworks/projects/spark/src/spark/components/DataGrid.as
index 76cf418..2c44d22 100644
--- a/frameworks/projects/spark/src/spark/components/DataGrid.as
+++ b/frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -1992,7 +1992,7 @@ public class DataGrid extends SkinnableContainerBase
*
* @default null.
*
- * @see #dataField
+ * @see spark.components.gridClasses.GridColumn#dataField
* @see spark.components.gridClasses.IGridItemEditor
*
* @langversion 3.0
@@ -2587,7 +2587,7 @@ public class DataGrid extends SkinnableContainerBase
}
/**
- * @copy spark.components.Grid#invalidateTypicalItem()
+ * @copy spark.components.Grid#invalidateTypicalItemRenderer()
*
* @langversion 3.0
* @playerversion Flash 10
@@ -3710,7 +3710,7 @@ public class DataGrid extends SkinnableContainerBase
var f:Function = function(g:Grid):void
{
g.selectedCell = valueCopy;
- }
+ };
deferredGridOperations.push(f);
}
}
@@ -3748,7 +3748,7 @@ public class DataGrid extends SkinnableContainerBase
var f:Function = function(g:Grid):void
{
g.selectedCells = valueCopy;
- }
+ };
deferredGridOperations.push(f);
}
}
@@ -3830,7 +3830,7 @@ public class DataGrid extends SkinnableContainerBase
var f:Function = function(g:Grid):void
{
g.selectedIndices = valueCopy;
- }
+ };
deferredGridOperations.push(f);
}
}
@@ -3874,7 +3874,7 @@ public class DataGrid extends SkinnableContainerBase
var f:Function = function(g:Grid):void
{
g.selectedItem = value;
- }
+ };
deferredGridOperations.push(f);
}
}
@@ -3921,7 +3921,7 @@ public class DataGrid extends SkinnableContainerBase
var f:Function = function(g:Grid):void
{
g.selectedItems = valueCopy;
- }
+ };
deferredGridOperations.push(f);
}
}
@@ -5423,14 +5423,11 @@ public class DataGrid extends SkinnableContainerBase
// Cancel so another component doesn't handle this event.
event.preventDefault();
- var selectionChanged:Boolean = false;
-
if (event.shiftKey)
{
// The shift key-nav key combination extends the selection and
// updates the caret.
- selectionChanged =
- extendSelection(newPosition.rowIndex, newPosition.columnIndex);
+ extendSelection(newPosition.rowIndex, newPosition.columnIndex);
}
else if (event.ctrlKey)
{
@@ -6095,7 +6092,7 @@ public class DataGrid extends SkinnableContainerBase
* a drag-and-drop operation.
* Override this method to add other data to the drag source.
*
- * @param ds The DragSource object to which to add the data.
+ * @param dragSource The DragSource object to which to add the data.
*
* @langversion 3.0
* @playerversion Flash 11
@@ -6474,25 +6471,7 @@ public class DataGrid extends SkinnableContainerBase
// Destroy the dropIndicator instance
destroyDropIndicator();
}
-
- /**
- * @private
- *
- * @langversion 3.0
- * @playerversion Flash 10
- * @playerversion AIR 1.5
- * @productversion Flex 4
- */
- private function touchInteractionStartHandler(event:TouchInteractionEvent):void
- {
- // cancel actual selection
- mouseDownRowIndex = -1;
- mouseDownColumnIndex = -1;
- mouseDownObject = null;
- mouseDownPoint = null;
- pendingSelectionOnMouseUp = false;
- }
-
+
/**
* @private
* Handles <code>DragEvent.DRAG_DROP events</code>. This method hides