首页> 外国专利> Display widget interaction in embedded systems using child graphics contexts

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.
机译:为浏览器的每个小程序(或类似元素)实现单独的子上下文的方法和设备。本发明的所描述的实施例提供了与由浏览器显示的网页的HTML中的元素相对应的一个或多个子上下文。例如,浏览器执行的每个applet都有一个对应的,独立的子上下文。每个子上下文都有一个关联的内存缓冲区。浏览器还具有一个父上下文,每个子上下文都指向该上下文。当通过窗口小部件显示图形时,窗口小部件将在applet的子上下文中绘制图形(例如面板或未按下的按钮),并在子上下文中设置“损坏”标志。当浏览器执行其主浏览器循环时,它将检查每个元素(包括每个applet)的损坏标志状态。如果浏览器找到已设置的损坏标志,则意味着某些内容已写入子缓冲区,并且父缓冲区需要更新。在这种情况下,浏览器将信息从子缓冲区“拉”到父缓冲区,然后用于更新显示屏幕。其他称为反应性组件的组件也存在特殊问题,并经过特殊处理。反应性组件直接绘制到子上下文和父上下文以及缓冲区中,而无需等待主浏览器循环。

著录项

  • 公开/公告号EP1006440B1

    专利类型

  • 公开/公告日2006-08-30

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC;

    申请/专利号EP19990309535

  • 发明设计人 KANUNGO RAJESH;

    申请日1999-11-29

  • 分类号G06F9/44;

  • 国家 EP

  • 入库时间 2022-08-21 21:31:59

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号