Java プラットフォーム 1.2

javax.swing
クラス JTree.EmptySelectionModel

java.lang.Object
  |
  +--javax.swing.tree.DefaultTreeSelectionModel
        |
        +--javax.swing.JTree.EmptySelectionModel

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
 
コンストラクタの概要
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, 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

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)
何も追加しない null 実装です。
オーバーライド:
クラス DefaultTreeSelectionModel 内の addSelectionPaths

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)
何も削除しない null 実装です。
オーバーライド:
クラス DefaultTreeSelectionModel 内の removeSelectionPaths

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.