JavaTM 2 Platform
Std. Ed. v1.3

javax.swing
クラス JTree.EmptySelectionModel

java.lang.Object
  |
  +--javax.swing.tree.DefaultTreeSelectionModel
        |
        +--javax.swing.JTree.EmptySelectionModel
すべての実装インタフェース:
Cloneable, Serializable, TreeSelectionModel
含まれているクラス:
JTree

protected static class JTree.EmptySelectionModel
extends DefaultTreeSelectionModel

EmptySelectionModel は、何の選択も許可しない TreeSelectionModel です。

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。

関連項目:
直列化された形式

フィールドの概要
protected static JTree.EmptySelectionModel sharedInstance
          一意な共有インスタンスです。
 
クラス javax.swing.tree.DefaultTreeSelectionModel から継承したフィールド
changeSupport, leadIndex, leadPath, leadRow, listenerList, listSelectionModel, rowMapper, selection, SELECTION_MODE_PROPERTY, selectionMode
 
インタフェース javax.swing.tree.TreeSelectionModel から継承したフィールド
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION
 
コンストラクタの概要
protected JTree.EmptySelectionModel()
           
 
メソッドの概要
 void addSelectionPaths(TreePath[] paths)
          何も追加しない null 実装です。
 void removeSelectionPaths(TreePath[] paths)
          何も削除しない null 実装です。
 void setSelectionPaths(TreePath[] pPaths)
          何も選択しない null 実装です。
static JTree.EmptySelectionModel sharedInstance()
          空の選択モデルの共有インスタンスを返します。
 
クラス javax.swing.tree.DefaultTreeSelectionModel から継承したメソッド
addPropertyChangeListener, addSelectionPath, addTreeSelectionListener, arePathsContiguous, canPathsBeAdded, canPathsBeRemoved, clearSelection, clone, fireValueChanged, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, insureRowContinuity, insureUniqueness, isPathSelected, isRowSelected, isSelectionEmpty, notifyPathChange, removePropertyChangeListener, removeSelectionPath, removeTreeSelectionListener, resetRowSelection, setRowMapper, setSelectionMode, setSelectionPath, toString, updateLeadIndex
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

sharedInstance

protected static final JTree.EmptySelectionModel sharedInstance
一意な共有インスタンスです。
コンストラクタの詳細

JTree.EmptySelectionModel

protected JTree.EmptySelectionModel()
メソッドの詳細

sharedInstance

public static JTree.EmptySelectionModel sharedInstance()
空の選択モデルの共有インスタンスを返します。

setSelectionPaths

public void setSelectionPaths(TreePath[] pPaths)
何も選択しない null 実装です。
オーバーライド:
クラス DefaultTreeSelectionModel 内の setSelectionPaths
クラス javax.swing.tree.DefaultTreeSelectionModel からコピーされたタグ:
パラメータ:
paths - 新しい選択範囲

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)
何も追加しない null 実装です。
オーバーライド:
クラス DefaultTreeSelectionModel 内の addSelectionPaths
クラス javax.swing.tree.DefaultTreeSelectionModel からコピーされたタグ:
パラメータ:
path - 現在の選択範囲に追加する新しいパス

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)
何も削除しない null 実装です。
オーバーライド:
クラス DefaultTreeSelectionModel 内の removeSelectionPaths
クラス javax.swing.tree.DefaultTreeSelectionModel からコピーされたタグ:
パラメータ:
path - 選択範囲から削除するパス

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.