APIdia Launch Partner
Top Description Fields Constructors
javax.swing.tree

public Class ExpandVetoException

extends Exception
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.swing.event.TreeExpansionEvent

Exception used to stop an expand/collapse from happening. See How to Write a Tree-Will-Expand Listener in The Java Tutorial for further information and examples.
Author
Scott Violet

Field Summary

Modifier and TypeField and Description
protected TreeExpansionEvent
event

The event that the exception was created for.

Constructor Summary

AccessConstructor and Description
public
ExpandVetoException(TreeExpansionEvent
a TreeExpansionEvent object
event
)

Constructs an ExpandVetoException object with no message.

public
ExpandVetoException(TreeExpansionEvent
a TreeExpansionEvent object
event
,
String
a String containing the message
message
)

Constructs an ExpandVetoException object with the specified message.

Field Detail

eventback to summary
protected TreeExpansionEvent event

The event that the exception was created for.

Constructor Detail

ExpandVetoExceptionback to summary
public ExpandVetoException(TreeExpansionEvent event)

Constructs an ExpandVetoException object with no message.

Parameters
event:TreeExpansionEvent

a TreeExpansionEvent object

ExpandVetoExceptionback to summary
public ExpandVetoException(TreeExpansionEvent event, String message)

Constructs an ExpandVetoException object with the specified message.

Parameters
event:TreeExpansionEvent

a TreeExpansionEvent object

message:String

a String containing the message