|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.co.ogis_ri.citk.policytool.view.common.JTableColumnWidthCalculator
public class JTableColumnWidthCalculator
JTable の列幅を自動計算する.
ヘッダの値が文字列型である場合に対応する.
セルの値が文字列型, 文字列配列型である場合に対応する.
| コンストラクタの概要 | |
|---|---|
JTableColumnWidthCalculator(JTable table)
新しい JTableColumnWidthCalculator を構築する. |
|
| メソッドの概要 | |
|---|---|
void |
setAutomatically()
すべての列の幅を自動計算し, JTable に設定する. |
void |
setAutomatically(int columnIndex)
指定された列の幅を自動計算し, JTable に設定する. |
void |
setAutomatically(int columnIndex,
List<String> stringList)
指定された列の幅を自動計算し, JTable に設定する. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public JTableColumnWidthCalculator(JTable table)
table - JTable.| メソッドの詳細 |
|---|
public void setAutomatically()
public void setAutomatically(int columnIndex)
columnIndex - 列番号.
public void setAutomatically(int columnIndex,
List<String> stringList)
columnIndex - 列番号.stringList - 列に含まれる文字列に加えて, 最大幅計算対象にする文字列のリスト.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||