org.gnu.gtk.event

Class DialogEvent

Implemented Interfaces:
Serializable

public class DialogEvent
extends GtkEvent

This event is used to identify when a dialog receives an event
See Also:
DialogListener

Nested Class Summary

static class
DialogEvent.Type

Constructor Summary

DialogEvent(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

int
getResponse()
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.
boolean
isOfType(DialogEvent.Type aType)
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.
void
setResponse(int response)
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

DialogEvent

public DialogEvent(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.

Constructor for DialogEvent.
Parameters:
source -
type -

Method Details

getResponse

public int getResponse()

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.

Return the response ID for a RESPONSE event.

isOfType

public boolean isOfType(DialogEvent.Type aType)

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.

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

setResponse

public void setResponse(int response)

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.

Set the response ID for this event.