Programming Guide |
Interface definition for screens
public interface ScreenInterface extends WidgetInterface
getField
FieldInterface getField(String name);
FieldInterface getField(int fieldnum);getWidget
WidgetInterface getWidget(String name);
Java only
ScreenInterface
defines the methods for objects representing screens. In addition, objects of typeScreenInterface
supports all the methods inWidgetInterface
.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, thegetField
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).