|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface TreeCellEditor
ツリーでエディタを設定するのに必要な拡張機能を CellEditor に追加します。
JTree| メソッドの概要 | |
|---|---|
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
エディタの初期値 value を設定します。 |
| インタフェース 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 Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。