发明名称 Display widget interaction in embedded systems using child graphics contexts
摘要 A method and apparatus implementing a separate child context for each applet (or similar element) of a browser. A described embodiment of the present invention provides one or more child contexts that correspond to elements in the HTML for a web page displayed by a browser. For example, each applet executed by the browser has a corresponding and separate child context Each child context has an associated memory buffer. The browser also has a parent context, which each child context points to. When a graphic is displayed via a widget, the widget draws the graphic (such as a panel or a non-pressed button) in the child context of the applet and sets a "damage" flag in the child context. When the browser performs its main browser loop, it checks the status of the damaged flag for each element (including each applet). If the browser finds a damage flag that is set, this means that something was written into the child buffer and that the parent buffer needs updating. In this case, the browser "pulls" the information from the child buffer into the parent buffer, which is then used to update the display screen. Other components, called reactive components, present special problems and are treated specially. Reactive components are drawn directly into both the child and parent contexts and buffers without waiting for the main browser loop.
申请公布号 US6266056(B1) 申请公布日期 2001.07.24
申请号 US19980203043 申请日期 1998.11.30
申请人 SUN MICROSYSTEMS, INC. 发明人 KANUNGO RAJESH
分类号 G06F12/02;G06F3/048;G06F3/14;G06F9/06;G06F9/44;G06F9/54;(IPC1-7):G06F13/00;G06F9/00 主分类号 G06F12/02
代理机构 代理人
主权项
地址