モジュール java.desktop
パッケージ javax.swing.text

クラスTableView.TableCell

  • すべての実装されたインタフェース:
    SwingConstants
    含まれているクラス:
    TableView

    @Deprecated
    public class TableView.TableCell
    extends BoxView
    非推奨。
    テーブル・セルは任意のView実装となることができます。
    • コンストラクタの詳細

      • TableCell

        public TableCell​(Element elem)
        非推奨。
        指定された要素のテーブル・セルを構築します。
        パラメータ:
        elem - このビューが扱う要素
        導入されたバージョン:
        1.4
    • メソッドの詳細

      • getColumnCount

        public int getColumnCount()
        非推奨。
        このセルが補う列の数を取得します(グリッドの幅など)。
        戻り値:
        列数
      • getRowCount

        public int getRowCount()
        非推奨。
        このセルが補う行の数(グリッドの高さ)を取得します。
        戻り値:
        行数
      • setGridLocation

        public void setGridLocation​(int row,
                                    int col)
        非推奨。
        グリッド位置を設定します。
        パラメータ:
        row - 行>= 0
        col - 列>= 0
      • getGridRow

        public int getGridRow()
        非推奨。
        グリッド位置の行を取得します。
      • getGridColumn

        public int getGridColumn()
        非推奨。
        グリッド位置の列を取得します。