SpreadJS Documentation
processMouseEnter Method
GC.Spread.Sheets.CellTypes Namespace > Base class : processMouseEnter Method
The hit test information returned by the getHitInfo method. See the Remarks for more information.
Processes mouse enter in display mode.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.Base();
var value; // Type: boolean
value = instance.processMouseEnter(hitInfo);
function processMouseEnter( 
   hitInfo : object
) : boolean;

Parameters

hitInfo
The hit test information returned by the getHitInfo method. See the Remarks for more information.

Return Value

Returns true if the process is successful; otherwise, false.
Remarks

The hitInfo parameter can include the following items:

Item Type Description
hitInfo.x number x-coordinate of pointer's current location relative to the canvas.
hitInfo.y number y-coordinate of pointer's current location relative to the canvas.
hitInfo.row number The row index.
hitInfo.col number The column index.
hitInfo.cellRect GC.Spread.Sheets.Rect instance The current cell's layout information.
hitInfo.sheetArea GC.Spread.Sheets.SheetArea The current sheet area.
hitInfo.isReservedLocation boolean Whether the hit test is in a special area that the cell type needs to handle.
hitInfo.sheet GC.Spread.Sheets.Sheet instance Indicates the current sheet.
hitInfo.isEditing boolean Whether the current cell is being edited.
See Also

Reference

Base class