Programming Guide


Interface definition for screens

public interface ScreenInterface extends WidgetInterface 


FieldInterface getField(String name);
FieldInterface getField(int fieldnum);

WidgetInterface getWidget(String name);


Java only


ScreenInterface defines the methods for objects representing screens. In addition, objects of type ScreenInterface supports all the methods in WidgetInterface.

The method getField returns an object corresponding to a particular field on the screen. The methods of this object can then be used perform operations on that field. Field objects can be obtained by field name or by field number. If you refer to an object by name and the object is not a field, the getField method will return null.

To get handles to objects that are not fields, use the getWidget method. This will return a generic widget handle that can then be cast to a handle of a given type (grid or group).