Method and apparatus for associating and storing arbitrary data with graphical user interface elements
Data structure and methods associating an arbitrary list of properties with user interface items on a graphical user interface display. Each property has a tag with which an application program can reference it, and arbitrary data which can be written, read and modified by the application program. P...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
05.12.1995
|
Edition | 6 |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Data structure and methods associating an arbitrary list of properties with user interface items on a graphical user interface display. Each property has a tag with which an application program can reference it, and arbitrary data which can be written, read and modified by the application program. Property lists for each user interface item are stored in in-memory pools of property lists. Each pool includes a header region having a variable number of index slots, each slot which is currently being used pointing to a respective property list in a property list region of the pool. Unused slots are maintained on a linked list of index slots. When a property list is to be added or removed from a pool, the maintenance routines grow or shrink the pool only by fixed increments. Each property list includes a variable number of property entries each having a tag field and a data field. Property lists are represented as a property table containing all of the tags in sorted order, followed by a property data region containing the data for all of the properties. Each property table entry includes a tag and an offset to the corresponding data in the property data region. |
---|---|
Bibliography: | Application Number: AU19950025514 |