Package org.openl.rules.table
Class GridTableUtils
- java.lang.Object
-
- org.openl.rules.table.GridTableUtils
-
public class GridTableUtils extends Object
- Author:
- Andrei Ostrovski, Yury Molchan
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<IGridRegion>getGridRegions(ILogicalTable table)Returns all regions of a table.static IGridTablegetOriginalTable(IGridTable table)Extracts original table.static booleanisSingleCellTable(ILogicalTable table)
-
-
-
Method Detail
-
getOriginalTable
public static IGridTable getOriginalTable(IGridTable table)
Extracts original table.- Parameters:
table- Table.- Returns:
- Original table if table is decorator and current table otherwise.
-
getGridRegions
public static List<IGridRegion> getGridRegions(ILogicalTable table)
Returns all regions of a table.- Parameters:
table- the table with regions.- Returns:
- a the regions of the table.
-
isSingleCellTable
public static boolean isSingleCellTable(ILogicalTable table)
-
-