Class DataGridSI
java.lang.Object
org.uitnet.testing.smartfwk.ui.standard.imgobj.datagrid.DataGridSI
public class DataGridSI extends Object
This DataGrid does not work 1. If the whole table is not visible including
horizontal and vertical scrollbars of the tables. 2. If there is no row
marker to identify the row break. 3. Header columns are not fixed 4. If all
the primary key columns are not visible always. 5. Primary key column value
is not text
- Author:
- Madhav Krishna
-
Field Summary
Fields Modifier and Type Field Description protected List<HeaderColumnSI>additionalHeaderColumnsprotected StringdisplayNameprotected intheightprotected HorizontalScrollbarhScrollbarprotected List<HeaderColumnSI>keyHeaderColumnsprotected LocatorTypelocatorTypeprotected intnumLeftFrozenColumnsprotected intnumRightFrozenColumnsprotected List<String>rowMarkerImagesprotected UIObjectTypeuiObjectTypeprotected VerticalScrollbarvScrollbarprotected intwidth -
Constructor Summary
Constructors Constructor Description DataGridSI(String displayName, int widthInPx, int heightInPx) -
Method Summary
-
Field Details
-
locatorType
-
uiObjectType
-
displayName
-
keyHeaderColumns
-
additionalHeaderColumns
-
rowMarkerImages
-
numLeftFrozenColumns
protected int numLeftFrozenColumns -
numRightFrozenColumns
protected int numRightFrozenColumns -
vScrollbar
-
hScrollbar
-
width
protected int width -
height
protected int height
-
-
Constructor Details
-
DataGridSI
-
-
Method Details
-
getLocatorType
-
getUiObjectType
-
getDisplayName
-
addKeyHeaderColumns
It should contain the whole image to cover key header column height and width.- Parameters:
objects-- Returns:
-
getKeyHeaderColumns
-
getKeyHeaderColumn
-
addAdditionalHeaderColumns
It should contain the whole image to cover additional header column height and width.- Parameters:
objects-- Returns:
-
getAdditionalHeaderColumns
-
getAdditionalHeaderColumn
-
addRowMarkerImages
you can just specify the first column left border + row border combination as row marker.- Parameters:
images-- Returns:
-
getRowMarkerImages
-
getNumLeftFrozenColumns
public int getNumLeftFrozenColumns() -
setNumLeftFrozenColumns
-
getNumRightFrozenColumns
public int getNumRightFrozenColumns() -
setNumRightFrozenColumns
-
getVScrollbar
-
setVScrollbar
-
getHScrollbar
-
setHScrollbar
-
getWidth
public int getWidth() -
setWidth
-
getHeight
public int getHeight() -
setHeight
-
getValidator
-
getValidator
public DataGridValidatorSI getValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)
-