public class TableColumnModelEvent extends EventObject
警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースとの互換性がなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4以降、すべてのJavaBeans™用の長期間の格納サポートがjava.beansパッケージに追加されています。 XMLEncoderを参照してください。
TableColumnModelListener| 修飾子と型 | フィールド | 説明 |
|---|---|---|
protected int |
fromIndex |
移動元または削除元の列のインデックスです。
|
protected int |
toIndex |
移動先または追加先の列のインデックスです。
|
source| コンストラクタ | 説明 |
|---|---|
TableColumnModelEvent(TableColumnModel source, int from, int to) |
TableColumnModelEventオブジェクトを構築します。 |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
int |
getFromIndex() |
fromIndexを返します。
|
int |
getToIndex() |
toIndexを返します。
|
getSource, toStringprotected int fromIndex
protected int toIndex
public TableColumnModelEvent(TableColumnModel source, int from, int to)
TableColumnModelEventオブジェクトを構築します。source - イベントを発生させたTableColumnModelfrom - 列の移動元または削除元のインデックスを指定するint値to - 列の移動先または追加先のインデックスを指定するint値getFromIndex(), getToIndex() バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。