JavaTM Platform
Standard Ed. 6

javax.swing
クラス JTree.EmptySelectionModel

java.lang.Object
  上位を拡張 javax.swing.tree.DefaultTreeSelectionModel
      上位を拡張 javax.swing.JTree.EmptySelectionModel
すべての実装されたインタフェース:
Serializable, Cloneable, TreeSelectionModel
含まれているクラス:
JTree

protected static class JTree.EmptySelectionModel
extends DefaultTreeSelectionModel

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

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。JDK Version 1.4 以降、すべての JavaBeans の長期間の運用サポートは、java.beans パッケージに追加されています。詳細は、XMLEncoder を参照してください。


フィールドの概要
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, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, 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 実装です。

定義:
インタフェース TreeSelectionModel 内の setSelectionPaths
オーバーライド:
クラス DefaultTreeSelectionModel 内の setSelectionPaths
パラメータ:
pPaths - 新しい選択範囲

addSelectionPaths

public void addSelectionPaths(TreePath[] paths)
何も追加しない null 実装です。

定義:
インタフェース TreeSelectionModel 内の addSelectionPaths
オーバーライド:
クラス DefaultTreeSelectionModel 内の addSelectionPaths
パラメータ:
paths - 現在の選択範囲に追加する新しいパス

removeSelectionPaths

public void removeSelectionPaths(TreePath[] paths)
何も削除しない null 実装です。

定義:
インタフェース TreeSelectionModel 内の removeSelectionPaths
オーバーライド:
クラス DefaultTreeSelectionModel 内の removeSelectionPaths
パラメータ:
paths - 選択範囲から削除するパス

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。