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)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Method Summary

boolean
isOfType(TextBufferEvent.Type test)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

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

getSource, getType, toString

Constructor Details

TextBufferEvent

public TextBufferEvent(Object source,
                       EventType type)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

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)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Compares to event types for equality
Returns:
true if the Types are the same