|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface TreeCellEditor
ツリーでエディタを設定するのに必要な拡張機能を CellEditor に追加します。
JTree| メソッドの概要 | |
|---|---|
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
エディタの「初期値」を設定します。 |
| インタフェース javax.swing.CellEditor から継承されたメソッド |
|---|
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing |
| メソッドの詳細 |
|---|
Component getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
クライアントの Component 階層に追加する必要のあるコンポーネントを返します。このコンポーネントがクライアントの階層に組み込まれると、ユーザ入力を描画および受信できます。
tree - エディタに編集を要求している JTree。このパラメータは null も可value - 編集されるセル値isSelected - セルがレンダリングとなり選択部がハイライトされている場合は trueexpanded - ノードが展開されている場合は trueleaf - ノードが葉ノードの場合は truerow - 編集中のノードの行インデックス
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。