org.gnu.gtk.event

Class DialogEvent

public class DialogEvent extends GtkEvent

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.

This event is used to identify when a dialog receives an event

See Also:

Nested Class Summary
static classDialogEvent.Type
Constructor Summary
DialogEvent(Object source, EventType type)
Constructor for DialogEvent.
Method Summary
intgetResponse()
Return the response ID for a RESPONSE event.
booleanisOfType(DialogEvent.Type aType)
voidsetResponse(int response)
Set the response ID for this event.

Constructor Detail

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 Detail

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.