- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.swing.tree.ExpandVetoException
-
- すべての実装されたインタフェース:
Serializable
public class ExpandVetoException extends Exception
展開/折りたたみが起こらないようにするために使用される例外。 詳細および例は、「The Java Tutorial」の「How to Write a Tree-Will-Expand Listener」を参照してください。- 関連項目:
- 直列化された形式
-
-
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 protected TreeExpansionEvent
event
例外生成の対象となったイベントです。
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 ExpandVetoException(TreeExpansionEvent event)
メッセージを持たないExpandVetoExceptionオブジェクトを構築します。ExpandVetoException(TreeExpansionEvent event, String message)
指定されたメッセージを持つExpandVetoExceptionオブジェクトを構築します。
-
メソッドのサマリー
-
クラス java.lang.Throwableで宣言されたメソッド
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
フィールドの詳細
-
event
protected TreeExpansionEvent event
例外生成の対象となったイベントです。
-
-
コンストラクタの詳細
-
ExpandVetoException
public ExpandVetoException(TreeExpansionEvent event)
メッセージを持たないExpandVetoExceptionオブジェクトを構築します。- パラメータ:
event
- TreeExpansionEventオブジェクト
-
ExpandVetoException
public ExpandVetoException(TreeExpansionEvent event, String message)
指定されたメッセージを持つExpandVetoExceptionオブジェクトを構築します。- パラメータ:
event
- TreeExpansionEventオブジェクトmessage
- メッセージが格納されているString
-
-