org.gnu.gtk.event

Class FocusEvent

Implemented Interfaces:
Serializable

public class FocusEvent
extends GtkEvent

See Also:
FocusListener

Nested Class Summary

Field Summary

Fields inherited from class org.gnu.gtk.event.GtkEvent

source, type

Constructor Summary

FocusEvent(Object source, FocusEvent.Type type)
Construct a FocusEvent object.

Method Summary

boolean
isOfType(FocusEvent.Type aType)

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

FocusEvent

public FocusEvent(Object source,
                  FocusEvent.Type type)
Construct a FocusEvent object.

Method Details

isOfType

public boolean isOfType(FocusEvent.Type aType)

Returns:
True if the type of this event is the same as that stated.