Top Description Fields Constructors Methods
org.eclipse.swt.events

public final Class ShellEvent

extends TypedEvent
Class Inheritance
Imports
org.eclipse.swt.widgets.Event

Instances of this class are sent as a result of operations being performed on shells.
See Also
ShellListener, Sample code and further information

Field Summary

Modifier and TypeField and Description
public boolean
doit

A flag indicating whether the operation should be allowed.

pack-priv static final long
Inherited from org.eclipse.swt.events.TypedEvent:
datadisplaytimewidget

Constructor Summary

AccessConstructor and Description
public
ShellEvent(Event
the untyped event containing the information
e
)

Constructs a new instance of this class based on the information in the given untyped event.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a string representation of the event
toString
()

Overrides org.eclipse.swt.events.TypedEvent.toString.

Returns a string containing a concise, human-readable description of the receiver.
Inherited from org.eclipse.swt.events.TypedEvent:
getName

Field Detail

doitback to summary
public boolean doit

A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides org.eclipse.swt.events.TypedEvent.serialVersionUID.

Constructor Detail

ShellEventback to summary
public ShellEvent(Event e)

Constructs a new instance of this class based on the information in the given untyped event.

Parameters
e:Event

the untyped event containing the information

Method Detail

toStringback to summary
public String toString()

Overrides org.eclipse.swt.events.TypedEvent.toString.

Returns a string containing a concise, human-readable description of the receiver.

Returns:String

a string representation of the event

Annotations
@Override