org.gnu.gtk.event
Class DialogEvent
- Serializable
This event is used to identify when a dialog receives an event
DialogListener
DialogEvent
public DialogEvent(Object source,
EventType type)
Constructor for DialogEvent.
source
- type
-
getResponse
public int getResponse()
Return the response ID for a RESPONSE event.
isOfType
public boolean isOfType(DialogEvent.Type aType)
- True if the type of this event is the same as that stated.
setResponse
public void setResponse(int response)
Set the response ID for this event.