DirectX Media for Animation Java Reference |
![]() Previous |
![]() Classes |
![]() Index |
![]() Next |
public interface UntilNotifier extends java.lang.Object{ public abstract Behavior notify(Object eventData, Behavior previous, double eventTime, BehaviorCtx ctx); }
Represents the event notifier used to generate a replacement behavior for a behavior created using a untilNotify method.
public Behavior notify(Object eventData, Behavior previous, double eventTime, BehaviorCtx ctx);Creates a behavior in response to an event. This method is called when the event specified in a call to a untilNotify method occurs. The eventData and previous parameters specify the state of the event and the initial behavior, and can be used to determine how to create the new behavior.
Return Value:
Returns the Behavior object.
Parameter Description eventData An Object object that contains any data produced by the event itself. previous A Behavior object that represents the running behavior from which the application is transitioning. eventTime A double that is the time the event occurred that caused the notify method to be invoked. ctx Contains state information (such as the view). See Also: untilNotify
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.