|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.gtk.event.GtkEvent
FocusEvent
,
KeyEvent
,
LifeCycleEvent
,
MouseEvent
,
Serialized FormConstructor Summary | |
GtkEvent(java.lang.Object source,
EventType type)
Construct a GtkEvent object with the specified source object and type. |
Method Summary | |
java.lang.Object |
getSource()
Returns the object on which the event originally occured |
EventType |
getType()
|
java.lang.String |
toString()
Generates a string representation of the event. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GtkEvent(java.lang.Object source, EventType type)
source
- the object where the event originated.type
- the event type.
java.lang.IllegalArgumentException
- if the source object is nullMethod Detail |
public java.lang.Object getSource()
public EventType getType()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |