The JSNonComponent
class of the JavaStar API provides many of the same methods as the JSComponent
class, but is specifically designed for use with non-components. JSNonComponent
does not provide all of the functionality of JSComponent, but it does provide equivalents for most of the simple methods of JSComponent.
For example, using JSNonComponent
you can perform mouse actions on a non-component (mouseClicked()
, mouseMoved()
, mouseReleased()
, etc.). You can also use a simple version of verifyAnyField()
and verifyAnyMethod()
as well as other convenience functions. For more details, see the "Non-Component Classes" chapter in the JavaStar API Reference.
Note - JavaStar supports "verify with simple method/data member" for non-component. However, "Verify with gold file" is not supported. You can only compare simple methods and data members.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.