DirectX Media for Animation Java Reference Previous
Previous
Classes
Classes
Index
Index
Next
Next

EventCallbackObject Interface

Methods

public interface EventCallbackObject extends java.lang.Object{
    public abstract void invoke(Object object, double eventTime, BehaviorCtx ctx);
}

Used in conjunction with registerCallback to cause an external action when an event occurs in Direct Animation for Java. Whenever that event occurs, the invoke method of the callback is called with the event data produced by that event.


Methods


invoke

public abstract void invoke(Object object, double eventTime, BehaviorCtx ctx);

Used to cause an external action to occur when an event occurs in Direct Animation for Java.

ParameterDescription
object The object to be invoked.
eventTime The time of the event.
ctx Contains state information (such as the view).



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.