public class GridBodyColumnRenderContext extends Object
Constructor and Description |
---|
GridBodyColumnRenderContext(double x,
double absoluteGridX,
double absoluteGridY,
double absoluteColumnX,
double clipMinY,
double clipMinX,
int minVisibleRowIndex,
int maxVisibleRowIndex,
boolean isFloating,
GridData model,
com.ait.lienzo.client.core.types.Transform transform,
GridRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
double |
getAbsoluteColumnX()
Returns the canvas x-coordinate of the Column; not transformed.
|
double |
getAbsoluteGridX()
Returns the canvas x-coordinate of the Grid; not transformed.
|
double |
getAbsoluteGridY()
Returns the canvas y-coordinate of the Grid; not transformed.
|
double |
getClipMinX()
Returns the minimum X coordinate for visible content.
|
double |
getClipMinY()
Returns the minimum Y coordinate for visible content.
|
int |
getMaxVisibleRowIndex()
Returns the index of the last row being rendered.
|
int |
getMinVisibleRowIndex()
Returns the index of the first row being rendered.
|
GridData |
getModel()
Returns the data model for the Grid Widget to which the Column relates.
|
GridRenderer |
getRenderer()
Returns the Renderer for the Grid Widget.
|
com.ait.lienzo.client.core.types.Transform |
getTransform()
Returns the transformation of the Grid Widget.
|
double |
getX()
Returns the columns x-coordinate relative to the grids origin.
|
boolean |
isFloating()
Returns whether the column is floating.
|
public GridBodyColumnRenderContext(double x, double absoluteGridX, double absoluteGridY, double absoluteColumnX, double clipMinY, double clipMinX, int minVisibleRowIndex, int maxVisibleRowIndex, boolean isFloating, GridData model, com.ait.lienzo.client.core.types.Transform transform, GridRenderer renderer)
public double getX()
public double getAbsoluteGridX()
public double getAbsoluteGridY()
public double getAbsoluteColumnX()
public double getClipMinY()
public double getClipMinX()
public int getMinVisibleRowIndex()
public int getMaxVisibleRowIndex()
public boolean isFloating()
public GridData getModel()
public com.ait.lienzo.client.core.types.Transform getTransform()
public GridRenderer getRenderer()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.