protected static class JTree.EmptySelectionModel extends DefaultTreeSelectionModel
EmptySelectionModelは、何の選択も許可しないTreeSelectionModelです。
 
 警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースとの互換性がなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4以降、すべてのJavaBeans™用の長期間の格納サポートがjava.beansパッケージに追加されています。 XMLEncoderを参照してください。 
| 修飾子と型 | フィールド | 説明 | 
|---|---|---|
| protected static JTree.EmptySelectionModel | sharedInstance | EmptySelectionModelの単一インスタンス。 | 
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionModeCONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION| 修飾子 | コンストラクタ | 説明 | 
|---|---|---|
| protected  | EmptySelectionModel() | 
| 修飾子と型 | メソッド | 説明 | 
|---|---|---|
| void | addPropertyChangeListener(PropertyChangeListener listener) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | addSelectionPaths(TreePath[] paths) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | addTreeSelectionListener(TreeSelectionListener listener) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | removePropertyChangeListener(PropertyChangeListener listener) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | removeSelectionPaths(TreePath[] paths) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | removeTreeSelectionListener(TreeSelectionListener listener) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | setRowMapper(RowMapper mapper) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | setSelectionMode(int mode) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| void | setSelectionPaths(TreePath[] paths) | これをオーバーライドしても何も行われません。 EmptySelectionModelは選択を許可しません。 | 
| static JTree.EmptySelectionModel | sharedInstance() | EmptySelectionModelの単一インスタンスを返します。 | 
addSelectionPath, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removeSelectionPath, resetRowSelection, setSelectionPath, toString, updateLeadIndexprotected static final JTree.EmptySelectionModel sharedInstance
EmptySelectionModelの単一インスタンス。public static JTree.EmptySelectionModel sharedInstance()
EmptySelectionModelの単一インスタンスを返します。EmptySelectionModelの単一インスタンスpublic void setSelectionPaths(TreePath[] paths)
EmptySelectionModelは選択を許可しません。setSelectionPaths、インタフェースTreeSelectionModelsetSelectionPaths、クラスDefaultTreeSelectionModelpaths - 選択するパス。これは無視されますpublic void addSelectionPaths(TreePath[] paths)
EmptySelectionModelは選択を許可しません。addSelectionPaths、インタフェースTreeSelectionModeladdSelectionPaths、クラスDefaultTreeSelectionModelpaths - 選択に追加するパス。これは無視されますpublic void removeSelectionPaths(TreePath[] paths)
EmptySelectionModelは選択を許可しません。removeSelectionPaths、インタフェースTreeSelectionModelremoveSelectionPaths、クラスDefaultTreeSelectionModelpaths - 削除するパス。これは無視されますpublic void setSelectionMode(int mode)
EmptySelectionModelは選択を許可しません。setSelectionMode、インタフェースTreeSelectionModelsetSelectionMode、クラスDefaultTreeSelectionModelmode - 選択モード。これは無視されますpublic void setRowMapper(RowMapper mapper)
EmptySelectionModelは選択を許可しません。setRowMapper、インタフェースTreeSelectionModelsetRowMapper、クラスDefaultTreeSelectionModelmapper - RowMapperインスタンス。これは無視されますpublic void addTreeSelectionListener(TreeSelectionListener listener)
EmptySelectionModelは選択を許可しません。addTreeSelectionListener、インタフェースTreeSelectionModeladdTreeSelectionListener、クラスDefaultTreeSelectionModellistener - 追加するリスナー。これは無視されます。public void removeTreeSelectionListener(TreeSelectionListener listener)
EmptySelectionModelは選択を許可しません。removeTreeSelectionListener、インタフェースTreeSelectionModelremoveTreeSelectionListener、クラスDefaultTreeSelectionModellistener - 削除するリスナー。これは無視されます。public void addPropertyChangeListener(PropertyChangeListener listener)
EmptySelectionModelは選択を許可しません。addPropertyChangeListener、インタフェースTreeSelectionModeladdPropertyChangeListener、クラスDefaultTreeSelectionModellistener - 追加するリスナー。これは無視されます。public void removePropertyChangeListener(PropertyChangeListener listener)
EmptySelectionModelは選択を許可しません。removePropertyChangeListener、インタフェースTreeSelectionModelremovePropertyChangeListener、クラスDefaultTreeSelectionModellistener - 削除するリスナー。これは無視されます。 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。 
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved.  Use is subject to license terms.  Documentation Redistribution Policyも参照してください。