Interface zebkit.ui.grid.Metrics | <zebkit.ui.grid> |
Interface that describes a grid component metrics
public | <zebkit.ui.grid.CellsVisibility> | getCellsVisibility ( ) |
public | <Integer> | getColWidth (col) |
public | <Integer> | getGridCols ( ) |
public | <Integer> | getGridRows ( ) |
public | <Integer> | getPSColWidth (col) |
public | <Integer> | getPSRowHeight (row) |
public | <Integer> | getRowHeight (row) |
public | <Integer> | getXOrigin ( ) |
public | <Integer> | getYOrigin ( ) |
public | void | setColWidth (col, width) |
public | void | setRowHeight (row, height) |
public
<zebkit.ui.grid.CellsVisibility>
getCellsVisibility ( )
Get a structure that describes a grid component columns and rows visibility
Returns:
<zebkit.ui.grid.CellsVisibility>
a grid cells visibility |
public
<Integer>
getColWidth (col )
Get the given column width of a grid component Parameters:
Returns:
<Integer>
a column width |
public
<Integer>
getGridCols ( )
Get number of columns in a grid component
Returns:
<Integer>
a number of columns |
public
<Integer>
getGridRows ( )
Get number of rows in a grid component
Returns:
<Integer>
a number of rows |
public
<Integer>
getPSColWidth (col )
Get the given column preferred width of a grid component Parameters:
Returns:
<Integer>
a column preferred width |
public
<Integer>
getPSRowHeight (row )
Get the given row preferred height of a grid component Parameters:
Returns:
<Integer>
a row preferred height |
public
<Integer>
getRowHeight (row )
Get the given row height of a grid component Parameters:
Returns:
<Integer>
a row height |
public
<Integer>
getXOrigin ( )
Get a x origin of a grid component. Origin indicates how the grid component content has been scrolled
Returns:
<Integer>
a x origin |
public
<Integer>
getYOrigin ( )
Get a y origin of a grid component. Origin indicates how the grid component content has been scrolled
Returns:
<Integer>
a y origin |
public
void
setColWidth (col, width )
Set the given column width of a grid component Parameters:
|
public
void
setRowHeight (row, height )
Set the given row height of a grid component Parameters:
|
public
![]() isUsePsMetric
Indicate if a grid sizes its rows and cols basing on its preferred sizes |
public
![]() lineSize
Grid line size |