[5368] in java-interest

home help back first fref pref prev next nref lref last post

Can we get more info on Event arguments?

daemon@ATHENA.MIT.EDU (John D. Kane)
Tue Feb 6 17:45:22 1996

From: "John D. Kane" <john@insightnews.com>
To: "'java@java.sun.com'" <java@java.sun.com>,
        "'java-interest@java.sun.com'" <java-interest@java.sun.com>,
        "'jug@jug.org'" <jug@jug.org>
Date: Tue, 06 Feb 96 16:04:00 PST


I want to post events between components and to components, but the Event 
class information is extremely sparse.

For example, more info on the target, id, and arg parameters which are 
mentioned in the following api excerpt  ... how the paratmeters differ, how 
to put them together and use them, etc.

  public Event(Object target,
               int id,
               Object arg)

    Constructs an event with the specified target component, event type, and 
argument.
    Parameters:
        target - the target component
        id - the event type
        arg - the specified argument

One method I would be particularily interested in seeing an example of in a 
real live applet is the postEvent(Event e) method of the java.awt.Component 
class.

Does anyone have any pointers?

John
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post