![]() | Programming Guide | ![]() |
Interface definition for widgets
public interface WidgetInterface
getApplicationApplicationInterface getApplication();get_dbldouble get_dbl(int prop);
double get_dbl(int item, int prop);get_intint get_int(int prop);
int get_int(int item, int prop);getServerServerInterface getServer();get_strString get_str(int prop);
String get_str(int item, int prop);set_dblint set_dbl(int prop, double value);
int set_dbl(int item, int prop, double value);set_intint set_int(int prop, int value);
int set_int(int item, int prop, int value);set_strint set_str(int prop, String value);
int set_str(int item, int prop, String value);Library Function InterfacesCFunctionsInterface getCFunctions();
ComFunctionsInterface getcomFunctions(); DMFunctionsInterface getDMFunctions();
RWFunctionsInterface getRWFunctions();
TMFunctionsInterface getTMFunctions();
TPFunctionsInterface getTPFunctions();
WSFunctionsInterface getWSFunctions();
Java only
WidgetInterfacedefines the methods that are common to all objects that correspond to Panther objects.The
get_int,get_str, andget_dblmethods are used to get property values. These methods come in two variants, using either one parameter or two. The version with two parameters is for widgets in arrays. The first parameter is the occurrence number. Use thePR_values to identify the property requested.The
set_int,set_str, andset_dblmethods are used to set property values. These methods come in two variants, one with two parameters and one with three. The version with three parameters is used when referencing a particular occurrence in an array. The final parameter is the new value for the property.The
get*Functionsmethods are used to get handles to special objects that exist to support the Panther library functions. For a listing of the methods in each library function interface, refer to Chapter 6, "Java Library Function Interfaces."
![]()
![]()
![]()
![]()