DirectX Media for Animation Java Reference |
![]() Previous |
![]() Classes |
![]() Index |
![]() Next |
public interface ErrorAndWarningReceiver extends java.lang.Object{ // Methods public abstract void handleError(String s, Viewer v); public abstract void handleTickError(String s, Viewer v); public abstract void handleTickWarning(String s, Viewer v); public abstract void handleWarning(String s, Viewer v); }
This interface, in conjunction with Viewer.registerErrorAndWarningReceiver, allows the application to register an object that will have its methods called when errors and warnings occur in the Direct Animation system. (Both DXMApplet and DMXCanvas implement the Viewer interface. This means that Viewer.registerErrorAndWarningReceiver is available on these classes.
public abstract void handleError(String s, Viewer v);Invoked when an error occurs outside of the invocation of a tick(). In addition, ticking is halted.
Parameter Description s The error message. v The Viewer object on which the warning occurred.
public abstract void handleTickError(String s, Viewer v);Invoked specifically for error messages incurred inside of a tick. In addition, ticking is halted.
Parameter Description s The error message. v The Viewer object on which the error occurred.
public abstract void handleTickWarning(String s, Viewer v);Invoked specifically for warning messages incurred inside of a tick().
Parameter Description s The warning message. v The Viewer object on which the error occurred.
public abstract void HandleWarning(String s, Viewer v);Invoked when a warning occurs outside of the invocation of a tick().
Parameter Description s The warning message. v The Viewer object on which the error occurred.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.