|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.util.EventObject
javax.swing.event.TableColumnModelEvent
public class TableColumnModelEvent
列が追加、削除、または移動されたなど、テーブル列モデルが変更されたことをリスナーに通知するために使用します。
警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。JDK バージョン 1.4 以降、すべての JavaBeans™ の長期間の運用サポートは、java.beans パッケージに追加されています。詳細は、XMLEncoder を参照してください。
TableColumnModelListener| フィールドの概要 | |
|---|---|
protected int |
fromIndex
移動元または削除された位置の列のインデックスです。 |
protected int |
toIndex
移動先または追加場所の列のインデックスです。 |
| クラス java.util.EventObject から継承されたフィールド |
|---|
source |
| コンストラクタの概要 | |
|---|---|
TableColumnModelEvent(TableColumnModel source,
int from,
int to)
TableColumnModelEvent オブジェクトを構築します。 |
|
| メソッドの概要 | |
|---|---|
int |
getFromIndex()
fromIndex を返します。 |
int |
getToIndex()
toIndex を返します。 |
| クラス java.util.EventObject から継承されたメソッド |
|---|
getSource, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
protected int fromIndex
protected int toIndex
| コンストラクタの詳細 |
|---|
public TableColumnModelEvent(TableColumnModel source,
int from,
int to)
source - イベントの発生元の TableColumnModel (通常は this)from - 影響を受けた行の範囲内で最初の行を指定する int 値to - 影響を受けた行の範囲内で最後の行を指定する int 値| メソッドの詳細 |
|---|
public int getFromIndex()
public int getToIndex()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。