Interface definition for screenspublic interface ScreenInterface extends WidgetInterface
FieldInterface getField(String name);
FieldInterface getField(int fieldnum);
WidgetInterface getWidget(String name);
ScreenInterfacedefines the methods for objects representing screens. In addition, objects of type
ScreenInterfacesupports all the methods in
getFieldreturns 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
getFieldmethod will return null.
To get handles to objects that are not fields, use the
getWidgetmethod. This will return a generic widget handle that can then be cast to a handle of a given type (grid or group).