org.gnu.gtk.event

Class TextBufferEvent

Implemented Interfaces:
Serializable

public class TextBufferEvent
extends GtkEvent

This event represents TextBuffer events
See Also:
TextBufferListener, TextBuffer

Nested Class Summary

static class
TextBufferEvent.Type

Constructor Summary

TextBufferEvent(Object source, EventType type)
Construct a GtkEvent object with the specified source object and type.

Method Summary

boolean
isOfType(TextBufferEvent.Type test)
Compares to event types for equality

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

getSource, getType, toString

Constructor Details

TextBufferEvent

public TextBufferEvent(Object source,
                       EventType type)
Construct a GtkEvent object with the specified source object and type.
Parameters:
source - the object where the event originated.
type - the event type.

Method Details

isOfType

public boolean isOfType(TextBufferEvent.Type test)
Compares to event types for equality
Returns:
true if the Types are the same