public class GridBodyCellEditContext extends GridBodyCellRenderContext
Constructor and Description |
---|
GridBodyCellEditContext(double absoluteCellX,
double absoluteCellY,
double cellWidth,
double cellHeight,
double clipMinY,
double clipMinX,
int rowIndex,
int columnIndex,
boolean isFloating,
com.ait.lienzo.client.core.types.Transform transform,
GridRenderer renderer,
Optional<com.ait.lienzo.client.core.types.Point2D> relativeLocation) |
Modifier and Type | Method and Description |
---|---|
Optional<com.ait.lienzo.client.core.types.Point2D> |
getRelativeLocation()
Returns the Canvas coordinate relative to the GridWidget containing the cell being edited in response to a
MouseEvent . |
getAbsoluteCellX, getAbsoluteCellY, getCellHeight, getCellWidth, getClipMinX, getClipMinY, getColumnIndex, getRenderer, getRowIndex, getTransform, isFloating
public GridBodyCellEditContext(double absoluteCellX, double absoluteCellY, double cellWidth, double cellHeight, double clipMinY, double clipMinX, int rowIndex, int columnIndex, boolean isFloating, com.ait.lienzo.client.core.types.Transform transform, GridRenderer renderer, Optional<com.ait.lienzo.client.core.types.Point2D> relativeLocation)
public Optional<com.ait.lienzo.client.core.types.Point2D> getRelativeLocation()
MouseEvent
.Optional.empty()
if the edit operation did not result from a MouseEvent
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.