Objects with run-time classes and methods of making them
First Claim
1. A widget (523) for use in an X window graphical user interface system, the widget being characterized in that:
- the widget is a software object stored in a computer readable medium and represents a window which may be displayed on a display; and
the widget'"'"'s resources include a first resource (713) which is first defined at run time.
5 Assignments
0 Petitions
Accused Products
Abstract
Techniques for defining object classes at run time which are indistinguishable from object classes compiled at compile time. The techniques are applied to widgets employed in X window systems. Further disclosed are new kinds of widgets. One of the new kinds is a widget which has monitor functions associated with specific resources. When the resource is accessed, the monitor function is executed. Another is a widget which has a callback tester function associated with a list of callback functions. The callback tester performs a test whenever any resource of the widget is modified, and if the test succeeds, the functions on the list of callback functions are invoked. Other kinds of widgets are adapted to representing servers and clients. In these widgets, resources represent interprocess communications and operations on the resources are related to the interprocess communication.
43 Citations
22 Claims
-
1. A widget (523) for use in an X window graphical user interface system, the widget being characterized in that:
-
the widget is a software object stored in a computer readable medium and represents a window which may be displayed on a display; and the widget'"'"'s resources include a first resource (713) which is first defined at run time. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of making a widget for use in the X window system, the widget belonging to a first class which is a subclass of a second class and the method comprising performing the steps in a computer system at run time of:
-
receiving a definition of the second class; receiving a definition of a set of resources; making a definition of the first class from the definition of the second class and the definition of the set of resources; and creating the widget according to the definition of the first class. - View Dependent Claims (9)
-
-
10. A widget (523) for use in an X window system which is characterized in that:
-
the widget is a software object stored in a computer readable medium; and the widget includes among its resources (735) a monitor function (719) which is associated with a given one of the resources, the association being such that the monitor function is invoked when the given resource is accessed. - View Dependent Claims (11, 12)
-
-
13. A widget (523) for use in an X window system which is characterized in that:
-
the widget is stored in a computer readable medium; and the widget includes among its resource callback tester function(721) which performs a test whenever a resource belonging to a set thereof is modified and which is associated with a set of the callback functions, the association being such that the callback functions in the set are invoked if the test'"'"'s results so indicate. - View Dependent Claims (14, 15)
-
-
16. A widget for use in the X window system which is characterized in that:
-
the widget is stored in a computer readable medium; and the widget includes resources (1214,
1222) representing an interprocess communication and means (1211) for relating operations on the resources to the interprocess communication. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
Specification