public class GridPanel extends Object
コンストラクタと説明 |
---|
GridPanel(FlexGrid flexGrid,
GridCellType cellType,
GridRowCollection rows,
GridColumnCollection columns)
新しい GridPanel のインスタンスを初期化します。
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
calculateViewRange()
このグリッドパネルの現在のビューポートのセル範囲を計算します。
|
Rect |
getCellBounds(int row,
int col)
指定した行インデックスと列インデックスにあるセル範囲を含む四角形を取得します。
|
GridCellType |
getCellType()
この GridPanel のセルタイプを取得します。
|
GridColumnCollection |
getColumns()
この GridPanel の列を取得します。
|
FlexGrid |
getFlexGrid()
この GridPanel を所有する FlexGrid を取得します。
|
int |
getHeight()
この GridPanel の高さを取得します。
|
GridRowCollection |
getRows()
この GridPanel の行を取得します。
|
GridCellRange |
getViewRange()
この GridPanel のビューの範囲を取得します。
|
int |
getWidth()
この GridPanel の幅を取得します。
|
public GridPanel(FlexGrid flexGrid, GridCellType cellType, GridRowCollection rows, GridColumnCollection columns)
flexGrid
- このパネルを所有する FlexGridcellType
- このパネルのセルのタイプrows
- このパネルに表示される行columns
- このパネルに表示される列cellRange
- このパネルに表示されるセル範囲public void calculateViewRange()
public Rect getCellBounds(int row, int col)
row
- セルの行インデックスcol
- セルの列インデックスpublic int getHeight()
public int getWidth()
public FlexGrid getFlexGrid()
public GridCellType getCellType()
public GridRowCollection getRows()
public GridColumnCollection getColumns()
public GridCellRange getViewRange()