发明名称 |
Method and system for displaying a graphical screen |
摘要 |
It is the aim of the present invention to provide a method and a system for displaying a graphical screen which optimally fits the client browser dimensions at run-time without requiring the use of scrollbars. The aforementioned aim is achieved according to the present invention by a method for displaying a graphical screen, comprising the steps of:
a) creating an object capable of resizing the graphical screen;
b) inserting the object in the graphical screen at design time;
c) displaying of the graphical screen at the client, at run time, the object is rendered so as to perform the following sub-steps:
c1) get the original graphical screen dimensions;
c2) get browser target dimensions;
c3) calculate the scaling factor in order to fit the graphical screen to the browser dimensions; wherein two embodiments are possible for calculating the scaling factor:
i) preferably with no deformation: same scaling factor applied to width and height;
ii) exceptionally with deformation where two different scaling factors applied to width and height;
d) apply the scaling factor(s) to the page that is to be loaded.
|
申请公布号 |
EP1975782(A1) |
申请公布日期 |
2008.10.01 |
申请号 |
EP20070006454 |
申请日期 |
2007.03.29 |
申请人 |
SIEMENS AKTIENGESELLSCHAFT |
发明人 |
CORSINI, GIORGIO;NOFERI, STEFANO |
分类号 |
G06F9/44 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|