public class GXHostTableUtils extends Object
Title: GXHostTableUtils
Description: contains table utility functions, used mainly for display.
Constructor and Description |
---|
GXHostTableUtils() |
Modifier and Type | Method and Description |
---|---|
static GXPosition |
getDefinedLowerRightCorner(GXITable table) |
static GXPosition |
getDefinedUpperLeftCorner(GXITable table) |
static int |
getFirstAppfieldColumnIndex(GXITable table) |
static GXPosition |
getHeaderLowerRight(GXITable table) |
static GXPosition |
getHeaderUpperLeft(GXITable table) |
static int |
getLastAppfieldColumnIndex(GXITable table) |
static GXPosition |
getLowerRightCorner(GXITable table) |
static GXPosition |
getUpperLeftCorner(GXITable table) |
static boolean |
isColumnAppfieldColumn(GXITable table,
int column) |
static boolean |
isPositionInTable(GXITable table,
int row,
int col) |
public static GXPosition getHeaderUpperLeft(GXITable table)
table
- the table.public static GXPosition getHeaderLowerRight(GXITable table)
table
- the table.public static GXPosition getDefinedUpperLeftCorner(GXITable table)
table
- the table.getHeaderUpperLeft(GXITable)
public static GXPosition getDefinedLowerRightCorner(GXITable table)
table
- the table.getLowerRightCorner(GXITable)
public static boolean isPositionInTable(GXITable table, int row, int col)
table
- the table.row
- should range between 0 to rowCount - 1.col
- should range between 0 to columnCount - 1.public static GXPosition getUpperLeftCorner(GXITable table)
table
- the table.getDefinedUpperLeftCorner(GXITable)
public static boolean isColumnAppfieldColumn(GXITable table, int column)
table
- the table.column
- column's index, should range between 0 to columnCount - 1.public static GXPosition getLowerRightCorner(GXITable table)
table
- the table.getDefinedLowerRightCorner(GXITable)
public static int getFirstAppfieldColumnIndex(GXITable table)
table
- the table.public static int getLastAppfieldColumnIndex(GXITable table)
table
- the table.Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.