JP2006331339A - Layout device, layout method, program, and data structure - Google Patents

Layout device, layout method, program, and data structure Download PDF

Info

Publication number
JP2006331339A
JP2006331339A JP2005157922A JP2005157922A JP2006331339A JP 2006331339 A JP2006331339 A JP 2006331339A JP 2005157922 A JP2005157922 A JP 2005157922A JP 2005157922 A JP2005157922 A JP 2005157922A JP 2006331339 A JP2006331339 A JP 2006331339A
Authority
JP
Japan
Prior art keywords
layout
property
gui
preference
data generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005157922A
Other languages
Japanese (ja)
Inventor
Keiji Okamoto
啓嗣 岡本
Misayo Fujioka
操代 藤岡
Taizo Kojima
泰三 小島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005157922A priority Critical patent/JP2006331339A/en
Publication of JP2006331339A publication Critical patent/JP2006331339A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a layout device capable of dynamically performing layout in compliance with a screen for each type of a device, to which this invention is applied, while offering a free layout environment for arranging a GUI component at any position on a screen. <P>SOLUTION: A preference is set for each property about layout of the GUI component. The GUI component serving as a candidate for a layout regulation method is selected based on a preference calculation result by a preference calculation part 110, and based on the selected GUI component, layout is adjusted. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、携帯電話等の画面表示に適用するレイアウト装置に係り、特に画面上にGUI(Graphical User Interface)を表示するにあたり、表示装置の機種に合わせて動的に画面レイアウトを生成するレイアウト装置、レイアウト方法及びこのレイアウト装置としてコンピュータを機能させるプログラム並びにこのレイアウトで参照する情報のデータ構造に関するものである。   BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a layout device applied to a screen display of a mobile phone or the like, and particularly to a layout device that dynamically generates a screen layout in accordance with the type of display device when displaying a GUI (Graphical User Interface) on the screen. The present invention relates to a layout method, a program for causing a computer to function as the layout apparatus, and a data structure of information referred to in the layout.

従来、GUI部品を表示する優先度を設定し、画面サイズによっては優先度の低いGUI部品を表示しないことで、画面サイズに合った画面レイアウトを実現するレイアウト方法が提案されている(例えば、特許文献1参照)。特許文献1では、画面の表示領域がGUI部品よりも小さい場合、優先度に応じて表示するGUI部品を間引いたり、フォントの大きさを変えたり、GUI部品サイズを縮小する。また、画面の表示領域がGUI部品よりも大きく余白がある場合には、フォントの大きさを変えたり、拡大優先度に応じてGUI部品のサイズを拡大する。   Conventionally, a layout method for realizing a screen layout suitable for a screen size by setting a priority for displaying a GUI component and not displaying a GUI component with a low priority depending on the screen size has been proposed (for example, patents). Reference 1). In Patent Document 1, when the display area of the screen is smaller than the GUI component, the GUI component to be displayed is thinned out, the font size is changed, or the GUI component size is reduced according to the priority. If the display area of the screen is larger than the GUI component and there is a margin, the font size is changed, or the size of the GUI component is enlarged according to the enlargement priority.

特開2002−328801号公報JP 2002-328801 A

特許文献1に代表される従来のレイアウト処理は、GUI部品毎に設定した優先度に従って画面中にGUI部品を順番に並べていき、画面内に隙間無く敷き詰めるものである。このため、画面の任意の位置にGUI部品を配置するような自由なレイアウトに対応していないという課題があった。   The conventional layout process represented by Patent Document 1 arranges GUI parts in the screen in order according to the priority set for each GUI part, and lays out the screen without any gaps. For this reason, there has been a problem that it does not support a free layout in which GUI parts are arranged at arbitrary positions on the screen.

また、特許文献1のレイアウト処理では、画面に合わせてレイアウトを調整する際に、GUI部品の表示若しくは非表示の制御や表示領域内における余白の調整しかできない。このため、GUI部品の移動等のレイアウト変更における調整には対応していないという課題もあった。   In addition, in the layout process of Patent Document 1, when adjusting the layout according to the screen, only the display or non-display control of GUI parts and the adjustment of the margin in the display area can be performed. For this reason, there is a problem that adjustment in layout change such as movement of GUI parts is not supported.

この発明は、上記のような課題を解決するためになされたもので、画面の任意の位置にGUI部品を配置する自由なレイアウト環境を提供しつつ、本発明を適用した装置の機種毎の画面に合わせて動的にレイアウトすることができるレイアウト装置、レイアウト方法及びこのレイアウト装置としてコンピュータを機能させるプログラム並びにこのレイアウトで参照する情報のデータ構造を得ることを目的とする。   The present invention has been made to solve the above-described problems, and provides a free layout environment in which GUI parts are arranged at arbitrary positions on the screen, and a screen for each model of the device to which the present invention is applied. It is an object of the present invention to obtain a layout device, a layout method, a program for causing a computer to function as the layout device, and a data structure of information referred to in the layout.

この発明に係るレイアウト装置では、GUI部品のレイアウト内容を規定する設定情報であるプロパティ及びその重要性の度合を示すプリファレンスを設定したレイアウト定義と、表示画面を有する端末の特性を設定した機種情報とを入力し、これら入力情報を用いて表示画面のレイアウトデータを生成するレイアウトデータ生成部と、レイアウトデータ生成部から入力したレイアウトデータを基に、プリファレンスの値に応じてレイアウトデータ生成部による表示画面に合わせたレイアウト調整の対象となるGUI部品及びプロパティの候補を選択するプリファレンス計算部とを備えるものである。   In the layout apparatus according to the present invention, the layout information that sets the property that is the setting information that defines the layout content of the GUI part and the preference that indicates the degree of its importance, and the model information that sets the characteristics of the terminal having the display screen And the layout data generation unit that generates the layout data of the display screen using the input information, and the layout data generation unit according to the value of the preference based on the layout data input from the layout data generation unit. And a preference calculation unit that selects GUI components and property candidates to be subjected to layout adjustment in accordance with the display screen.

この発明によれば、GUI部品のレイアウト内容を規定する設定情報であるプロパティ及びその重要性の度合を示すプリファレンスを設定したレイアウト定義と、表示画面を有する端末の特性を設定した機種情報とを入力し、これら入力情報を用いて表示画面のレイアウトデータを生成するレイアウトデータ生成部と、レイアウトデータ生成部から入力したレイアウトデータを基に、プリファレンスの値に応じてレイアウトデータ生成部による表示画面に合わせたレイアウト調整の対象となるGUI部品及びプロパティの候補を選択するプリファレンス計算部とを備えるので、画面の任意の位置にGUI部品を配置する自由なレイアウト環境を提供しつつ、本発明を適用した端末の機種毎の表示画面に合わせて動的にレイアウトすることができるという効果がある。   According to the present invention, the layout definition that sets the property that is the setting information that defines the layout content of the GUI component and the preference indicating the degree of importance thereof, and the model information that sets the characteristics of the terminal having the display screen are provided. Based on the layout data input from the input data and generating layout data of the display screen using the input information, and the layout data input from the layout data generation unit, the display screen by the layout data generation unit according to the preference value And a preference calculation unit that selects a candidate for a GUI component and a property to be subjected to layout adjustment according to the present invention, so that the present invention can be provided while providing a free layout environment in which a GUI component is arranged at an arbitrary position on the screen It can be dynamically laid out according to the display screen for each model of the applied terminal. There is an effect that that.

実施の形態1.
図1は、この発明の実施の形態1によるレイアウト装置の構成を示すブロック図である。本実施の形態1によるレイアウト装置は、レイアウト定義記憶部101及び機種情報記憶部107に保持された情報を用いてレイアウト処理を実行するレイアウトデータ生成部109及びプリファレンス計算部110から構成される。レイアウトデータ生成部109が生成したレイアウトデータは、表示装置111の画面に表示される。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a layout apparatus according to Embodiment 1 of the present invention. The layout apparatus according to the first embodiment includes a layout data generation unit 109 and a preference calculation unit 110 that execute layout processing using information stored in the layout definition storage unit 101 and the model information storage unit 107. The layout data generated by the layout data generation unit 109 is displayed on the screen of the display device 111.

レイアウト定義記憶部101には、レイアウト作成者が定義した画面レイアウトに関する情報であるレイアウト定義102が保持される。機種情報記憶部107には、本発明を適用する表示画面を有する端末毎の画面サイズや使用可能なフォントサイズ等の機種情報108が保持される。なお、機種情報とは、画面のサイズや使用可能なフォントサイズなどの情報で規定され、GUI部品の画面レイアウトを構成する一要素となる、端末に依存した情報である。   The layout definition storage unit 101 holds a layout definition 102 that is information relating to the screen layout defined by the layout creator. The model information storage unit 107 stores model information 108 such as a screen size and a usable font size for each terminal having a display screen to which the present invention is applied. Note that the model information is terminal-dependent information that is defined by information such as a screen size and a usable font size, and that is an element constituting the screen layout of the GUI component.

また、レイアウト定義102は、レイアウト定義記憶部101に単数又は複数保持されるものとし、機種情報108も機種情報記憶部107に単数又は複数保持される。レイアウトデータ生成部109は、レイアウト定義102と機種情報108を用いてレイアウトデータを生成する。プリファレンス計算部110は、レイアウトデータ生成部109が生成したレイアウトデータに設定されたプリファレンスの値に応じて表示装置111の画面に合わせたレイアウト調整を行うGUI部品及びそのプロパティの候補を選択する。   One or more layout definitions 102 are held in the layout definition storage unit 101, and one or more model information 108 are also held in the model information storage unit 107. The layout data generation unit 109 generates layout data using the layout definition 102 and the model information 108. The preference calculation unit 110 selects a GUI component and a property candidate for performing layout adjustment according to the screen of the display device 111 in accordance with the preference value set in the layout data generated by the layout data generation unit 109. .

また、レイアウト定義102には、GUI部品情報104を設定するGUI部品部103が含まれており、GUI部品部103中には単数又は複数のGUI部品情報104が設定されている。GUI部品情報104は、プロパティ部105及びプリファレンス部106を含んで構成される。プロパティ部105には、レイアウト作成者が定義した画面レイアウトにおけるGUI部品の配置位置やサイズを規定するプロパティ情報が設定される。プリファレンス部106には、プロパティ部105に保持したプロパティ情報のレイアウトにおけるプリファレンスが設定される。   The layout definition 102 includes a GUI part unit 103 for setting GUI part information 104. One or more GUI part information 104 is set in the GUI part unit 103. The GUI component information 104 includes a property part 105 and a preference part 106. Property information that defines the layout position and size of the GUI component in the screen layout defined by the layout creator is set in the property section 105. In the preference unit 106, a preference in the layout of property information held in the property unit 105 is set.

図2は、実施の形態1によるレイアウト装置を具現化するハードウエア構成の一例を示す図であり、パーソナルコンピュータ(PC)での構成例である。図1中のレイアウトデータ生成部109及びプリファレンス計算部110は、例えば図2に示すようなPC201の処理装置202に、本発明に従うレイアウト処理プログラムを実行させることで具現化することができる。   FIG. 2 is a diagram illustrating an example of a hardware configuration that embodies the layout apparatus according to the first embodiment, and is a configuration example in a personal computer (PC). The layout data generation unit 109 and the preference calculation unit 110 in FIG. 1 can be realized by causing the processing device 202 of the PC 201 as shown in FIG. 2 to execute a layout processing program according to the present invention.

つまり、本発明に従うレイアウト処理プログラムを上記PC201に読み込ませて、その動作を制御することにより、PC201上に図1に示すレイアウトデータ生成部109及びプリファレンス計算部110としての機能を持たせることができる。このPC201側で生成されたレイアウトデータは、PC201に具備された表示装置111であるモニタ204で表示される。   That is, by loading the layout processing program according to the present invention into the PC 201 and controlling its operation, the PC 201 can have functions as the layout data generation unit 109 and the preference calculation unit 110 shown in FIG. it can. The layout data generated on the PC 201 side is displayed on the monitor 204 that is the display device 111 provided in the PC 201.

レイアウト定義記憶部101及び機種情報記憶部107についても、PC201に装備されたRAMやハードディスクなどの記憶装置203上に構成することができる。レイアウト定義102並びに機種情報108は、ファイルであってもよいし、データベースを構築して、そこから必要な情報を取り出すような構成であってもよい。また、プロパティ部105並びにプリファレンス部106にアクセスするメソッドを備えたオブジェクトの形式で保持されていてもよい。   The layout definition storage unit 101 and the model information storage unit 107 can also be configured on a storage device 203 such as a RAM or a hard disk installed in the PC 201. The layout definition 102 and the model information 108 may be files, or may be configured such that a database is constructed and necessary information is extracted therefrom. Further, it may be held in the form of an object having a method for accessing the property part 105 and the preference part 106.

なお、以下の説明において、本発明のレイアウト装置を具現化するコンピュータ自体の構成及びその基本的な機能については、当業者が当該技術分野の技術常識に基づいて容易に認識できるものであり、本発明の本質に直接関わるものでないので詳細な記載を省略する。また、図2中のPC201は、汎用コンピュータの他、表示画面を有したコンピュータに類する処理機能を備えた携帯電話やPDAなどの携帯情報端末であってもよい。この場合、携帯電話や携帯情報端末の表示画面に合ったレイアウト処理が施される。   In the following description, the configuration of the computer itself that embodies the layout device of the present invention and the basic functions thereof can be easily recognized by those skilled in the art based on the common general technical knowledge in the technical field. The detailed description is omitted because it is not directly related to the essence of the invention. The PC 201 in FIG. 2 may be a portable information terminal such as a mobile phone or a PDA having a processing function similar to a computer having a display screen, in addition to a general-purpose computer. In this case, layout processing suitable for the display screen of the mobile phone or the portable information terminal is performed.

ここで、本実施の形態1によるレイアウトデータ生成処理の概要について説明する。
図3は、図1中のレイアウト定義記憶部に保持したレイアウト定義の一例を示す図である。レイアウト定義102には、GUI部品部103の他に、画面全体に関わる情報として画面の縦や横方向へのスクロール102a、レイアウト作成者が想定した画面サイズ102b及びこの画面で使用されるフォントサイズ102cが定義される。
Here, an outline of the layout data generation processing according to the first embodiment will be described.
FIG. 3 is a diagram showing an example of the layout definition held in the layout definition storage unit in FIG. In the layout definition 102, in addition to the GUI component unit 103, as information related to the entire screen, scroll 102a in the vertical and horizontal directions of the screen, screen size 102b assumed by the layout creator, and font size 102c used on this screen Is defined.

スクロール102aは、縦及び横方向へスクロール可能な画面であるかどうかを定義するものであり、縦、横それぞれ「true」、「false」の2値で定義される。「true」であればその方向にスクロール可能であり、「false」であればスクロールは不可能である。図3の例は、縦も横も「false」であり、縦にも横にもスクロール不可能な画面であることがわかる。   The scroll 102a defines whether or not the screen can be scrolled in the vertical and horizontal directions, and is defined by binary values of “true” and “false” respectively in the vertical and horizontal directions. If “true”, scrolling is possible in that direction, and if “false”, scrolling is impossible. The example of FIG. 3 is “false” both vertically and horizontally, and it can be seen that the screen cannot be scrolled vertically or horizontally.

GUI部品部103には、各GUI部品に関する情報が保持される。図3の例では、GUI部品のID、GUI部品の種類、GUI部品の名前、GUI部品の表示内容を規定するテキストが設定され、各種GUI部品のレイアウト用プロパティとして可視性、位置、サイズ、ガイドが設定される。ガイドとは、列を表現するためのプロパティであり、縦方向に関するガイドのプロパティと、横方向に関するガイドのプロパティとがある。例えば、横方向に関するガイドのプロパティ値が同じGUI部品群は、横方向に一列になっていることを意味する。   The GUI component unit 103 holds information regarding each GUI component. In the example of FIG. 3, GUI part ID, GUI part type, GUI part name, and text that defines the display contents of the GUI part are set, and visibility, position, size, and guide are set as layout properties of various GUI parts. Is set. The guide is a property for expressing a column, and includes a guide property related to the vertical direction and a guide property related to the horizontal direction. For example, it means that GUI component groups having the same guide property value in the horizontal direction are arranged in a row in the horizontal direction.

ガイドのプロパティが同じ値を持つGUI部品は、レイアウトを行う際の一つのグループとして考えることができる。つまり、このガイドプロパティは、GUI部品の属するグループを表すグループプロパティの一例である。また、位置のプロパティ値は座標で記述され、画面の任意の位置にGUI部品を配置することが可能である。可視性とは、そのGUI部品が表示されるかどうかを表すプロパティであり、「true」、「false」の2値で表され、「true」であればGUI部品が表示され、「false」であれば表示されない。   GUI parts having the same guide property values can be considered as one group for layout. That is, this guide property is an example of a group property that represents a group to which the GUI component belongs. Further, the position property value is described by coordinates, and a GUI component can be arranged at an arbitrary position on the screen. Visibility is a property that indicates whether or not the GUI component is displayed, and is represented by two values “true” and “false”. If “true”, the GUI component is displayed, and “false” is displayed. If there is, it is not displayed.

プロパティ部105には、上述した設定項目で特定されるGUI部品の配置情報が保持される。図中のGUI部品部103の第1行目におけるプロパティ部105は、IDが「0」であるGUI部品についてであり、その種類は「ラベル」であり、名前は「label1」、テキストは「1.」、可視性は「true」、位置のx座標は「5」、y座標は「5」、サイズの幅は「48」、高さは「24」であり、ガイドのうち縦方向に関するものは「1」、横方向に関するものは「1」である。なお、サイズには最小サイズを設定することも可能であり、プロパティ値のかっこ内の値が最小値を表す。最小サイズ中のFは、実際に表示する際のフォントサイズを表し、これを用いて最小サイズを定義する。   The property part 105 holds the arrangement information of the GUI parts specified by the setting items described above. The property part 105 in the first line of the GUI part part 103 in the figure is for the GUI part whose ID is “0”, the type is “label”, the name is “label1”, and the text is “1”. . ”, Visibility is“ true ”, position x-coordinate is“ 5 ”, y-coordinate is“ 5 ”, size width is“ 48 ”, and height is“ 24 ”. Is “1” and “1” is for the horizontal direction. Note that a minimum size can be set for the size, and the value in the parentheses of the property value represents the minimum value. F in the minimum size represents the font size for actual display, and this is used to define the minimum size.

プリファレンス部106には、上述した各GUI部品のレイアウト用プロパティについてのプリファレンスの値が設定される。プリファレンス値は、各プロパティの重要度を表し、図示の例では10段階としており、値が大きいほど重要であることを意味する。なお、プリファレンス値は、100段階にする等、詳細度を変えてもよいし、0から1までの小数で表してもよい。   In the preference unit 106, a preference value is set for the layout property of each GUI component described above. The preference value represents the importance of each property. In the illustrated example, the preference value has 10 levels, and the larger the value, the more important. Note that the preference value may be changed in detail, for example, in 100 steps, or may be represented by a decimal number from 0 to 1.

例えば、IDが「0」のGUI部品の各プロパティに対応するプリファレンスは、可視性のプロパティに対して値「10」のプリファレンスが設定されており、位置のプリファレンス値は「9」、サイズのプリファレンス値は「10」であり、縦方向のガイドのプリファレンス値は「7」、横方向のガイドのプリファレンス値は「9」である。   For example, the preference corresponding to each property of the GUI component whose ID is “0” has the value “10” preference set for the visibility property, and the position preference value is “9”. The size preference value is “10”, the vertical guide preference value is “7”, and the horizontal guide preference value is “9”.

可視性に関して、プロパティ値が「true」であっても、プリファレンス値が低ければ、画面サイズに応じて(画面に入りきらない場合)、当該GUI部品が表示されないこともある。なお、図3の例では、位置のプロパティ、サイズのプロパティについて一括してプリファレンス値を設定しているが、これをx、y、高さ、幅などの詳細に項目に分けてプリファレンス値を設定してもよい。これによっても、同様の効果が得られる。   Regarding the visibility, even if the property value is “true”, if the preference value is low, the GUI component may not be displayed depending on the screen size (when it cannot fit in the screen). In the example of FIG. 3, preference values are collectively set for the position property and the size property. However, the preference value is divided into items such as x, y, height, and width in detail. May be set. This also provides the same effect.

また、レイアウト定義102には、図3に挙げたものの他に、GUI部品の色等のプロパティを設定するプロパティ部105を設け、そのプロパティにプリファレンスを設定するプリファレンス部106を構築してもよく、同様の効果が得られる。   Further, in addition to the layout definition 102 shown in FIG. 3, a property part 105 for setting properties such as the color of GUI parts is provided, and a preference part 106 for setting preferences for the properties can be constructed. Well, the same effect can be obtained.

図4は、図3中のレイアウト定義によりレイアウトした結果を示す図であり、レイアウト作成者が意図した画面イメージである。図4において、同じガイドのプロパティ値を持つGUI部品は、各破線401〜407上に並ぶ。なお、これら破線401〜407は、説明のために便宜的に記載したものであり、レイアウト作成者が配置したGUI部品ではなく、実際の画面には表示されない。   FIG. 4 is a diagram showing a result of layout based on the layout definition in FIG. 3, and is a screen image intended by the layout creator. In FIG. 4, GUI parts having the same guide property value are arranged on the broken lines 401 to 407. These broken lines 401 to 407 are described for the sake of convenience, and are not GUI parts arranged by the layout creator, and are not displayed on the actual screen.

このように、ガイドのプロパティが同じ値を持つGUI部品は、表示画面上での一定の配置規則に従うものとなり、レイアウトを行う際における一つのグループとして考えられる。このガイドプロパティを用いることで、複数のGUI部品からなるGUI部品群を効率的に配置することができる。   In this way, GUI parts having the same guide property values follow a certain arrangement rule on the display screen, and can be considered as one group when performing layout. By using this guide property, a GUI component group composed of a plurality of GUI components can be efficiently arranged.

図5は、図1中の機種情報記憶部に保持した機種情報の一例を示す図である。機種情報108には、表示画面の画面サイズ108a、使用可能なフォントサイズ108b、各GUI部品のサイズを決定するマージン108cがフォントサイズごと(スモール、ミディアム、ラージ)に設定されている。図3で示したレイアウト定義102に設定されたGUI部品のサイズに図5中のマージンを合わせたものが、画面上に表示される実際のサイズとなる。図3で示したIDが「1」のテキストボックスのサイズは、フォントサイズがミディアム「24」である場合、幅が200+3+3=206、高さが30+3+3=36となる。   FIG. 5 is a diagram showing an example of model information held in the model information storage unit in FIG. In the model information 108, the screen size 108a of the display screen, the usable font size 108b, and the margin 108c for determining the size of each GUI component are set for each font size (small, medium, large). A size obtained by adding the margin in FIG. 5 to the size of the GUI component set in the layout definition 102 shown in FIG. 3 is the actual size displayed on the screen. The size of the text box whose ID is “1” shown in FIG. 3 is 200 + 3 + 3 = 206 in width and 30 + 3 + 3 = 36 in height when the font size is medium “24”.

ここでは、全てのGUI部品に対し、サイズのプロパティ値を設定しているが、一部のGUI部品に関してはこれを設定しなくてもよい。テキストが表示されるときのサイズは、フォントサイズによって決定されるため、レイアウト作成時点では、実際に表示されたときのサイズを決定しきれない。そこで、このような場合、サイズを設定しなくてもよいこととする。つまり、このGUI部品のサイズは、レイアウトデータ生成部109によるレイアウトデータ生成時にGUI部品のテキスト、機種情報のフォントサイズ及びマージンから決定される。   Here, the property value of the size is set for all the GUI components, but this need not be set for some GUI components. Since the size when the text is displayed is determined by the font size, the size when the text is actually displayed cannot be determined at the time of layout creation. Therefore, in such a case, the size need not be set. That is, the size of the GUI component is determined from the text of the GUI component, the font size of the model information, and the margin when the layout data generation unit 109 generates the layout data.

図5のような機種情報108が設定されている場合、例えば「あいうえお」というテキストを表示する種類が「ボタン」のGUI部品がレイアウト定義102に含まれ、そのサイズが設定されていなかった場合、フォントサイズがミディアム「24」であれば、幅が24×5+2+2=124、高さが24+2+2=28となる。ここで、最小サイズも設定されていない場合、最小サイズも幅124及び高さ24に設定される。   When the model information 108 as shown in FIG. 5 is set, for example, when the layout definition 102 includes a GUI part with the type “button” displaying the text “aiueo”, and the size is not set, If the font size is medium “24”, the width is 24 × 5 + 2 + 2 = 124 and the height is 24 + 2 + 2 = 28. Here, when the minimum size is not set, the minimum size is also set to the width 124 and the height 24.

次に動作について説明する。
図6は、実施の形態1によるレイアウト装置の動作を示すフローチャートであり、レイアウトデータ生成部109によるレイアウトデータ生成処理の流れを示している。
先ず、レイアウトデータ生成部109は、初期レイアウトデータ生成処理を実行する(ステップST101)。ここで、レイアウトデータ生成部109は、レイアウト定義記憶部101からレイアウト定義102を読み出し、機種情報記憶部107から機種情報108を読み出して、これらを用いて表示装置111の画面依存のレイアウトデータを生成する。
Next, the operation will be described.
FIG. 6 is a flowchart showing the operation of the layout apparatus according to the first embodiment, and shows the flow of layout data generation processing by the layout data generation unit 109.
First, the layout data generation unit 109 executes initial layout data generation processing (step ST101). Here, the layout data generation unit 109 reads the layout definition 102 from the layout definition storage unit 101, reads the model information 108 from the model information storage unit 107, and generates screen-dependent layout data of the display device 111 using these. To do.

レイアウトデータとは、機種情報108を用いて、レイアウト定義102に対して実際の表示に必要なサイズを反映させ、表示装置111で表示する際に必要な全ての情報を設定したデータのことをいう。レイアウトデータ生成部109は、このレイアウトデータに対して表示装置111の画面に合わせた変更を加え、表示装置111の画面で表示するレイアウトデータを生成する。   The layout data refers to data in which all information necessary for displaying on the display device 111 is set by reflecting the size necessary for actual display on the layout definition 102 using the model information 108. . The layout data generation unit 109 changes the layout data in accordance with the screen of the display device 111 and generates layout data to be displayed on the screen of the display device 111.

例えば、レイアウト定義102に設定されているフォントサイズをfont、GUI部品のx座標をx、y座標をy、幅をwidth、高さをheightとし、レイアウトデータにおけるフォントサイズをFONT、GUI部品のx座標をX、y座標をY、幅をWIDTH、高さをHEIGHTとする。   For example, the font size set in the layout definition 102 is font, the x coordinate of the GUI part is x, the y coordinate is y, the width is width, the height is height, the font size in the layout data is FONT, and the x of the GUI part The coordinate is X, the y coordinate is Y, the width is WIDTH, and the height is HEIGHT.

そして、レイアウトデータにおける画面サイズをレイアウトのサイズと呼び、その高さ及び幅をそれぞれレイアウトの高さ及びレイアウトの幅と呼ぶ。なお、以降では、単に画面サイズといえば、機種情報108の画面サイズ108aを指すこととする。   The screen size in the layout data is called the layout size, and the height and width are called the layout height and layout width, respectively. In the following description, the screen size simply refers to the screen size 108a of the model information 108.

最初に、レイアウトデータ生成部109は、機種情報108の画面サイズ108aをレイアウトのサイズ(レイアウトデータにおける画面サイズ)に設定する。これに合わせてGUI部品のサイズを設定する。このとき、レイアウト定義102から読み出した画面サイズ102bが縦H、横Wであったとする。また、機種情報108から読み出した画面サイズ108aが縦H1、横W1であったとする。この場合、レイアウトデータ生成部109は、(H1/H)と(W1/W)との小さい方の値を画面の拡縮率αとする。   First, the layout data generation unit 109 sets the screen size 108a of the model information 108 to the layout size (screen size in the layout data). In accordance with this, the size of the GUI component is set. At this time, it is assumed that the screen size 102b read from the layout definition 102 is vertical H and horizontal W. Further, it is assumed that the screen size 108a read from the model information 108 is vertical H1 and horizontal W1. In this case, the layout data generation unit 109 sets the smaller one of (H1 / H) and (W1 / W) as the screen enlargement / reduction ratio α.

レイアウトデータ生成部109は、この拡縮率αを用いて、レイアウトデータにおけるGUI部品のサイズ及びフォントサイズを決定する。例えば、レイアウト定義102から読み出したフォントサイズ102cがfontであると、機種情報108から読み出したフォントサイズ108bの値のうち、(font×α)に最も近いものが、レイアウトデータのフォントサイズであるFONTの値に設定される。   The layout data generation unit 109 determines the size of the GUI component and the font size in the layout data using the scaling factor α. For example, if the font size 102c read from the layout definition 102 is font, the font size 108b read from the model information 108 is closest to (font × α) and is the font size of the layout data. Is set to the value of

次に、レイアウトデータ生成部109は、レイアウト定義102のプロパティ部105から各GUI部品のサイズを読み出し、プロパティ値が設定されていれば、レイアウトデータにおけるGUI部品の幅WIDTHにwidth×αを、高さにHEIGHTにheight×αを代入してレイアウトデータのサイズを設定する。なお、このとき、最小サイズが設定されていれば、それ以上小さくしない。   Next, the layout data generation unit 109 reads the size of each GUI component from the property unit 105 of the layout definition 102. If the property value is set, the width WIDTH of the GUI component in the layout data is set to high width × α. Further, the size of layout data is set by substituting height × α into HEIGHT. At this time, if the minimum size is set, it is not further reduced.

一方、プロパティ部105にサイズが設定されていないラベル等のGUI部品である場合、レイアウトデータ生成部109は、レイアウトデータのフォントサイズFONTとレイアウト定義102の対応するテキストとを合わせて決定し、レイアウトデータのサイズに設定する。さらに、レイアウトデータのフォントサイズFONTに対応するマージンを機種情報108のマージン108cから読み出し、レイアウトデータの各GUI部品のサイズにマージンを足し合わせる。   On the other hand, in the case of a GUI part such as a label whose size is not set in the property part 105, the layout data generation part 109 determines the layout data font size FONT together with the corresponding text in the layout definition 102, and determines the layout. Set to the size of the data. Further, a margin corresponding to the font size FONT of the layout data is read from the margin 108c of the model information 108, and the margin is added to the size of each GUI component of the layout data.

続いて、レイアウトデータ生成部109は、レイアウト定義102のプロパティ部105から各GUI部品の位置を読み出して、レイアウトデータにおけるGUI部品のx座標Xに(x×W1/W)を代入し、y座標Yに(y×H1/H)を代入して、レイアウトデータにおけるGUI部品の位置に設定する。他のデータに関しては、レイアウト定義102の設定をそのままレイアウトデータにコピーする。このようにして、初期レイアウトデータが生成される。   Subsequently, the layout data generation unit 109 reads the position of each GUI component from the property unit 105 of the layout definition 102, substitutes (x × W1 / W) for the x coordinate X of the GUI component in the layout data, and the y coordinate. Substituting (y × H1 / H) for Y, the position of the GUI component in the layout data is set. For other data, the settings of the layout definition 102 are copied to the layout data as they are. In this way, initial layout data is generated.

ステップST102において、レイアウトデータ生成部109は、横スクロール可能かどうか判定する。具体的には、レイアウトデータにコピーされた、横方向のスクロールの値から、横スクロール可能か否かを判定する。このとき、横スクロールが不可能であると、ステップST103の処理に移行して縦方向の初期調整を行う。   In step ST102, the layout data generation unit 109 determines whether horizontal scrolling is possible. Specifically, it is determined whether or not horizontal scrolling is possible from the horizontal scroll value copied to the layout data. If horizontal scrolling is not possible at this time, the process proceeds to step ST103 to perform initial adjustment in the vertical direction.

画面の拡縮率αに合わせてレイアウトデータにおけるGUI部品のサイズや位置を設定しても、GUI部品の最小サイズや機種情報108によっては、GUI部品間の表示に重畳が生じる場合がある。例えば、α<1のとき、図4に示したような画面を想定したレイアウト定義102を基に生成されたレイアウトデータでは、図7中に斜線部で示すように表示に重畳が生じる場合がある。   Even if the size and position of the GUI component in the layout data are set in accordance with the screen enlargement / reduction ratio α, the display between the GUI components may be superimposed depending on the minimum size of the GUI component and the model information 108. For example, when α <1, the layout data generated based on the layout definition 102 assuming the screen as shown in FIG. 4 may be superimposed on the display as shown by the hatched portion in FIG. .

そこで、ステップST103において、レイアウトデータ生成部109は、このような重畳を、画面サイズを無視して解消する処理を実行する。この処理を、画面サイズ無視の調整処理と呼ぶ。この処理は、先ず縦方向に関して行われ、これを画面サイズ無視の調整処理(縦)と表す。この方法については後述する。   Therefore, in step ST103, the layout data generation unit 109 executes processing for eliminating such superposition by ignoring the screen size. This process is called an adjustment process for ignoring the screen size. This process is first performed in the vertical direction, and this is represented as an adjustment process (vertical) ignoring the screen size. This method will be described later.

続いて、ステップST104において、レイアウトデータ生成部109は、上述したような重畳を、横方向に関して画面サイズを考慮しながら解消する処理を実行する。この処理を、画面サイズを考慮した調整処理と呼ぶ。この処理は、先ず横方向に関して行われ、これを画面サイズを考慮した調整処理(横)と表す。この方法については後述する。   Subsequently, in step ST104, the layout data generation unit 109 executes processing for eliminating the above-described superposition while considering the screen size in the horizontal direction. This process is called an adjustment process considering the screen size. This process is first performed in the horizontal direction, and this is expressed as an adjustment process (horizontal) considering the screen size. This method will be described later.

画面サイズを考慮した調整処理(横)が終了すると、レイアウトデータ生成部109は、縦にスクロール可能か否かを判定する(ステップST105)。このとき、縦にスクロール可能であると判定されると、レイアウトデータ生成処理を終了する。   When the adjustment process (horizontal) in consideration of the screen size is completed, the layout data generation unit 109 determines whether vertical scrolling is possible (step ST105). At this time, if it is determined that vertical scrolling is possible, the layout data generation process ends.

また、縦にスクロール不可能と判定されると、レイアウトデータ生成部109は、ステップST103における画面サイズ無視の調整処理によりレイアウトの高さが変更されていると判断して、レイアウトの高さを画面サイズの高さまで縮小する処理を行う(ステップST106)。例えば、レイアウトの高さをH2まで縮小したとすると、レイアウトデータの各GUI部品のy座標Yに(Y×H1/H2)を代入する。   If it is determined that vertical scrolling is not possible, the layout data generation unit 109 determines that the layout height has been changed by the screen size ignoring adjustment process in step ST103, and determines the layout height to the screen. A process of reducing the size to the height is performed (step ST106). For example, if the layout height is reduced to H2, (Y × H1 / H2) is substituted for the y coordinate Y of each GUI component in the layout data.

この後、レイアウトデータ生成部109は、縦方向に関して画面サイズを考慮した調整処理を行って(ステップST107)、レイアウトデータ生成処理を終了する。この一連の処理により、図8に示すような画面のレイアウトデータが生成され、表示装置111によって表示される。   Thereafter, the layout data generation unit 109 performs adjustment processing in consideration of the screen size in the vertical direction (step ST107), and ends the layout data generation processing. Through this series of processing, screen layout data as shown in FIG. 8 is generated and displayed on the display device 111.

一方、ステップST102において、横スクロール可能であると判定された場合、レイアウトデータ生成部109は、さらに縦スクロール可能か否かを判定する(ステップST108)。このとき、縦スクロールが可能であった場合、レイアウトデータ生成部109は、ステップST103と同様に、画面サイズ無視の調整処理(縦)を実行する(ステップST111)。この処理が完了すると、レイアウトデータ生成部109は、ステップST111と同様の処理を横方向に関して行う(ステップST112)。この処理を画面サイズ無視の調整処理(横)と表す。   On the other hand, when it is determined in step ST102 that horizontal scrolling is possible, the layout data generation unit 109 determines whether vertical scrolling is possible (step ST108). At this time, if vertical scrolling is possible, the layout data generation unit 109 executes adjustment processing (vertical) for ignoring the screen size, similarly to step ST103 (step ST111). When this process is completed, layout data generation section 109 performs the same process as step ST111 in the horizontal direction (step ST112). This processing is expressed as adjustment processing (horizontal) ignoring the screen size.

なお、画面サイズ無視の調整処理(横)は、画面サイズ無視の調整処理(縦)の記述中の、「縦」と「横」を読み替え、「高さ」と「幅」、及び「x」と「y」をそれぞれ読み替えた処理である。画面サイズ無視の調整処理(横)を終了すると、レイアウトデータ生成部109は、レイアウトデータの生成処理を終了する。   Note that the screen size ignoring adjustment process (horizontal) replaces “vertical” and “horizontal” in the description of the screen size ignoring adjustment process (vertical), and “height”, “width”, and “x”. And “y”. When the adjustment process (horizontal) for ignoring the screen size ends, the layout data generation unit 109 ends the layout data generation process.

また、ステップST108において、縦スクロールが不可能と判定された場合、レイアウトデータ生成部109は、画面サイズ無視の調整処理(横)を実行する(ステップST109)。引き続き、レイアウトデータ生成部109は、画面サイズを考慮した調整処理(縦)を行い(ステップST110)、レイアウトデータ生成処理を終了する。なお、画面サイズ無視の調整処理は、最初に縦方向に行い、次に横方向に行うように記述したが、この順序は逆でもよく同様の効果を得られる。   If it is determined in step ST108 that vertical scrolling is not possible, the layout data generation unit 109 executes adjustment processing (horizontal) ignoring the screen size (step ST109). Subsequently, the layout data generation unit 109 performs adjustment processing (vertical) in consideration of the screen size (step ST110), and ends the layout data generation processing. Although the adjustment process for ignoring the screen size is described to be performed first in the vertical direction and then in the horizontal direction, this order may be reversed and the same effect can be obtained.

次に、画面サイズ無視の調整処理(縦)について詳細に説明する。
図9は、図6中のステップST103における画面サイズ無視の調整処理(縦)の流れを示すフローチャートである。
先ず、レイアウトデータ生成部109は、レイアウトデータ中のGUI部品に関し、y座標の小さい順に、他のGUI部品と表示が重畳しているか否かを調査するためのGUI部品を抽出する(ステップST201)。この重畳調査は、ステップST202においてレイアウトデータ中の全てのGUI部品が調査対象として抽出されたと判定されるまで実行され、全てのGUI部品に関して調査が終了していると判定されれば画面サイズ無視の調整処理を終了する。全てのGUI部品が調査対象として抽出されていない場合、レイアウトデータ生成部109は、ステップST201で抽出した調査対象のGUI部品にパラメータg0を設定する(ステップST203)。
Next, adjustment processing (vertical) for ignoring the screen size will be described in detail.
FIG. 9 is a flowchart showing the flow of adjustment processing (vertical) ignoring the screen size in step ST103 in FIG.
First, the layout data generation unit 109 extracts a GUI component for investigating whether or not the display is superimposed on another GUI component in the ascending order of the y coordinate regarding the GUI component in the layout data (step ST201). . This superimposition investigation is executed until it is determined in step ST202 that all GUI parts in the layout data have been extracted as investigation objects. If it is determined that the investigation has been completed for all GUI parts, the screen size is ignored. The adjustment process ends. When all the GUI parts are not extracted as the investigation target, the layout data generation unit 109 sets the parameter g0 to the investigation-target GUI part extracted in step ST201 (step ST203).

続いて、レイアウトデータ生成部109は、GUI部品g0が他のGUI部品と重畳していないかどうかを判定する(ステップST204)。GUI部品間の表示重畳の判定は、2つのGUI部品に関してそれらの位置とサイズのプロパティを用いてGUI部品の表示領域の重なりを調べることにより行われる。このとき、重畳がないと判定されると、ステップST202の処理に戻って次のGUI部品を調査する。   Subsequently, the layout data generation unit 109 determines whether or not the GUI component g0 is superimposed on another GUI component (step ST204). The determination of display overlap between GUI parts is performed by examining the overlap of the display areas of the GUI parts using the properties of their positions and sizes with respect to the two GUI parts. At this time, if it is determined that there is no superposition, the process returns to the process of step ST202 and the next GUI component is investigated.

一方、重畳がある場合、レイアウトデータ生成部109は、GUI部品g0と重畳しているGUI部品にパラメータg1を設定し、GUI部品g0,g1間で表示が重畳している領域の縦のサイズをa1、横のサイズをb1として、a1<b1であるか否かを判定する(ステップST205)。ここで、a1<b1であると判定されると、レイアウトデータ生成部109は、GUI部品g1と、このGUI部品g1より大きなy座標を持つ全てのGUI部品のy座標にa1を足し合わせる(ステップST206)。   On the other hand, when there is an overlay, the layout data generation unit 109 sets the parameter g1 for the GUI component superimposed with the GUI component g0, and sets the vertical size of the region where the display is superimposed between the GUI components g0 and g1. It is determined whether a1 <b1 where a1 and horizontal size are b1 (step ST205). If it is determined that a1 <b1, the layout data generation unit 109 adds a1 to the y coordinates of the GUI component g1 and all GUI components having a y coordinate larger than the GUI component g1 (step S1). ST206).

続いて、レイアウトデータ生成部109は、ステップST206でy座標の値をシフトさせたGUI部品が画面サイズからはみ出るか否かを調べる(ステップST207)。このはみ出しの調査では、GUI部品の位置とサイズのプロパティを用いて、機種情報108から読み出した画面サイズ108aと合わせて、画面からはみ出す領域が調べられる。このとき、y座標の値をシフトさせたGUI部品が画面サイズからはみ出ると判定されると、レイアウトデータ生成部109は、はみ出した領域の縦サイズa2を求め、レイアウトデータにおける当該GUI部品についてのサイズの高さHEIGHTをa2だけ増加させる(ステップST208)。   Subsequently, the layout data generation unit 109 checks whether or not the GUI component whose y-coordinate value has been shifted in step ST206 protrudes from the screen size (step ST207). In this protrusion investigation, an area protruding from the screen is examined together with the screen size 108a read from the model information 108 using the position and size properties of the GUI component. At this time, if it is determined that the GUI component whose y-coordinate value has been shifted exceeds the screen size, the layout data generation unit 109 obtains the vertical size a2 of the protruding region, and the size of the GUI component in the layout data. Height HEIGHT is increased by a2 (step ST208).

また、ステップST208の処理の完了後、若しくは、ステップST205において、a1<b1でないと判定されると、レイアウトデータ生成部109は、ステップST202の処理に戻って次のGUI部品に対する重畳調査処理に移行する。   In addition, after completion of the process of step ST208 or when it is determined in step ST205 that a1 <b1 is not satisfied, the layout data generation unit 109 returns to the process of step ST202 and proceeds to the overlay investigation process for the next GUI component. To do.

次に、画面サイズを考慮した調整処理(横)について詳細に説明する。
図10は、図6中のステップST104における画面サイズを考慮した調整処理(横)の流れを示すフローチャートである。
先ず、レイアウトデータ生成部109は、レイアウトデータ中の各GUI部品の位置に関するプロパティ値を用いて、画面左に配置されるGUI部品から順に、他のGUI部品と表示が重畳しているか否かを調査するためのGUI部品を抽出する(ステップST301)。この重畳調査は、ステップST302においてレイアウトデータ中の全てのGUI部品が調査対象として抽出されたと判定されるまで実行され、全てのGUI部品に関して調査が終了していると判定されれば画面サイズを考慮した調整処理を終了する。全てのGUI部品が調査対象として抽出されていない場合、レイアウトデータ生成部109は、ステップST301で抽出した調査対象のGUI部品にパラメータc0を設定する(ステップST303)。
Next, the adjustment process (horizontal) in consideration of the screen size will be described in detail.
FIG. 10 is a flowchart showing the flow of adjustment processing (horizontal) in consideration of the screen size in step ST104 in FIG.
First, the layout data generation unit 109 uses a property value related to the position of each GUI component in the layout data to determine whether or not the display is superimposed on other GUI components in order from the GUI component arranged on the left side of the screen. GUI parts for investigation are extracted (step ST301). This superposition investigation is executed until it is determined in step ST302 that all GUI parts in the layout data have been extracted as investigation targets. If it is determined that the investigation has been completed for all GUI parts, the screen size is considered. The adjusted process is finished. When all the GUI parts are not extracted as the investigation target, the layout data generation unit 109 sets the parameter c0 to the investigation target GUI part extracted in step ST301 (step ST303).

続いて、レイアウトデータ生成部109は、GUI部品c0に関して移動距離決定処理を行う。移動距離決定処理とは、GUI部品c0の重畳を解消するための調整をした際に、影響を受けるGUI部品群をGUI部品リストに登録してゆき、GUI部品リスト中の全てのGUI部品に対する移動距離を算出する処理である。   Subsequently, the layout data generation unit 109 performs a movement distance determination process for the GUI part c0. The movement distance determination process is to register the affected GUI component group in the GUI component list when making adjustments to eliminate the superimposition of the GUI component c0, and move all GUI components in the GUI component list. This is a process for calculating the distance.

この処理では、例えば図11に示すようにGUI部品1001とGUI部品1002とが重畳した場合であれば、先ず画面右側のGUI部品1002から玉突きの要領でさらに右側に移動させることを考え、画面端のGUI部品1006まで順にGUI部品リストに登録しながら移動距離を決定していき、それによってGUI部品1006が画面内に収まるか否かを調べ、収まらなければ反対に画面左側へ同様に玉突きの要領で移動させ、さらに画面内に収まるか否かを調べる。   In this process, for example, as shown in FIG. 11, if the GUI component 1001 and the GUI component 1002 are overlapped, it is first considered to move further from the GUI component 1002 on the right side of the screen to the right side in the manner of ball hitting. The movement distance is determined while registering in the GUI parts list in order up to GUI parts 1006, and whether or not the GUI parts 1006 can fit within the screen is checked. To check if it fits within the screen.

ここで、上述したようなGUI部品リストをLISTと称し、GUI部品cの移動距離をMov[c]とする。Movは配列であり、GUI部品cのIDを添え字とするが、ここでは略記してMov[c]と表す。また、GUI部品が画面に収まらなかったことを示す値をflagとする。   Here, the GUI component list as described above is referred to as LIST, and the movement distance of the GUI component c is Mov [c]. Mov is an array, and the ID of the GUI component c is used as a subscript, but here is abbreviated as Mov [c]. Also, a value indicating that the GUI component does not fit on the screen is set as flag.

なお、移動距離決定処理は、レイアウトデータ生成部109により、移動距離を決定するGUI部品cと、その時点で必要と判断されるGUI部品cの移動距離dとを用いて実行される。そこで、この処理を移動距離決定処理(c,d)と表すことにする。この場合における移動距離は、横方向への移動距離を表す。以降、右を正方向、左を負方向として扱う。移動距離決定処理については後述する。   The movement distance determination process is executed by the layout data generation unit 109 using the GUI part c for determining the movement distance and the movement distance d of the GUI part c determined to be necessary at that time. Therefore, this process is represented as a movement distance determination process (c, d). The movement distance in this case represents the movement distance in the horizontal direction. Hereinafter, the right is treated as the positive direction and the left as the negative direction. The movement distance determination process will be described later.

レイアウトデータ生成部109は、ステップST303で調査対象のGUI部品にパラメータc0を設定すると、ステップST304で移動距離決定処理の初期値として移動距離d0に0を設定し、ステップST305でflagにも0を設定する。さらに、レイアウトデータ生成部109は、調整対象GUI部品のリストであるLISTをクリアする(ステップST306)。   When the parameter c0 is set for the GUI component to be investigated in step ST303, the layout data generation unit 109 sets 0 as the moving distance d0 as an initial value of the moving distance determination process in step ST304, and sets 0 in the flag in step ST305. Set. Furthermore, layout data generation section 109 clears LIST, which is a list of GUI components to be adjusted (step ST306).

続いて、ステップST307において、レイアウトデータ生成部109は、後述する内容で移動距離決定処理(c0,d0)を実行する。このあと、レイアウトデータ生成部109は、ステップST307で得られたGUI部品c0の移動距離Mov[c0]がd0と等しいか否かを判定する(ステップST308)。このとき、両者が等しければ、GUI部品c0を移動距離d0だけ移動させることが可能と判断し、LIST中の全てのGUI部品を、LISTの最後のGUI部品(画面右端のGUI部品)から移動距離Mov[c0]だけ移動させる(ステップST311)。そして、当該GUI部品をLISTから削除してステップST302の処理に戻る。   Subsequently, in step ST307, the layout data generation unit 109 executes a movement distance determination process (c0, d0) with the contents to be described later. Thereafter, the layout data generation unit 109 determines whether or not the movement distance Mov [c0] of the GUI part c0 obtained in step ST307 is equal to d0 (step ST308). At this time, if both are equal, it is determined that the GUI component c0 can be moved by the moving distance d0, and all the GUI components in the LIST are moved from the last GUI component of the LIST (the GUI component at the right end of the screen). Move only by Mov [c0] (step ST311). Then, the GUI part is deleted from the LIST, and the process returns to Step ST302.

また、GUI部品c0の移動距離Mov[c0]がd0と等しくない場合、レイアウトデータ生成部109は、flagの値が2に等しいか否かを判定する(ステップST309)。ここで、flagの値が2に等しくないと判定されると、レイアウトデータ生成部109は、まだGUI部品が画面の両端ではみ出ると判定されていないため、ステップST310で移動距離d0にMov[c0]を代入し、再びステップST307に戻って移動距離決定処理(c0,d0)を実行する。   If the movement distance Mov [c0] of the GUI part c0 is not equal to d0, the layout data generation unit 109 determines whether or not the value of the flag is equal to 2 (step ST309). Here, if it is determined that the value of the flag is not equal to 2, the layout data generation unit 109 has not yet determined that the GUI component protrudes at both ends of the screen. ] Is substituted, and the process returns to step ST307 again to execute the movement distance determination process (c0, d0).

これまでの処理により重畳がなくなれば、生成されたレイアウトデータは、レイアウト作成者の作成したものと大きな変化のない画面が表示装置111に表示される。しかしながら、これまでの処理だけでは画面に収まりきらないことがある。このような場合に、プリファレンス計算部110を用いてプリファレンスに基づいて調整方法を求める。   If there is no overlap in the process so far, the generated layout data is displayed on the display device 111 as a screen that does not change significantly from the layout data created by the layout creator. However, there are cases where the image cannot be displayed on the screen only by the processing so far. In such a case, the preference calculation unit 110 is used to obtain an adjustment method based on the preference.

ステップST309において、flagの値が2に等しいとの判定結果が得られると、このGUI部品の重畳を解消させるために移動を行うと、画面の左右両端ではみ出ることを意味し、画面内に収まらないことになる。なお、このとき、絶対値|Mov[c0]|が、LIST中のGUI部品群を並べたときに画面からはみ出る大きさを表している。   In step ST309, if a determination result that the value of flag is equal to 2 is obtained, it means that if the movement is performed in order to cancel the superimposition of this GUI component, it will protrude from both the left and right sides of the screen and will not fit within the screen. There will be no. At this time, the absolute value | Mov [c0] | represents the size that protrudes from the screen when the GUI component groups in the LIST are arranged.

そこで、ステップST309でflagの値が2に等しいとの判定結果が得られると、レイアウトデータ生成部109の処理から、ステップST312におけるプリファレンス計算部110によるプリファレンス計算処理に移行する。このとき、レイアウトデータ生成部109は、プリファレンス計算部110に対して、レイアウトデータ、LIST及びPLISTを送出する。なお、PLISTとは、変更する候補となるプロパティをまとめた変更候補プロパティリストである。ここでは、PLIST中には、位置、サイズ、横方向のガイド、可視性のプロパティが含まれているものとする。   Therefore, when the determination result that the value of flag is equal to 2 is obtained in step ST309, the processing of the layout data generation unit 109 shifts to the preference calculation processing by the preference calculation unit 110 in step ST312. At this time, the layout data generation unit 109 sends layout data, LIST, and PLIST to the preference calculation unit 110. The PLIST is a change candidate property list in which properties to be changed are collected. Here, it is assumed that the PLIST includes properties of position, size, horizontal guide, and visibility.

プリファレンス計算部110では、得られたデータから、ステップST312でプリファレンス値による計算を行い、LIST中のどのGUI部品に対し、PLIST中のどのプロパティを変更して調整を行うのかを決定する。   In step ST312, the preference calculation unit 110 performs calculation based on the preference value, and determines which property in the PLIST is changed and adjusted for which GUI component in the LIST.

そして、プリファレンス計算部110は、LIST中の移動調整対象のGUI部品とPLIST中のプロパティ並びにGUI部品とその各プロパティに対して計算したスコアを対応付けた情報を、調整方法のリストとしてレイアウトデータ生成部109に返信する。   Then, the preference calculation unit 110 uses layout data as a list of adjustment methods, associating information that associates the GUI component that is the object of movement adjustment in LIST with the property in PLIST, and the GUI component and the score calculated for each property. A reply is sent to the generation unit 109.

さらに、プリファレンス計算部110は、調整方法として、プロパティを変更するGUI部品のリストであるCLIST(GUI候補登録部)と、CLIST中のGUI部品の変更するプロパティが設定されるP(プロパティ候補登録部)と、CLIST中の各GUI部品の、Pに設定されているプロパティに対応するスコアのリストであるSLIST(スコア登録部)を生成してレイアウトデータ生成部109に返信する。なお、以降では、Pに設定されているプロパティを「プロパティP」と表現する。   Furthermore, the preference calculation unit 110 has, as adjustment methods, a CLIST (GUI candidate registration unit) that is a list of GUI parts whose properties are to be changed, and P (property candidate registration) in which properties to be changed of GUI parts in the CLIST are set. And SLIST (score registration unit) which is a list of scores corresponding to the property set in P of each GUI component in the CLIST, and returns the generated data to the layout data generation unit 109. Hereinafter, the property set to P is expressed as “property P”.

レイアウトデータ生成部109は、プリファレンス計算部110より指示された内容に基づき、レイアウトにおけるGUI部品の横方向に関する調整を行う(ステップST313)。この処理をプリファレンス計算結果による調整処理(横)と表す。この処理の詳細については後述する。   The layout data generation unit 109 adjusts the horizontal direction of the GUI component in the layout based on the contents instructed by the preference calculation unit 110 (step ST313). This process is referred to as an adjustment process (horizontal) based on the preference calculation result. Details of this processing will be described later.

プリファレンス計算結果による調整処理(横)が終了すると、レイアウトデータ生成部109は、ステップST303に戻ってさらに移動距離決定処理を実行する。   When the adjustment process (horizontal) based on the preference calculation result ends, the layout data generation unit 109 returns to step ST303 and further executes a movement distance determination process.

ここで、移動距離決定処理について詳細に説明する。
図12は、図10中のステップST307における移動距離決定処理の主な流れを示すフローチャートであり、GUI部品を識別するパラメータをcとし、移動距離を表すパラメータをdとする。
先ず、レイアウトデータ生成部109は、LISTにGUI部品cを登録する(ステップST401)。次に、ステップST402において、レイアウトデータ生成部109は、GUI部品cがdだけ移動することが可能か否かを判定する。この処理は、図10中のステップST308に相当し、例えばMov[c]=dと判定された場合が、GUI部品cがdだけ移動することが可能、つまりGUI部品cがdだけ移動しても他のGUI部品と重畳したり画面サイズからはみ出したりしない場合となる。
Here, the movement distance determination process will be described in detail.
FIG. 12 is a flowchart showing a main flow of the movement distance determination process in step ST307 in FIG. 10, where a parameter for identifying the GUI component is c and a parameter representing the movement distance is d.
First, the layout data generation unit 109 registers the GUI part c in the LIST (step ST401). Next, in step ST402, the layout data generation unit 109 determines whether or not the GUI part c can move by d. This process corresponds to step ST308 in FIG. 10. For example, when it is determined that Mov [c] = d, the GUI part c can be moved by d, that is, the GUI part c is moved by d. However, it does not overlap with other GUI parts or protrude from the screen size.

ステップST402においてGUI部品cがdだけ移動することが可能であると判定されると、レイアウトデータ生成部109は、Mov[c]にdを代入して(ステップST403)、移動距離決定処理を終了する。なお、対象となるGUI部品cが移動する方向にある、GUI部品cに最も近いGUI部品のパラメータをc’とする。   If it is determined in step ST402 that the GUI part c can move by d, the layout data generation unit 109 substitutes d for Mov [c] (step ST403), and ends the movement distance determination process. To do. Note that the parameter of the GUI component closest to the GUI component c in the direction in which the target GUI component c moves is c ′.

一方、GUI部品cがdだけ移動することができないと判定されると、レイアウトデータ生成部109は、GUI部品cがGUI部品c’との間で表示に重畳が生じているか否かを判定する(ステップST404)。図11に示したGUI部品1001とこれに隣接して最も近いGUI部品1002との間のように、GUI部品cとGUI部品c’が重畳していれば、GUI部品c’を重畳領域の幅だけ移動させなければならない。このような追加する移動距離を追加移動距離d2と称する。   On the other hand, if it is determined that the GUI part c cannot be moved by d, the layout data generation unit 109 determines whether or not the GUI part c is superimposed on the display with the GUI part c ′. (Step ST404). If the GUI component c and the GUI component c ′ are overlapped as in the GUI component 1001 shown in FIG. 11 and the nearest GUI component 1002 adjacent to the GUI component 1001, the width of the overlap region is set. Only have to be moved. Such an additional moving distance is referred to as an additional moving distance d2.

ステップST404でGUI部品cとGUI部品c’が重畳していると判定されると、レイアウトデータ生成部109は、dが正の値であるか否かを判定する(ステップST405)。このとき、dが0以上の値で正ならば、ステップST406に進み、追加移動距離d2に重畳領域の幅を代入する。また、dが負の値であれば、レイアウトデータ生成部109は、追加移動距離d2に(−1×重畳領域の幅)を代入する(ステップST407)。   If it is determined in step ST404 that the GUI part c and the GUI part c 'are superimposed, the layout data generation unit 109 determines whether d is a positive value (step ST405). At this time, if d is a positive value of 0 or more, the process proceeds to step ST406, and the width of the overlapping area is substituted for the additional movement distance d2. On the other hand, if d is a negative value, layout data generation section 109 substitutes (−1 × width of overlapping region) for additional movement distance d2 (step ST407).

また、ステップST404において、GUI部品cとGUI部品c’が重畳していないと判定されると、レイアウトデータ生成部109は、GUI部品cが|d3|<|d|という関係にある距離d3だけ移動すると、GUI部品c’と接するか否かを判定する(ステップST408)。ここで、GUI部品c’に接すると判定されると、レイアウトデータ生成部109は、追加移動距離d2に(−d3)を代入する(ステップST409)。   If it is determined in step ST404 that the GUI component c and the GUI component c ′ are not superimposed, the layout data generation unit 109 determines that the GUI component c is a distance d3 having a relationship of | d3 | <| d |. If it moves, it will be determined whether it contacts GUI part c '(step ST408). If it is determined that the GUI component c ′ is touched, the layout data generation unit 109 substitutes (−d3) for the additional movement distance d2 (step ST409).

ステップST406、ステップST407、ステップST409の処理で追加移動距離d2の値を設定すると、レイアウトデータ生成部109は、移動距離決定処理(c’,d+d2)を再帰的に実行する(ステップST410)。これにより決定されたMov[c’]を用いて、レイアウトデータ生成部109は、ステップST411で移動距離Mov[c]に(Mov[c’]−d2)を代入し、移動距離決定処理を終了する。   When the value of the additional movement distance d2 is set in the processes of step ST406, step ST407, and step ST409, the layout data generation unit 109 recursively executes the movement distance determination process (c ′, d + d2) (step ST410). Using Mov [c ′] determined in this way, layout data generation section 109 substitutes (Mov [c ′] − d2) for movement distance Mov [c] in step ST411, and ends the movement distance determination processing. To do.

一方、ステップST408における条件が成り立たない(距離d3だけ移動してもGUI部品c’に接しない)ということは、GUI部品cはdだけ移動すると画面サイズからはみ出ることを意味する。このとき、レイアウトデータ生成部109は、|d4|<|d|という関係にある距離d4以上の移動で画面サイズからはみ出るとすると、Mov[c]にd4を代入する(ステップST412)。このあと、レイアウトデータ生成部109は、ステップST413でflagに1を足して、移動距離決定処理を終了する。   On the other hand, the fact that the condition in step ST408 is not satisfied (the GUI part c does not touch the GUI part c 'even if it moves by the distance d3) means that the GUI part c protrudes from the screen size if it moves by d. At this time, if the layout data generation unit 109 moves beyond the screen size by a distance d4 or more having a relationship of | d4 | <| d |, it substitutes d4 for Mov [c] (step ST412). Thereafter, the layout data generation unit 109 adds 1 to the flag in step ST413 and ends the movement distance determination process.

次に、プリファレンス計算結果による調整処理(横)の詳細について説明する。
図13は、図10中のステップST313におけるプリファレンス計算結果による調整処理(横)の流れを示すフローチャートである。
先ず、レイアウトデータ生成部109は、変更すべきプロパティPが可視性であるか否かを判定する(ステップST501)。このとき、プロパティPが可視性であれば、CLIST中のGUI部品を非表示に設定する(ステップST504)。プロパティPが可視性でなければ、ステップST502に進み、変更すべきプロパティPがサイズであるか否かを判定する。
Next, details of the adjustment process (horizontal) based on the preference calculation result will be described.
FIG. 13 is a flowchart showing the flow of adjustment processing (horizontal) based on the preference calculation result in step ST313 in FIG.
First, the layout data generation unit 109 determines whether or not the property P to be changed is visibility (step ST501). At this time, if the property P is visibility, the GUI component in the CLIST is set to non-display (step ST504). If the property P is not visible, the process proceeds to step ST502, and it is determined whether or not the property P to be changed is a size.

ここで、プロパティPがサイズであれば、レイアウトデータ生成部109は、画面からはみ出した幅|Mov[c0]|を、CLIST中のGUI部品に対して、SLIST中のスコアの逆比を用いて、対応するGUI部品に配分し、各GUI部品を配分されたサイズだけ縮小する(ステップST505)。このように、レイアウトデータ生成部109は、スコアの逆比でGUI部品のサイズを縮小するというような調整方法を決定する。また、ステップST502でプロパティPがサイズでないと判定されれば、ステップST503に進む。   Here, if the property P is size, the layout data generation unit 109 uses the inverse ratio of the score in SLIST to the width | Mov [c0] | Allocating to the corresponding GUI component, each GUI component is reduced by the allocated size (step ST505). In this way, the layout data generation unit 109 determines an adjustment method that reduces the size of the GUI component by the inverse ratio of the scores. If it is determined in step ST502 that the property P is not a size, the process proceeds to step ST503.

ステップST503において、レイアウトデータ生成部109は、変更すべきプロパティPが位置であるか否かを判定する。このとき、プロパティPが位置であると判定されると、CLIST中のGUI部品を、その左右に配置されたGUI部品との間で表示が重畳しないように下へ移動させる(ステップST506)。   In step ST503, the layout data generation unit 109 determines whether or not the property P to be changed is a position. At this time, if it is determined that the property P is a position, the GUI component in the CLIST is moved downward so that the display does not overlap with the GUI components arranged on the left and right sides (step ST506).

一方、ステップST503でプロパティPが位置でないと判定されると、レイアウトデータ生成部109は、変更すべきプロパティPが横方向のガイドであると判断し、CLIST中のGUI部品に続いて配置される同じガイド値を持つ一連のGUI部品群を改行する(ステップST507)。なお、改行するという処理については後述する。   On the other hand, if it is determined in step ST503 that the property P is not a position, the layout data generation unit 109 determines that the property P to be changed is a horizontal guide, and is placed following the GUI component in the CLIST. A series of GUI component groups having the same guide value is broken (step ST507). The process of making a line break will be described later.

レイアウトデータ生成部109は、ステップST506やステップST507でGUI部品の位置を移動させたり改行したりした際、他のGUI部品と表示が重畳するか否かを判定する(ステップST508)。ここで、他のGUI部品と重畳しなければ、処理を終了する。一方、他のGUI部品と重畳すると判定されると、レイアウトデータ生成部109は、移動させたGUI部品よりy座標の大きな全てのGUI部品に対して、重畳領域の高さ分だけy座標を増加させる(ステップST509)。   The layout data generation unit 109 determines whether or not the display is superimposed on another GUI component when the position of the GUI component is moved or a line break is made in step ST506 or step ST507 (step ST508). Here, if it does not overlap with other GUI parts, the process is terminated. On the other hand, if it is determined to overlap with another GUI component, the layout data generation unit 109 increases the y coordinate by the height of the overlap region for all GUI components having a larger y coordinate than the moved GUI component. (Step ST509).

ステップST509でy座標を増加させると、レイアウトデータ生成部109は、画面サイズからGUI部品がはみ出すか否かを判定する(ステップST510)。このとき、画面サイズからGUI部品がはみ出さなければ、処理を終了する。また、画面サイズからGUI部品がはみ出したと判定されると、レイアウトデータにおけるGUI部品のサイズの高さHEIGHTをはみ出した領域の高さだけ増加(ステップST511)し、処理を終了する。   When the y coordinate is increased in step ST509, the layout data generation unit 109 determines whether or not the GUI component protrudes from the screen size (step ST510). At this time, if the GUI component does not protrude from the screen size, the process ends. If it is determined that the GUI part has protruded from the screen size, the height HEIGHT of the GUI part size in the layout data is increased by the height of the protruding area (step ST511), and the process is terminated.

上述した画面サイズを考慮した調整処理(横)及びプリファレンス計算結果による調整処理(横)の内容は、横方向のみに限定しての記述である。これらの処理を縦方向に関する処理とする場合、上述した内容、図10及び図13のフローチャートにおける、「横」を「縦」と読み替え、「左」を「上」、及び「右」を「下」と読み替える。また、「幅」を「高さ」と読み替え、「x」も「y」と読み替える。   The contents of the adjustment process (horizontal) considering the screen size and the adjustment process (horizontal) based on the preference calculation result are described only in the horizontal direction. When these processes are processes related to the vertical direction, “horizontal” in the flowcharts of FIGS. 10 and 13 is replaced with “vertical”, “left” is “up”, and “right” is “down”. " Also, “width” is read as “height”, and “x” is read as “y”.

但し、図6中のステップST107における画面サイズを考慮した調整処理(縦)の実行時に、図13中のステップST510で画面からGUI部品がはみ出す場合、レイアウトデータにおけるGUI部品の幅を増加させない。この場合、フォントサイズをさらに小さくしたり、適当なGUI部品を非表示にする等、画面内に収まるような処理を行う。この処理方法は、装置で限定してもよいし、レイアウト定義102に設定可能とし、レイアウト作成者に選択させてもよい。   However, when the GUI component protrudes from the screen in step ST510 in FIG. 13 during execution of the adjustment process (vertical) in consideration of the screen size in step ST107 in FIG. 6, the width of the GUI component in the layout data is not increased. In this case, processing that fits within the screen is performed, such as further reducing the font size or hiding an appropriate GUI component. This processing method may be limited by the apparatus, or may be set in the layout definition 102 and may be selected by the layout creator.

また、適当なGUI部品を非表示にする処理としては、PLISTに可視性を登録し、ここまでの処理で既にGUI部品が登録されているLISTと合わせてプリファレンス計算処理を行う。この結果として、CLISTに登録されているGUI部品を非表示にすることで実現できる。また、非表示にせず、他のGUI部品を重ねて上書きするように表示してもよい。   Further, as a process of hiding an appropriate GUI component, visibility is registered in the PLIST, and a preference calculation process is performed together with the LIST in which the GUI component has already been registered in the processes so far. As a result, this can be realized by hiding GUI parts registered in the CLIST. Moreover, you may display so that another GUI component may be overwritten and not displayed, without hiding.

例えば、プリファレンス計算処理によって求められたSLISTに登録されているスコアを用いて、スコアがある閾値σよりも小さければ、CLIST中のGUI部品を非表示にし、σよりも大きければ、非表示にはせず、他のGUI部品を重ねて上書きするように表示するなどの調整方法を決定する。   For example, using the score registered in the SLIST obtained by the preference calculation process, if the score is smaller than a certain threshold σ, the GUI component in the CLIST is hidden, and if the score is larger than σ, it is hidden. Without adjusting, an adjustment method is determined such that other GUI parts are displayed so as to be overwritten.

図14は、図10中のステップST312におけるプリファレンス計算処理の流れを示すフローチャートである。この図に沿って、本発明において導入した、レイアウト用プロパティに対するプリファレンスをどのように用いてレイアウト調整方法を決定するかについて説明する。
プリファレンス計算部110が、レイアウトデータ、GUI部品のリストLIST及び変更候補プロパティのリストPLISTを基にして、変更するGUI部品のリストCLISTと、変更するプロパティP、及びCLIST中の各GUI部品のプロパティPに対応するスコアのリストSLISTを求める。
FIG. 14 is a flowchart showing the flow of preference calculation processing in step ST312 in FIG. A description will be given of how the layout adjustment method is determined by using the preference for the layout property introduced in the present invention, with reference to FIG.
Based on the layout data, the GUI part list LIST, and the change candidate property list PLIST, the preference calculation unit 110 changes the GUI part list CLIST, the property P to be changed, and the property of each GUI part in the CLIST. A list SLIST of scores corresponding to P is obtained.

ステップST601において、プリファレンス計算部110は、PLISTのサイズが1であるか否か、つまりPLISTに1つだけプロパティが登録されているか否かを判定する。このとき、PLISTのサイズが1であれば、ステップST602に進み、PLIST中のプロパティにパラメータPを設定する。次に、プリファレンス計算部110は、LIST中のGUI部品に対して、プロパティPのプリファレンス値が最小のGUI部品を求めてCLISTに登録すると共に、SLISTにCLIST中の各GUI部品に関してプロパティPのプリファレンス値をスコアとして登録する(ステップST603)。   In step ST601, the preference calculation unit 110 determines whether or not the size of the PLIST is 1, that is, whether or not only one property is registered in the PLIST. At this time, if the size of the PLIST is 1, the process proceeds to step ST602, and the parameter P is set to the property in the PLIST. Next, the preference calculation unit 110 obtains the GUI component having the minimum property P preference value for the GUI component in the LIST, registers it in the LIST, and registers the property P for each GUI component in the LIST in the SLIST. Are registered as scores (step ST603).

一方、ステップST601でPLISTのサイズが1でなければ、プリファレンス計算部110は、レイアウト調整方法を決定するための基準値であるスコアを、各プロパティのプリファレンス値から求める(ステップST604)。ここで、PLISTに、GUI部品のプロパティとして、例えば可視性、サイズ、位置、ガイドが設定されている場合を考える。   On the other hand, if the PLIST size is not 1 in step ST601, the preference calculation unit 110 obtains a score, which is a reference value for determining the layout adjustment method, from the preference value of each property (step ST604). Here, let us consider a case where, for example, visibility, size, position, and guide are set as properties of GUI parts in PLIST.

なお、ガイドに関しては、プリファレンス計算処理を呼び出した画面サイズを考慮した調整処理が、縦若しくは横のどちらの方向に関してのものかによって、縦方向のガイド若しくは横方向のガイドのいずれかとなるが、ここでは、横方向のガイドであるとして処理を記述する。縦方向のガイドである場合も、処理の内容は同様である。   As for the guide, the adjustment process considering the screen size that called the preference calculation process is either a vertical guide or a horizontal guide depending on whether the adjustment process is in the vertical or horizontal direction. Here, the process is described as a horizontal guide. The contents of the process are the same when the guide is in the vertical direction.

上述したPLISTの構成である場合、プリファレンス計算部110は、レイアウト調整方法を決定するためのスコアとして、可視性のプロパティのプリファレンスに対してPv、サイズのプロパティのプリファレンスに対してPs、位置のプロパティのプリファレンスに対してPp、ガイドのプロパティのプリファレンスに対してPlを算出する。具体的には、下記の通りである。
1.Pvについて
プリファレンス計算部110は、PLISTにおける可視性のプリファレンスについて、可視性のプリファレンスの最小値と所定の閾値τとの比較結果から、可視性のプリファレンスの最小値が閾値τより小さければ、スコアPvを(プリファレンスの下限値−1)とする。一方、可視性のプリファレンスの最小値が閾値τ以上であれば、Pvを(プリファレンスの上限値+1)とする。
2.Psについて
プリファレンス計算部110は、PLISTにおけるサイズのプリファレンスの平均値をPsとする。このとき、LIST中のGUI部品からサイズのプリファレンスについて上限値を持つもの(サイズ変更を許さないもの)と、サイズが既に最小サイズであるものを除いて、サイズのプリファレンス値の平均を求める。
3.Ppについて
プリファレンス計算部110は、PLISTにおける位置のプリファレンスの最小値をPpとする。このとき、ガイド値を持つGUI部品に関しては、同じガイド値を持つGUI部品郡中で位置のプリファレンス値が最大のものを、そのGUI部品の位置のプリファレンスとみなす。
4.Plについて
プリファレンス計算部110は、PLISTにおける横方向のガイドのプリファレンスの最小値をPlとする。
In the case of the PLIST configuration described above, the preference calculation unit 110 uses Pv for the visibility property preference, Ps for the size property preference, and the score for determining the layout adjustment method. Pp is calculated for the position property preference and Pl for the guide property preference. Specifically, it is as follows.
1. About Pv The preference calculation unit 110 determines whether the minimum value of the visibility preference is smaller than the threshold value τ based on the comparison result between the minimum value of the visibility preference and the predetermined threshold value τ. For example, the score Pv is set to (preference lower limit value -1). On the other hand, if the minimum value of the visibility preference is equal to or greater than the threshold τ, Pv is set to (preference upper limit value + 1).
2. About Ps The preference calculation unit 110 sets the average value of the size preferences in PIST as Ps. At this time, an average of the size preference values is obtained except for GUI components in the LIST that have an upper limit for size preferences (those that do not allow size change) and those that already have a minimum size. .
3. About Pp The preference calculation unit 110 sets the minimum value of the position preference in PLIST as Pp. At this time, regarding a GUI part having a guide value, the GUI part group having the same guide value and having the largest position preference value is regarded as the position preference of the GUI part.
4). About Pl The preference calculation unit 110 sets Pl as the minimum value of the lateral guide preference in PLIST.

上述のようにして、プリファレンス計算部110は、Pv、Ps、Pp、Plを求めると、これらの値に従ってプロパティを変更するGUI部品及びそのプロパティPを決定する。例えば、Pv、Ps、Pp、Plをそれぞれ比較して、これらのうちの最小値に基づいて調整方針を決定する。   As described above, when Pv, Ps, Pp, and Pl are obtained, the preference calculation unit 110 determines a GUI component whose property is to be changed and its property P according to these values. For example, Pv, Ps, Pp, and Pl are respectively compared, and the adjustment policy is determined based on the minimum value of these.

先ず、プリファレンス計算部110は、Pv、Ps、Pp、Plをそれぞれ比較して、Pvが最小であるか否かを判定する(ステップST605)。このとき、Pvが最小であれば、可視性のプリファレンス値が最小のGUI部品をCLISTに登録し、その変更するプロパティPを可視性に設定する。そして、CLIST中の各GUI部品の可視性のプリファレンス値をスコアとしてSLISTに登録する(ステップST608)。   First, the preference calculation unit 110 compares Pv, Ps, Pp, and Pl, respectively, and determines whether or not Pv is the minimum (step ST605). At this time, if Pv is minimum, the GUI component having the minimum visibility preference value is registered in the CLIST, and the property P to be changed is set to visibility. Then, the visibility preference value of each GUI component in the CLIST is registered as a score in the SLIST (step ST608).

ステップST605でPvが最小でない場合、プリファレンス計算部110は、Pv、Ps、Pp、Plをそれぞれ比較して、Psが最小であるか否かを判定する(ステップST606)。このとき、Psが最小であれば、ステップST609に進んで、Psを求める際に用いたGUI部品のリストをCLISTに登録し、変更するプロパティPをサイズに設定する。そして、CLIST中の各GUI部品のサイズのプリファレンス値をスコアとしてSLISTに登録する。   When Pv is not minimum in step ST605, preference calculation section 110 compares Pv, Ps, Pp, and Pl, respectively, and determines whether or not Ps is minimum (step ST606). At this time, if Ps is minimum, the process proceeds to step ST609, where a list of GUI parts used for obtaining Ps is registered in CLIST, and the property P to be changed is set to size. Then, the preference value of the size of each GUI component in the CLIST is registered as a score in the SLIST.

ステップST606でPsが最小でない場合、プリファレンス計算部110は、Pv、Ps、Pp、Plをそれぞれ比較して、Ppが最小であるか否かを判定する(ステップST607)。このとき、Ppが最小であれば、ステップST610に進んで、Ppを持つGUI部品、つまり位置のプリファレンス値が最小のGUI部品をCLISTに登録し、変更するプロパティPを位置に設定する。そして、CLIST中の各GUI部品の位置のプリファレンス値をスコアとしてSLISTに登録する。   When Ps is not minimum in step ST606, preference calculation section 110 compares Pv, Ps, Pp, and Pl, respectively, and determines whether or not Pp is minimum (step ST607). At this time, if Pp is minimum, the process proceeds to step ST610, where the GUI part having Pp, that is, the GUI part having the minimum position preference value is registered in CLIST, and the property P to be changed is set in the position. Then, the preference value at the position of each GUI component in the CLIST is registered in the SLIST as a score.

ステップST606でPpが最小でない、つまりPlが最小である場合、プリファレンス計算部110は、Plを持つGUI部品、つまり横方向のガイドのプリファレンス値が最小のGUI部品をCLISTに登録し、変更するプロパティPを横方向のガイドに設定する。そして、CLIST中の各GUI部品の横方向のガイドのプリファレンス値をスコアとしてSLISTに登録する(ステップST611)。   When Pp is not the minimum in step ST606, that is, when Pl is the minimum, the preference calculation unit 110 registers the GUI component having Pl, that is, the GUI component having the minimum lateral guide preference value, in the CLIST and changes it. The property P to be set is set to the horizontal guide. Then, the preference value of the guide in the horizontal direction of each GUI component in the CLIST is registered in the SLIST as a score (step ST611).

次に、具体例を示してプリファレンス計算結果を利用したレイアウト処理を説明する。
図15は、図3に示したレイアウト定義におけるGUI部品のレイアウトの一例を示す図であり、(a)はプリファレンス計算前、(b)はプリファレンス計算結果を利用したレイアウトを示している。図15において、GUI部品1501〜1506は、図3に示したレイアウト定義102におけるIDが9から14までのGUI部品である。τ=3と仮定すると、図3に示した各プロパティの値から、GUI部品1501〜1506に対し、(可視性のプリファレンスの最小値)>τなので、Pvが(プリファレンスの上限値+1)=11、Psが上限値10を除く平均により(9+8×2)/3で約8となり、Ppが8、Plが7となる。
Next, a layout process using preference calculation results will be described with a specific example.
FIGS. 15A and 15B are diagrams showing an example of the layout of the GUI component in the layout definition shown in FIG. 3. FIG. 15A shows a layout before the preference calculation, and FIG. 15B shows a layout using the preference calculation result. 15, GUI components 1501 to 1506 are GUI components with IDs 9 to 14 in the layout definition 102 shown in FIG. Assuming that τ = 3, from the values of the properties shown in FIG. 3, since (minimum value of visibility preference)> τ for GUI components 1501 to 1506, Pv is (upper limit value of preference + 1). = 11, Ps is about 8 by (9 + 8 × 2) / 3 by the average excluding the upper limit value 10, and Pp is 8 and Pl is 7.

Pv、Ps、Pp、PlのうちでPlが最小であるので、プリファレンス計算部110は、このPlを持つIDが10のGUI部品1502をCLISTに登録すると共に、変更するプロパティPを横方向のガイドに設定し、CLIST中のGUI部品1502の横方向のガイドのプリファレンス値をスコアとしてSLISTに登録する。   Since Pl is the smallest among Pv, Ps, Pp, and Pl, the preference calculation unit 110 registers the GUI component 1502 having the ID of 10 with the CLI and registers the property P to be changed in the horizontal direction. It is set as a guide, and the preference value of the guide in the horizontal direction of the GUI part 1502 in the CLIST is registered in the SLIST as a score.

この結果を受け、レイアウトデータ生成部109は、図10中のステップST313のプリファレンス計算結果による調整処理において、プロパティPが横方向のガイドであることから、図15(b)に示すように、CLIST中のGUI部品1502に続く領域に配置をせず、改行するレイアウトデータを生成する。   In response to this result, the layout data generation unit 109 determines that the property P is a guide in the horizontal direction in the adjustment process based on the preference calculation result in step ST313 in FIG. Layout data for line breaks is generated without being arranged in the area following the GUI part 1502 in the CLIST.

次に、この改行処理について説明する。
GUI部品1501〜1506は、図3に示すように同じ横方向のガイドの値「5」を持っている。そこで、これらGUI部品1501〜1506の集合をGと表す。また、図15(a)に示す配置において、CLIST中のGUI部品1502より右に配置され、これに最も1502に近いGUI部品1503と、Gに属するGUI部品の中で最もx座標の小さいGUI部品1501とのx座標の差をXとする。さらに、Gに属するGUI部品のうち、GUI部品1502より右側に配置されるGUI部品の集合をG2とする。
Next, the line feed process will be described.
The GUI parts 1501 to 1506 have the same horizontal guide value “5” as shown in FIG. Therefore, a set of these GUI parts 1501 to 1506 is represented as G. Further, in the arrangement shown in FIG. 15A, a GUI part 1503 that is arranged to the right of the GUI part 1502 in the CLIST and is closest to the GUI part 1502, and a GUI part that has the smallest x coordinate among the GUI parts belonging to G. Let X be the difference in x-coordinate from 1501. Furthermore, among GUI parts belonging to G, a set of GUI parts arranged on the right side of the GUI part 1502 is denoted as G2.

この条件で、上述のようなCLIST中のGUI部品1502に続く領域に配置をせず、改行する処理を行う場合、G2に属する全てのGUI部品のx座標からXを引き算し、G2中の全てのGUI部品が、Gに属する他のGUI部品と重畳しないように下へ移動させる。このようなレイアウト上のグループ設定により改行処理を実行する。   Under this condition, when the line feed process is performed without arranging the area following the GUI part 1502 in the CLIST as described above, X is subtracted from the x coordinate of all the GUI parts belonging to G2, and all the parts in G2 The GUI part is moved downward so that it does not overlap with other GUI parts belonging to G. Line feed processing is executed by such layout group settings.

以上のように、この実施の形態1によれば、GUI部品のレイアウトに関する各プロパティに対してプリファレンスを設定し、プリファレンス計算部110によるプリファレンス計算結果に基づいてレイアウト調整方法の候補となるGUI部品を選択し、これに基づいてレイアウト調整を行うので、画面の任意の位置にGUI部品を配置する自由なレイアウト環境を提供しつつ、本実施の形態1を適用した装置の機種毎の画面(表示装置111の画面)に合わせて動的にレイアウトすることができる。   As described above, according to the first embodiment, a preference is set for each property related to the layout of the GUI component, and a layout adjustment method candidate is obtained based on the preference calculation result by the preference calculation unit 110. Since the GUI component is selected and the layout adjustment is performed based on the selected GUI component, the screen for each model of the apparatus to which the first embodiment is applied is provided while providing a free layout environment in which the GUI component is arranged at an arbitrary position on the screen. The layout can be dynamically made according to the (screen of the display device 111).

また、特許文献1に代表される従来の技術ように、GUI部品単位で設定した配置順や拡大優先度のみからレイアウト調整する処理では、GUI部品の表示、非表示の制御や、隙間を埋めることしかできない。これに対して、この実施の形態1によれば、上述したようにGUI部品の移動等のレイアウト変更による調整についても対応可能である。   In addition, as in the conventional technique represented by Patent Document 1, in the process of adjusting the layout only from the arrangement order and the enlargement priority set for each GUI component, the GUI component display / non-display control and the gap are filled. I can only do that. On the other hand, according to the first embodiment, as described above, adjustment by layout change such as movement of GUI parts can also be handled.

さらに、GUI部品のレイアウトに関するプロパティ単位でプリファレンスを設定することで、レイアウト調整の際にレイアウト作成者の意図を反映させることができる。例えば、プリファレンス値によってGUI部品の位置とサイズのどちらを変更するのがよいか判定することができ、レイアウト作成者の意図に沿ったレイアウト調整が可能である。   Furthermore, by setting preferences in units of properties related to the layout of GUI parts, the intention of the layout creator can be reflected at the time of layout adjustment. For example, it is possible to determine which of the GUI component position and size should be changed based on the preference value, and layout adjustment in accordance with the layout creator's intention is possible.

実施の形態2.
上記実施の形態1ではレイアウト定義中に設定したガイドというプロパティにより複数のGUI部品をグループとしてレイアウトする処理を示したが、本実施の形態2は、基準点というプロパティを設け、これによって一列に並んでいるGUI部品群を表現するものである。
Embodiment 2. FIG.
In the first embodiment, the process of laying out a plurality of GUI parts as a group by the property called guide set during the layout definition has been shown. However, in the second embodiment, a property called a reference point is provided, and this is arranged in a line. The GUI component group is expressed.

本実施の形態2は、上記実施の形態1と基本的な構成自体は同一であるが、レイアウト定義102に基準点というプロパティを設け、これに応じてレイアウトデータ生成部109により本実施の形態2に特有な処理がなされる。具体的には、レイアウトデータ生成部109による画面サイズを考慮した調整処理、この画面サイズを考慮した調整処理における移動距離決定処理が上記実施の形態1と異なる。   Although the basic configuration of the second embodiment is the same as that of the first embodiment, a property called a reference point is provided in the layout definition 102, and the layout data generation unit 109 responds accordingly to the second embodiment. Processing specific to is performed. Specifically, the adjustment processing in consideration of the screen size by the layout data generation unit 109 and the movement distance determination processing in the adjustment processing in consideration of this screen size are different from those in the first embodiment.

図16は、この発明の実施の形態2によるレイアウト装置のレイアウト定義の一例を示す図であり、上記実施の形態1で示した図3中のレイアウト定義102のプロパティ部105に基準点1601を追加したものである。なお、レイアウト定義102において、基準点1601にも対応するプリファレンス部106を設けて、プリファレンスの指定が可能である。   FIG. 16 is a diagram showing an example of the layout definition of the layout apparatus according to the second embodiment of the present invention. A reference point 1601 is added to the property section 105 of the layout definition 102 in FIG. 3 shown in the first embodiment. It is a thing. In the layout definition 102, the preference unit 106 corresponding to the reference point 1601 can be provided to specify the preference.

また、GUI部品は矩形状の枠で規定されており、その左上、上端中央、右上、左端中央、右端中央、左下、下端中央、右下に8つの基準点候補がある。本実施の形態では、これら基準点候補のうちからそのGUI部品の基準点を決定する。そして、複数のGUI部品の基準点が一列に並んでいるもの、即ち複数のGUI部品が横に並ぶ場合には基準点のx座標が同じものを、縦に並ぶ場合には基準点のy座標が同じものを、列をなしているGUI部品群とみなす。   The GUI component is defined by a rectangular frame, and there are eight reference point candidates at the upper left, upper center, upper right, left end center, right end center, lower left, lower end center, and lower right. In this embodiment, the reference point of the GUI part is determined from these reference point candidates. The reference points of a plurality of GUI parts are arranged in a line, that is, when the plurality of GUI parts are arranged horizontally, the reference point has the same x-coordinate. Are regarded as a group of GUI parts arranged in a row.

図17は、上述した基準点を用いてGUI部品を列に配置した例を示す図である。図17において、GUI部品1701は左上に基準点1704を持ち、GUI部品1702は左下に基準点1705を持ち、GUI部品1703は左端中央に基準点1706を持つ。なお、破線1707は、説明の便宜上記載したものであり、レイアウト作成者が配置したGUI部品ではなく、実際の画面には表示されない。   FIG. 17 is a diagram illustrating an example in which GUI parts are arranged in a row using the reference points described above. In FIG. 17, the GUI component 1701 has a reference point 1704 at the upper left, the GUI component 1702 has a reference point 1705 at the lower left, and the GUI component 1703 has a reference point 1706 at the center of the left end. The broken line 1707 is described for convenience of explanation, and is not a GUI component arranged by the layout creator, and is not displayed on the actual screen.

図17に示すように、各GUI部品1701〜1703の基準点1704〜1706は、破線1707上に位置している。つまり、GUI部品1701〜1703は、列をなしているGUI部品群である。このように、レイアウト上、複数のGUI部品が一列に並んでいるGUI部品群に対して、GUI部品のどこを基準として並んでいるのか、より厳密に定義できる。さらに、基準点のプリファレンスにより、列をなすGUI部品群中で最も重要で基準となるGUI部品を表現することが可能となり、より自由なレイアウトが可能になる。   As shown in FIG. 17, the reference points 1704 to 1706 of the GUI parts 1701 to 1703 are located on the broken line 1707. That is, the GUI parts 1701 to 1703 are a GUI part group in a row. In this way, it is possible to more precisely define where the GUI parts are arranged on the basis of the GUI parts group in which a plurality of GUI parts are arranged in a line in the layout. Further, the preference of the reference point makes it possible to represent the GUI component that is the most important and reference in the GUI component group in a row, thereby enabling a more flexible layout.

この基準点のプロパティを用いて、プリファレンス計算部110が、移動距離決定処理中で移動させるGUI部品を決定する。この場合の処理は、上記実施の形態1における、画面サイズを考慮した調整処理及び移動距離決定処理を、後述するように変更することで実現できる。   Using the property of the reference point, the preference calculation unit 110 determines a GUI component to be moved during the movement distance determination process. The process in this case can be realized by changing the adjustment process and the moving distance determination process in consideration of the screen size in the first embodiment as described later.

次に動作について説明する。
図18は、実施の形態2によるレイアウト装置の画面サイズを考慮した調整処理(横)を示すフローチャートである。図18において、ステップST301からステップST306までの処理は、上記実施の形態1と同様である。
ステップST701で、レイアウトデータ生成部109は、基準となるGUI部品をGmaxとし、GUI部品c0をGmaxの初期値に設定する。なお、基準となるGUI部品とは、移動距離決定処理において、画面に収まりきらないと判定されない限り移動させないGUI部品を指す。
Next, the operation will be described.
FIG. 18 is a flowchart showing adjustment processing (horizontal) in consideration of the screen size of the layout apparatus according to the second embodiment. In FIG. 18, the processing from step ST301 to step ST306 is the same as that in the first embodiment.
In step ST701, the layout data generation unit 109 sets the reference GUI component as Gmax, and sets the GUI component c0 to the initial value of Gmax. Note that the reference GUI component refers to a GUI component that is not moved unless it is determined that it does not fit on the screen in the movement distance determination process.

ステップST701に続き、本実施の形態2に特有の移動距離決定処理が実行される。
図19は、実施の形態2によるレイアウト装置の移動距離決定処理を示すフローチャートである。図19において、ステップST401からステップST409まで、ステップST412、ステップST413の処理は、上記実施の形態1と同様である。
Subsequent to step ST701, a movement distance determination process unique to the second embodiment is executed.
FIG. 19 is a flowchart showing the movement distance determination process of the layout device according to the second embodiment. In FIG. 19, from step ST401 to step ST409, the processing of step ST412 and step ST413 is the same as that of the first embodiment.

ステップST406、ステップST407、ステップST409の処理で追加移動距離d2の値を設定すると、レイアウトデータ生成部109は、GUI部品が画面内に収まらなかったことを示す値を設定するflagが0であるか否かを判定する(ステップST801)。   When the value of the additional movement distance d2 is set in the processing of step ST406, step ST407, and step ST409, the layout data generation unit 109 sets whether a flag for setting a value indicating that the GUI component does not fit in the screen is 0. It is determined whether or not (step ST801).

ステップST801でflagの値が0であれば、レイアウトデータ生成部109は、Gmaxと、これの移動により影響を受けるGUI部品c’を、調査対象のGUI部品のリストであるLISTに登録すると共に、変更する候補となるプロパティのリストであるPLISTにそれらの基準点を登録する(ステップST802)。このあと、レイアウトデータ生成部109は、プリファレンス計算部110に対して、レイアウトデータ、LIST及びPLISTを送出する。   If the value of the flag is 0 in step ST801, the layout data generation unit 109 registers Gmax and the GUI component c ′ affected by the movement thereof in the LIST that is a list of GUI components to be investigated, and Those reference points are registered in PLIST which is a list of properties to be changed (step ST802). Thereafter, the layout data generation unit 109 sends layout data, LIST, and PLIST to the preference calculation unit 110.

プリファレンス計算部110は、得られたデータからプリファレンス値による計算を行い、LIST中のどのGUI部品に対し、PLIST中のどのプロパティを変更して調整を行うのかを決定する(ステップST803)。そして、プロパティを変更するGUI部品のリストであるCLISTと、CLIST中のGUI部品の変更するプロパティPと、CLIST中の各GUI部品のプロパティPに対応するスコアのリストであるSLISTとをまとめた情報を生成してレイアウトデータ生成部109に返信する。   The preference calculation unit 110 performs calculation based on the preference value from the obtained data, and determines which property in the PLIST is to be changed and adjusted for which GUI component in the LIST (step ST803). Information that summarizes a CLIST that is a list of GUI parts whose properties are to be changed, a property P that is changed in the GUI parts in the CLIST, and a SLIST that is a list of scores corresponding to the properties P of the GUI parts in the CLIST. Is sent back to the layout data generation unit 109.

レイアウトデータ生成部109は、プリファレンス計算処理で求められたCLIST中にGmaxが含まれていないかを判定する(ステップST804)。このとき、Gmaxが含まれていなければ、GUI部品c’を移動させることを考え、移動距離決定処理(c’,d+d2)を再帰的に実行する(ステップST410)。これにより決定されたMov[c’]を用いて、レイアウトデータ生成部109は、ステップST411で移動距離Mov[c]に(Mov[c’]−d2)を代入し、移動距離決定処理を終了する。   The layout data generation unit 109 determines whether Gmax is included in the CLIST obtained by the preference calculation process (step ST804). At this time, if Gmax is not included, it is considered that the GUI component c ′ is moved, and the moving distance determination process (c ′, d + d2) is recursively executed (step ST410). Using Mov [c ′] determined in this way, layout data generation section 109 substitutes (Mov [c ′] − d2) for movement distance Mov [c] in step ST411, and ends the movement distance determination processing. To do.

一方、ステップST804でCLIST中にGmaxが含まれていると判定された場合、レイアウトデータ生成部109は、GUI部品c’を移動させることなく固定してGUI部品cの方を移動させることを考え、Mov[c]に−d2を代入(ステップST806)して、これまでと逆方向へ移動させる。   On the other hand, when it is determined in step ST804 that Gmax is included in the CLIST, the layout data generation unit 109 considers fixing the GUI part c ′ without moving it and moving the GUI part c. Then, -d2 is substituted into Mov [c] (step ST806) and moved in the reverse direction.

ステップST801でflagが0より大きい場合、GUI部品が画面に収まりきらない状態であり、移動可能な方向が限定される。このため、プリファレンス計算処理を行わず、GUI部品c’を移動させることを考え、ステップST410において移動距離決定処理(c’,d+d2)を再帰的に実行する。このあと、レイアウトデータ生成部109は、移動距離決定処理を終了する。   If the flag is larger than 0 in step ST801, the GUI component is not fit on the screen, and the movable direction is limited. Therefore, considering that the GUI component c ′ is moved without performing the preference calculation process, the movement distance determination process (c ′, d + d2) is recursively executed in step ST410. Thereafter, the layout data generation unit 109 ends the movement distance determination process.

図18のフローチャートに戻ると、ステップST308からステップST313までの処理は、上記実施の形態1と同様である。   Returning to the flowchart of FIG. 18, the processing from step ST308 to step ST313 is the same as that in the first embodiment.

以上のように、この実施の形態2によれば、基準点プロパティ、GUI部品の位置及びサイズのプロパティから、基準点の座標を算出し、基準点のx座標あるいはy座標が同一なGUI部品を一列に並んだGUI部品群として定義するので、一列に並んだGUI部品が、GUI部品のどの位置を揃えて並んでいるのかというところまで厳密に定義できる。また、一列に並んだGUI部品群に対して、基準点のプリファレンス値によって列の中で基準となるGUI部品を設定することができ、レイアウト調整の際に、基準となるGUI部品をなるべく移動させないでおくことができる。   As described above, according to the second embodiment, the coordinates of the reference point are calculated from the properties of the reference point property, the position and size of the GUI component, and GUI components having the same x coordinate or y coordinate of the reference point are calculated. Since it is defined as a group of GUI parts arranged in a line, it is possible to define exactly where GUI parts arranged in a line are arranged side by side. In addition, with respect to a group of GUI parts arranged in a line, a reference GUI part can be set in the line by the reference value of the reference point, and the reference GUI part is moved as much as possible during layout adjustment. You can leave it out.

なお、上記実施の形態2では、GUI部品の矩形状枠における、例えば左上の位置(x座標、y座標)、サイズ(幅、高さ)、及び、基準点プロパティに基づいて基準点の座標を算出してグループ化すべきGUI部品群を特定したが、レイアウト定義102中のプロパティ部105にGUI部品の位置として基準点の座標を格納しておき、この基準点の座標値と機種情報108とに基づいてGUI部品の左上の座標を算出し、これを用いてレイアウトデータ生成部109の処理を行うようにしてもよい。   In the second embodiment, the coordinates of the reference point are calculated based on, for example, the upper left position (x coordinate, y coordinate), size (width, height), and reference point property in the rectangular frame of the GUI part. Although the GUI component group to be calculated and grouped is specified, the coordinate of the reference point is stored as the position of the GUI component in the property part 105 in the layout definition 102, and the coordinate value of the reference point and the model information 108 are stored. The upper left coordinate of the GUI part may be calculated based on the result, and the layout data generation unit 109 may be processed using this.

これにより、レイアウト定義102の作成で基準点を揃えるにあたり、位置のプロパティの値を揃えるだけでよく、レイアウト定義の作成作業をより容易に行うことが可能になるという効果がある。また、基準点の算出の際に誤差も発生せず、確実に基準点を揃えることもできる。   Thereby, when aligning the reference points in creating the layout definition 102, it is only necessary to align the values of the position properties, and the layout definition can be created more easily. Further, no error occurs when calculating the reference points, and the reference points can be surely aligned.

実施の形態3.
本実施の形態3は、レイアウト定義におけるGUI部品のプロパティ値の全てを予め設定することなく、他のGUI部品のプロパティを参照して値を設定するようにしたものである。
Embodiment 3 FIG.
In the third embodiment, values are set by referring to properties of other GUI parts without setting all of the property values of the GUI parts in the layout definition in advance.

本実施の形態3は、上記実施の形態1と基本的な構成自体は同一であるが、レイアウト定義102及びこれを用いたレイアウトデータ生成部109の処理が異なる。具体的には、レイアウトデータ生成部109による画面サイズを考慮した調整処理、この画面サイズを考慮した調整処理における移動距離決定処理が上記実施の形態1と異なる。   Although the basic configuration of the third embodiment is the same as that of the first embodiment, the layout definition 102 and the processing of the layout data generation unit 109 using the layout definition 102 are different. Specifically, the adjustment processing in consideration of the screen size by the layout data generation unit 109 and the movement distance determination processing in the adjustment processing in consideration of this screen size are different from those in the first embodiment.

図20は、この発明の実施の形態3によるレイアウト装置のレイアウト定義の一例を示す図であり、上記実施の形態1で示した図3中のレイアウト定義102のプロパティ部105に参照2001,2002を設定可能としたものである。これら参照2001,2002を表す「ID[0]」は、「IDが0であるGUI部品の同じプロパティを参照する」ということを意味する。これによって、異なるGUI部品のプロパティに対しても同じ座標や、同じサイズを容易に設定することができる。   FIG. 20 is a diagram showing an example of the layout definition of the layout device according to the third embodiment of the present invention. References 2001 and 2002 are added to the property section 105 of the layout definition 102 in FIG. 3 shown in the first embodiment. It can be set. “ID [0]” representing these references 2001 and 2002 means “refers to the same property of the GUI component whose ID is 0”. As a result, the same coordinates and the same size can be easily set for the properties of different GUI parts.

次に動作について説明する。
図21は、実施の形態3によるレイアウト装置の画面サイズを考慮した調整処理(横)を示すフローチャートである。図21において、ステップST301からステップST306までの処理は、上記実施の形態1と同様である。
Next, the operation will be described.
FIG. 21 is a flowchart showing adjustment processing (horizontal) in consideration of the screen size of the layout apparatus according to the third embodiment. In FIG. 21, the processing from step ST301 to step ST306 is the same as that in the first embodiment.

ステップST901で、レイアウトデータ生成部109は、移動距離決定処理の初期値設定の際、レイアウト定義102における参照を読み出して、GUI部品c0のプロパティを参照している値に更新する。この処理で、参照しているGUI部品のプロパティの値が変更されていた場合、それに合わせることができる。このあとのステップST307からステップST313までの処理も、上記実施の形態1と同様である。   In step ST901, the layout data generation unit 109 reads the reference in the layout definition 102 and updates it to a value referring to the property of the GUI component c0 when setting the initial value of the movement distance determination process. In this process, if the property value of the GUI component being referred to has been changed, it can be adjusted accordingly. The subsequent processing from step ST307 to step ST313 is the same as that in the first embodiment.

以上のように、この実施の形態3によれば、参照しているGUI部品のプロパティの値が変更されていた場合であっても、変更後の値に容易に合わせることができる。例えば、いくつかのGUI部品の幅を揃えるという指定が容易にでき、さらに自由なレイアウト作成が可能となる。   As described above, according to the third embodiment, even if the property value of the GUI component being referred to is changed, it can be easily adjusted to the changed value. For example, it is possible to easily specify that the widths of some GUI parts are aligned, and it is possible to create a more flexible layout.

実施の形態4.
図22は、この発明の実施の形態4によるレイアウト装置の構成を示すブロック図であり、図1と同一若しくはそれに相当する構成要素には同一符号を付してある。図において、本実施の形態4によるレイアウト装置は、スキン定義記憶部2201に保持したスキン定義2202を、レイアウト定義102及び機種情報108と合わせて読み込んで、表示装置111の画面に合わせたレイアウトを実行する。スキンとは、GUI部品を構成する基本的な表示部品に関する情報である。このスキンを切り替えることで、GUI部品で実現するアプリケーションソフトの表示の外観を様々に変更することができる。このスキン定義2202及びスキン定義記憶部2201は、それぞれレイアウトを変更するための情報を定義したレイアウト変更定義及びその記憶部の一例である。なお、このレイアウト変更定義には、後述するユーザ情報も含まれるものとする。
Embodiment 4 FIG.
FIG. 22 is a block diagram showing a configuration of a layout apparatus according to Embodiment 4 of the present invention, and the same reference numerals are given to the same or corresponding components as those in FIG. In the figure, the layout device according to the fourth embodiment reads the skin definition 2202 held in the skin definition storage unit 2201 together with the layout definition 102 and the model information 108, and executes the layout according to the screen of the display device 111. To do. A skin is information regarding basic display components that constitute a GUI component. By switching the skin, the appearance of the display of application software realized by the GUI component can be changed variously. The skin definition 2202 and the skin definition storage unit 2201 are an example of a layout change definition that defines information for changing the layout and its storage unit. The layout change definition includes user information described later.

なお、スキンとアプリケーションソフトとは独立している。つまり、本発明におけるスキンは、どんなアプリケーションソフトによる表示がなされてもその見た目を反映する。また、アプリケーションソフト側では、レイアウトに対してどのようなスキンが適用されるかについて関知しない。   The skin and application software are independent. That is, the skin according to the present invention reflects the appearance of any application software. Also, the application software does not know what skin is applied to the layout.

また、スキン定義2202を保持するスキン定義記憶部2201は、上記実施の形態1で図2を用いて説明したコンピュータの記憶装置203であるハードディスクやRAMで具現化してもよい。また、本実施の形態4によるレイアウト装置との間でデータ通信が可能な他のコンピュータの記憶装置上にスキン定義記憶部2201を具現化し、データ通信によりスキン定義2202を取得するように構成してもよい。   The skin definition storage unit 2201 that holds the skin definition 2202 may be embodied by a hard disk or RAM that is the storage device 203 of the computer described with reference to FIG. 2 in the first embodiment. Further, the skin definition storage unit 2201 is embodied on a storage device of another computer capable of data communication with the layout device according to the fourth embodiment, and the skin definition 2202 is acquired by data communication. Also good.

スキン定義2202は、上述したスキンの情報を定義した情報であり、スキンGUI部品部2203及びデコレーション部2207が設定される。また、スキンGUI部品部2203には、スキンGUI部品情報2204としてスキンプロパティ部(レイアウト変更プロパティ部)2205及びスキンプリファレンス部(レイアウト変更プリファレンス部)2206が設定される。スキンプロパティ部2205には、スキンが適用された際に付加されるGUI部品であるスキンGUI部品のプロパティが保持される。スキンプリファレンス部2206は、各スキンGUI部品のプロパティに対するプリファレンス値が設定される。   The skin definition 2202 is information defining the above-described skin information, and a skin GUI component part 2203 and a decoration part 2207 are set. Also, a skin property part (layout change property part) 2205 and a skin preference part (layout change preference part) 2206 are set as the skin GUI part information 2204 in the skin GUI part part 2203. The skin property part 2205 holds properties of a skin GUI part that is a GUI part added when a skin is applied. The skin preference unit 2206 sets preference values for the properties of each skin GUI component.

デコレーション部2207には、デコレーションプロパティ部(レイアウト変更プロパティ部)2208及びデコレーションプリファレンス部(レイアウト変更プリファレンス部)2209が設定される。デコレーションプロパティ部2208は、デコレーションのプロパティを保持する。デコレーションプリファレンス部2209には、デコレーションのプロパティに対応するプリファレンス値を保持する。なお、デコレーションとは、GUI部品を構成する基本的な表示部品に関する情報であるスキンのうち、前記表示部品を装飾する情報である。例えば、GUI部品の縁取りを想定し、GUI部品の種類ごとにGUI部品の上下左右の縁のサイズを定義している。   A decoration property part (layout change property part) 2208 and a decoration preference part (layout change preference part) 2209 are set in the decoration part 2207. The decoration property unit 2208 holds decoration properties. The decoration preference unit 2209 holds preference values corresponding to decoration properties. The decoration is information for decorating the display component among skins that are information on basic display components constituting the GUI component. For example, assuming the edge of the GUI part, the size of the upper, lower, left and right edges of the GUI part is defined for each type of GUI part.

図23は、図22中のレイアウト装置のスキン定義の一例を示す図である。図に示すように、スキンGUI部品部2203には、スキンGUI部品毎にスキンプロパティ部2205及びスキンプリファレンス部2206が設けられており、デコレーション部2207には、GUI部品の種類毎にデコレーションプロパティ部2208及びデコレーションプリファレンス部2209が設けられている。図示の例では、デコレーション部2207において、ラベル及びアンカーというGUI部品に対して0値が設定されてデコレーションされないことが定義されており、ボタンやテキストボックスというGUI部品についてはデコレーションされることを示している。   FIG. 23 is a diagram showing an example of the skin definition of the layout device in FIG. As shown in the figure, the skin GUI component part 2203 is provided with a skin property part 2205 and a skin preference part 2206 for each skin GUI part, and the decoration part 2207 has a decoration property part for each type of GUI part. 2208 and a decoration preference unit 2209 are provided. In the example shown in the figure, the decoration unit 2207 defines that the label and anchor GUI parts are set to 0 and not decorated, and the GUI parts such as buttons and text boxes are decorated. Yes.

また、図23では、デコレーションのプロパティを縁取りのサイズのみとしているが、デコレーションとして表示する画像の名称等も指定できるようにしてもよい。スキンプロパティ部2205及びデコレーションプロパティ部2208は、レイアウト変更手段であるレイアウト変更プロパティの一例である。スキンプリファレンス部2206及びデコレーションプリファレンス部2209は、レイアウト変更プロパティのプリファレンス値を保持するレイアウト変更プリファレンス部の一例である。   In FIG. 23, the decoration property is only the size of the border, but the name of the image to be displayed as the decoration may be specified. A skin property part 2205 and a decoration property part 2208 are examples of layout change properties that are layout change means. The skin preference unit 2206 and the decoration preference unit 2209 are examples of a layout change preference unit that holds preference values of layout change properties.

本実施の形態4によるレイアウトデータ生成部109は、レイアウト定義102、機種情報108、スキン定義2202に基づいてレイアウトデータを生成する。具体的には、図6中のレイアウトデータ生成処理における、ステップST101の初期レイアウトデータ生成処理を変更して、レイアウト定義102に含まれるGUI部品に加え、スキン定義2202のスキンGUI部品があれば、それもレイアウトデータに追加される。なお、スキンGUI部品はGUI部品と同様に扱われ、スキンプロパティ及びスキンプリファレンスがGUI部品のプロパティ及びプリファレンスと同様の役割を果たす。   The layout data generation unit 109 according to the fourth embodiment generates layout data based on the layout definition 102, the model information 108, and the skin definition 2202. Specifically, in the layout data generation process in FIG. 6, if the initial layout data generation process in step ST101 is changed and there is a skin GUI part of the skin definition 2202 in addition to the GUI part included in the layout definition 102, It is also added to the layout data. The skin GUI component is handled in the same manner as the GUI component, and the skin property and skin preference play the same role as the property and preference of the GUI component.

図24は、図23中のスキン定義に設定されるスキンを使用したレイアウト画面の例を示す図であり、(a)はスキンを適用する前のレイアウトを示し、(b)はスキンを適用したレイアウトでGUI部品の表示に重畳が生じている場合を示し、(c)は(b)における重畳を解消したレイアウトを示している。各GUI部品は、機種情報108のマージンの分だけサイズが大きくなるが、図24(a)に示すような装飾のないレイアウトに対してスキンを適用すると、GUI部品全体のサイズがさらに大きくなり、図24(b)のようにGUI部品の表示に重畳が生じる。   FIG. 24 is a diagram showing an example of a layout screen using the skin set in the skin definition in FIG. 23, (a) shows the layout before applying the skin, and (b) shows the skin applied. A case in which the overlay of the GUI component is generated in the layout is shown, and (c) shows a layout in which the superposition in (b) is eliminated. Each GUI component increases in size by the margin of the model information 108. However, if a skin is applied to a layout without decoration as shown in FIG. 24A, the size of the entire GUI component is further increased. As shown in FIG. 24B, superimposition occurs in the display of the GUI component.

例えば、図24(b)に斜線部で示すようにGUI部品にデコレーションとしての縁取りa,bができ、スキン定義2202のデコレーション部2207に指定されたサイズだけGUI部品全体のサイズが大きくなる。そこで、本実施の形態4では、上記実施の形態1と同様の方法でこの重畳を除去すべく調整を行うことにより、図24(c)に示すように重畳のないレイアウトとすることができる。この重畳の除去のため、本実施の形態4では、上記実施の形態1で説明したプリファレンス計算処理及びプリファレンス計算結果による調整処理の内容を変更している。   For example, as shown by the hatched portion in FIG. 24B, borders a and b as decorations can be made on the GUI part, and the size of the entire GUI part becomes larger by the size specified in the decoration part 2207 of the skin definition 2202. Therefore, in the fourth embodiment, by adjusting to remove this superposition by the same method as in the first embodiment, a layout without superposition can be obtained as shown in FIG. In order to remove this superposition, in the fourth embodiment, the contents of the preference calculation process and the adjustment process based on the preference calculation result described in the first embodiment are changed.

図25は、この実施の形態4によるレイアウト装置のプリファレンス計算処理の流れを示すフローチャートである。ここで、変更候補のプロパティのリストであるPLISTには、上記実施の形態1で示した4つのプロパティ(可視性、サイズ、位置、横方向のガイド)に加え、スキンにおけるデコレーションが登録される。これにより、図中のステップST601で、PLISTのサイズは1より大きくなり、ステップST1001の処理に移行する。   FIG. 25 is a flowchart showing the flow of preference calculation processing of the layout apparatus according to the fourth embodiment. Here, in the PLIST that is a list of change candidate properties, in addition to the four properties (visibility, size, position, and horizontal guide) shown in the first embodiment, decorations in the skin are registered. Thereby, in step ST601 in the figure, the size of the PLIST becomes larger than 1, and the process proceeds to step ST1001.

プリファレンス計算部110は、上記実施の形態1で示したPv、Ps、Pp、Plに加え、デコレーションのプロパティに対するスコアPdとして、GUI部品のリストであるLIST中に含まれる、デコレーションされているGUI部品に対応するデコレーションのプリファレンス値の最小値を設定する(ステップST1001)。このとき、LIST中にデコレーションされているGUI部品が存在しなければ、Pdの値を(プリファレンスの上限値+1)に設定する。   In addition to Pv, Ps, Pp, and Pl shown in the first embodiment, the preference calculation unit 110 uses a decorated GUI included in a LIST that is a list of GUI parts as a score Pd for a decoration property. The minimum value of the decoration preference value corresponding to the part is set (step ST1001). At this time, if there is no GUI component decorated in the LIST, the value of Pd is set to (preference upper limit value + 1).

次に、プリファレンス計算部110は、Pv、Ps、Pp、Pl、Pdをそれぞれ比較して、Pvが最小であるか否かを判定する(ステップST1002)。このとき、Pvが最小であれば、可視性のプリファレンス値が最小のGUI部品をCLISTに登録し、その変更するプロパティPを可視性に設定する。そして、CLIST中の各GUI部品の可視性のプリファレンス値をスコアとしてSLISTに登録する(ステップST608)。   Next, preference calculation section 110 compares Pv, Ps, Pp, Pl, and Pd, respectively, and determines whether or not Pv is the minimum (step ST1002). At this time, if Pv is minimum, the GUI component having the minimum visibility preference value is registered in the CLIST, and the property P to be changed is set to visibility. Then, the visibility preference value of each GUI component in the CLIST is registered as a score in the SLIST (step ST608).

ステップST605でPvが最小でない場合、プリファレンス計算部110は、Pv、Ps、Pp、Pl、Pdをそれぞれ比較して、Pdが最小であるか否かを判定する(ステップST1003)。このとき、Pdが最小であれば、Pdをプリファレンス値として持つデコレーションの対象となるLIST中のGUI部品を、変更するGUI部品のリストであるCLISTに登録し、その変更するプロパティPをデコレーションに設定する。そして、CLIST中の各GUI部品に適用されるデコレーションのプリファレンス値をSLISTに登録する(ステップST1006)。   When Pv is not the minimum in step ST605, preference calculation section 110 compares Pv, Ps, Pp, Pl, and Pd, respectively, and determines whether or not Pd is the minimum (step ST1003). At this time, if Pd is minimum, the GUI component in the LIST to be decorated with Pd as a preference value is registered in the LIST which is a list of GUI components to be changed, and the property P to be changed is set as a decoration. Set. And the preference value of the decoration applied to each GUI part in CLIST is registered into SLIST (step ST1006).

ステップST1003でPdが最小でない場合、プリファレンス計算部110は、Pv、Ps、Pp、Pl、Pdをそれぞれ比較して、Psが最小であるか否かを判定する(ステップST1004)。このとき、Psが最小であれば、ステップST609に進んで、Psを求める際に用いたGUI部品のリストをCLISTに登録し、変更するプロパティPをサイズに設定する。そして、CLIST中の各GUI部品のサイズのプリファレンス値をスコアとしてSLISTに登録する。   When Pd is not the minimum in step ST1003, preference calculation section 110 compares Pv, Ps, Pp, Pl, and Pd, respectively, and determines whether or not Ps is the minimum (step ST1004). At this time, if Ps is minimum, the process proceeds to step ST609, where a list of GUI parts used for obtaining Ps is registered in CLIST, and the property P to be changed is set to size. Then, the preference value of the size of each GUI component in the CLIST is registered as a score in the SLIST.

ステップST1004でPsが最小でない場合、プリファレンス計算部110は、Pv、Ps、Pp、Pl、Pdをそれぞれ比較して、Ppが最小であるか否かを判定する(ステップST1005)。このとき、Ppが最小であれば、ステップST610に進んで、Ppを持つGUI部品、つまり位置のプリファレンス値が最小のGUI部品をCLISTに登録し、変更するプロパティPを位置に設定する。そして、CLIST中の各GUI部品の位置のプリファレンス値をスコアとしてSLISTに登録する。   When Ps is not the minimum in step ST1004, preference calculation section 110 compares Pv, Ps, Pp, Pl, and Pd, respectively, and determines whether or not Pp is the minimum (step ST1005). At this time, if Pp is minimum, the process proceeds to step ST610, where the GUI part having Pp, that is, the GUI part having the minimum position preference value is registered in CLIST, and the property P to be changed is set in the position. Then, the preference value at the position of each GUI component in the CLIST is registered in the SLIST as a score.

一方、ステップST1004でPpが最小でない、つまりPlが最小である場合、プリファレンス計算部110は、Plを持つGUI部品、つまり横方向のガイドのプリファレンス値が最小のGUI部品をCLISTに登録し、変更するプロパティPを横方向のガイドに設定する。そして、CLIST中の各GUI部品の横方向のガイドのプリファレンス値をスコアとしてSLISTに登録する(ステップST611)。   On the other hand, if Pp is not the minimum in step ST1004, that is, Pl is the minimum, the preference calculation unit 110 registers the GUI component having Pl, that is, the GUI component having the minimum lateral guide preference value, in the CLIST. The property P to be changed is set in the horizontal guide. Then, the preference value of the guide in the horizontal direction of each GUI component in the CLIST is registered in the SLIST as a score (step ST611).

次に、本実施の形態4によるプリファレンス計算結果による調整処理を説明する。
図26は、実施の形態4によるレイアウト装置のプリファレンス計算結果による調整処理(横)を示すフローチャートである。図示の処理では、上記実施の形態1で説明したプリファレンス計算結果による調整処理に加え、ステップST1101で変更するプロパティPがデコレーションであると判定された場合、ステップST1102でCLIST中のGUI部品のデコレーションを消去する。これらの処理によって、図24(c)のようにデコレーション間での表示の重畳がないレイアウトがなされる。
Next, adjustment processing based on preference calculation results according to the fourth embodiment will be described.
FIG. 26 is a flowchart showing adjustment processing (horizontal) based on preference calculation results of the layout device according to the fourth embodiment. In the illustrated process, in addition to the adjustment process based on the preference calculation result described in the first embodiment, if it is determined in step ST1101 that the property P to be changed is a decoration, the decoration of the GUI component in the CLIST in step ST1102 Erase. By these processes, a layout without display overlap between decorations is made as shown in FIG.

先ず、レイアウトデータ生成部109は、変更すべきプロパティPが可視性であるか否かを判定する(ステップST501)。このとき、プロパティPが可視性であれば、CLIST中のGUI部品を非表示に設定する(ステップST504)。プロパティPが可視性でなければ、ステップST1102に進み、変更すべきプロパティPがデコレーションであるか否かを判定する。   First, the layout data generation unit 109 determines whether or not the property P to be changed is visibility (step ST501). At this time, if the property P is visibility, the GUI component in the CLIST is set to non-display (step ST504). If the property P is not visible, the process proceeds to step ST1102, and it is determined whether or not the property P to be changed is a decoration.

ここで、プロパティPがデコレーションであれば、レイアウトデータ生成部109は、CLIST中のGUI部品のデコレーションを消去する(ステップST1102)。また、ステップST1101でプロパティPがデコレーションでないと判定されれば、ステップST503の処理に進む。以降の処理は、上記実施の形態1で図14を用いて説明した内容と同様である。   Here, if the property P is a decoration, the layout data generation unit 109 deletes the decoration of the GUI component in the CLIST (step ST1102). If it is determined in step ST1101 that the property P is not a decoration, the process proceeds to step ST503. Subsequent processing is the same as that described with reference to FIG. 14 in the first embodiment.

以上のように、この実施の形態4によれば、アプリケーションソフトとは独立してスキンを定義し、スキンにおいても各プロパティに対するプリファレンスを設定することで、スキンを適用した際にもプリファレンス値に基づいてレイアウトを調整できる。   As described above, according to the fourth embodiment, the skin is defined independently from the application software, and the preference value is set even when the skin is applied by setting the preference for each property in the skin. You can adjust the layout based on

なお、従来のスキンを用いたレイアウト処理、例えばiモード(登録商標)におけるアプリケーションエミュレータで用いられるスキンを変更するには、下記の参照文献にもあるように、ボタンの位置等を全て手作業で変更する必要があった。
参照文献、「はじめてのiモードJava(登録商標)プログラミング」:ISBN4−8222−8086−1、pp66〜69、日経BP社、2001年
In addition, in order to change the skin used in an application emulator in the i-mode (registered trademark), for example, layout processing using a conventional skin, all the button positions and the like are manually operated as described in the following references. There was a need to change.
Reference, “First i-mode Java (registered trademark) programming”: ISBN 4-8222-8086-1, pp 66-69, Nikkei Business Publications, 2001

また、WebブラウザであるOpera(登録商標)でもスキンが使用されるが、下記のURLでインターネット上で開示されるように、GUI部品を任意の位置に配置するようなことはできず、自由なレイアウトに対応していない。
http://my.opera.com/community/dev/skin/
The skin is also used in the Web browser Opera (registered trademark), but as disclosed on the Internet at the following URL, the GUI component cannot be placed at an arbitrary position and is free. Does not support layout.
http: // my. opera. com / community / dev / skin /

これらに対して、上記実施の形態4では、上述したようにスキンに対しても各プロパティとそのプリファレンスを設定し、このプリファレンス値に基づいて最適な調整方法を選択して自動的にレイアウトが調整されることから、自由なレイアウトを行い、スキンを適用した環境においても、本実施の形態4を適用した装置の機種毎の画面に合わせて動的にレイアウトを調整することが可能である。   In contrast, in the fourth embodiment, as described above, each property and its preference are also set for the skin, and an optimum adjustment method is selected based on this preference value, and the layout is automatically set. Therefore, even in an environment where a free layout is performed and a skin is applied, it is possible to dynamically adjust the layout according to the screen for each model of the device to which the fourth embodiment is applied. .

また、上記実施の形態4とは別に、スキン定義に色のプロパティと、そのプリファレンスを設定可能であってもよい。例えば、デコレーションのプロパティとして、色のプロパティ及びそのプリファレンス値を設定し、デコレーションされるGUI部品にも色のプロパティ及びそのプリファレンス値を設定する。   In addition to the fourth embodiment, color properties and preferences may be set in the skin definition. For example, a color property and its preference value are set as decoration properties, and a color property and its preference value are also set for the GUI component to be decorated.

この場合、図6中のステップST101における初期レイアウトデータ生成処理で、LISTにそのGUI部品と、デコレーションをGUI部品とみなして登録し、PLISTには色のプロパティを登録して、プリファレンス計算処理を行い、LIST中からプリファレンス値の小さい方に対応するGUI部品若しくはデコレーションをCLISTに登録する。これにより、LISTに登録したGUI部品及びデコレーションのうち、CLISTに登録されている方の色のプロパティを却下し、登録されていない方の色のプロパティをGUI部品の色に設定することができる。   In this case, in the initial layout data generation processing in step ST101 in FIG. 6, the GUI component and the decoration are registered and registered as a GUI component in LIST, the color property is registered in PLIST, and the preference calculation processing is performed. The GUI component or decoration corresponding to the one with the smaller preference value from the LIST is registered in the CLIST. Thereby, among the GUI parts and decorations registered in the LIST, the color property of the one registered in the LIST can be rejected, and the property of the color not registered can be set as the color of the GUI part.

実施の形態5.
図27は、この発明の実施の形態5によるレイアウト装置の構成を示すブロック図であり、図1と同一若しくはそれに相当する構成要素には同一符号を付してある。図において、本実施の形態5によるレイアウト装置は、表示内容定義記憶部2701に保持した表示内容定義2702を、レイアウト定義102及び機種情報108と合わせて読み込んで、表示装置111の画面に合わせたレイアウトを実行する。なお、表示内容定義2702及び表示内容定義記憶部2701は、それぞれレイアウトを変更するための情報を定義したレイアウト変更定義及びその記憶部の一例である。
Embodiment 5. FIG.
FIG. 27 is a block diagram showing the configuration of the layout apparatus according to the fifth embodiment of the present invention. Components identical or equivalent to those in FIG. 1 are given the same reference numerals. In the figure, the layout device according to the fifth embodiment reads the display content definition 2702 held in the display content definition storage unit 2701 together with the layout definition 102 and the model information 108, and lays out the layout according to the screen of the display device 111. Execute. The display content definition 2702 and the display content definition storage unit 2701 are examples of a layout change definition that defines information for changing the layout and the storage unit thereof.

表示内容定義2702には、表示内容部2703(レイアウト変更プロパティ部)及び表示内容プリファレンス部(レイアウト変更プリファレンス部)2704が設定される。表示内容部2703には、GUI部品上に表示する表示内容と、その表示内容を表示するGUI部品の名前が設定される。表示内容プリファレンス部2704には、表示内容の重要度を表すプリファレンス値が設定される。なお、本発明での表示内容とは、GUI部品中に表示させる情報内容をいい、テキストや画像などで具現化される。また、表示内容はプロパティであり、対応するGUI部品の同名のプロパティを設定する。   In the display content definition 2702, a display content part 2703 (layout change property part) and a display content preference part (layout change preference part) 2704 are set. In the display content part 2703, the display content to be displayed on the GUI component and the name of the GUI component for displaying the display content are set. In the display content preference unit 2704, a preference value indicating the importance of the display content is set. Note that the display content in the present invention refers to information content to be displayed in a GUI component, and is embodied as text or an image. The display content is a property, and a property with the same name of the corresponding GUI component is set.

また、表示内容定義2702を保持する表示内容定義記憶部2701は、上記実施の形態1で図2を用いて説明したコンピュータの記憶装置203であるハードディスクやRAMで具現化してもよい。また、本実施の形態5によるレイアウト装置との間でデータ通信が可能な他のコンピュータの記憶装置上に表示内容定義記憶部2701を具現化し、データ通信により表示内容定義2702を取得するように構成してもよい。   The display content definition storage unit 2701 that holds the display content definition 2702 may be embodied by a hard disk or RAM that is the storage device 203 of the computer described in Embodiment 1 with reference to FIG. Further, the display content definition storage unit 2701 is embodied on a storage device of another computer capable of data communication with the layout device according to the fifth embodiment, and the display content definition 2702 is acquired by data communication. May be.

次に動作について説明する。
ここでは、上記実施の形態1で説明した図6のフローチャートを用いて、本実施の形態5と上記実施の形態1と相違する処理について説明する。
先ず、本実施の形態5によるレイアウトデータ生成部109は、図6中のステップST101で初期レイアウトデータ生成処理を実行する。ここで、レイアウトデータ生成部109は、表示内容定義記憶部2701から表示内容定義2702を読み出し、さらに表示内容定義2702の表示内容部2703に設定されるGUI部品の名前を抽出する。この後、抽出した名前に対応するGUI部品を特定して、これに対応するレイアウトデータにおけるGUI部品に対して、表示内容定義2702の表示内容部2703から読み出した表示内容を設定する。例えば、GUI部品に表示されるテキストを表示内容定義2702によって設定する場合、表示内容部2703には、対象となるGUI部品の「名前」と、表示内容である「テキスト」のプロパティとが対になって設定されている。表示内容部2703の「名前」によって特定したGUI部品のテキストプロパティを表示内容部2703の「テキスト」に設定されている内容に変更する。
また、表示内容を設定するGUI部品を特定する際に、必ずしも名前を用いる必要はなく、ID等の他のプロパティを基に特定しても良い。
Next, the operation will be described.
Here, processing different from the fifth embodiment and the first embodiment will be described using the flowchart of FIG. 6 described in the first embodiment.
First, the layout data generation unit 109 according to the fifth embodiment executes initial layout data generation processing in step ST101 in FIG. Here, the layout data generation unit 109 reads the display content definition 2702 from the display content definition storage unit 2701 and further extracts the name of the GUI component set in the display content unit 2703 of the display content definition 2702. Thereafter, the GUI part corresponding to the extracted name is specified, and the display content read from the display content part 2703 of the display content definition 2702 is set for the GUI part in the layout data corresponding to the extracted name. For example, when the text displayed on the GUI component is set by the display content definition 2702, the display content portion 2703 includes a pair of the “name” of the target GUI component and the property “text” as the display content. Is set. The text property of the GUI component specified by “name” in the display content portion 2703 is changed to the content set in “text” in the display content portion 2703.
Further, when specifying a GUI component for setting display contents, it is not always necessary to use a name, and it may be specified based on another property such as an ID.

次に、レイアウトデータ生成部109は、レイアウトを調整する処理の前処理として、表示内容プリファレンス部2704から読み出した表示内容のプリファレンス値を用いてプリファレンス値を変更する。例えば、GUI部品のサイズのプリファレンス値と可視性のプリファレンス値のそれぞれに表示内容プリファレンス値を足して2で割る。これにより、表示内容があまり重要でない場合、サイズが縮小されやすくなり、非表示にもされやすくなる。逆に重要な表示内容である場合、サイズは縮小されにくく、非表示にもなりにくくなる。この後の処理は、上記実施の形態1と基本的に同様である。   Next, the layout data generation unit 109 changes the preference value using the display content preference value read from the display content preference unit 2704 as a pre-process for the process of adjusting the layout. For example, the display content preference value is added to each of the GUI component size preference value and the visibility preference value, and divided by two. As a result, when the display content is not so important, the size is easily reduced and the display content is not easily displayed. On the other hand, when the display contents are important, the size is difficult to be reduced and is not easily displayed. The subsequent processing is basically the same as that in the first embodiment.

また、本実施の形態5によるレイアウト装置によりレイアウトを調整して表示装置111で表示した後に、新たな表示内容定義2702を当該レイアウト装置に読み込む処理を設け、この新たな表示内容定義2702から再度設定したプリファレンス値を用いてレイアウトを再調整するか否かを決定するように構成してもよい。   Further, after the layout is adjusted by the layout device according to the fifth embodiment and displayed on the display device 111, a process for reading a new display content definition 2702 into the layout device is provided, and the new display content definition 2702 is set again. The preference value may be used to determine whether to readjust the layout.

以上のように、この実施の形態5によれば、GUI部品に表示させる表示内容の重要度に応じてそれが表示されるGUI部品のプリファレンス値を変更することで、レイアウト調整の際に表示内容の重要度も考慮した調整を行うことができる。   As described above, according to the fifth embodiment, the preference value of the GUI component on which it is displayed is changed according to the importance of the display content displayed on the GUI component, so that the display is performed at the time of layout adjustment. Adjustments can be made taking into account the importance of the content.

なお、上記実施の形態5では、表示内容定義記憶部2701に保持した内容を用いたレイアウトを実施する構成を上記実施の形態1に適用した例を示したが、上記実施の形態2から4までの構成に適用しても構わない。これにより、上記実施の形態5による効果に加えて上記実施の形態2から4で示した効果も得ることができる。   In the fifth embodiment, the configuration in which the layout using the content held in the display content definition storage unit 2701 is applied to the first embodiment has been described. However, the second to fourth embodiments are described. You may apply to the structure of. Thereby, in addition to the effect by the said Embodiment 5, the effect shown by the said Embodiment 2-4 can also be acquired.

実施の形態6.
図28は、この発明の実施の形態6によるレイアウト装置の構成を示すブロック図であり、図1と同一若しくはそれに相当する構成要素には同一符号を付してある。図において、本実施の形態6によるレイアウト装置は、ユーザ情報定義記憶部2801に保持したユーザ情報2802を、レイアウト定義102及び機種情報108と合わせて読み込んで、表示装置111の画面に合わせたレイアウトを実行する。また、ユーザ情報定義記憶部2801には、ユーザ情報2802が設定される。ユーザ情報2802とは、ユーザに関する情報であり、特にユーザに最も適した画面レイアウトに調整する上で参照されるユーザによる設定情報である。例えば、ユーザの年齢などがある。このユーザ情報2802及びユーザ情報定義記憶部2801は、それぞれレイアウトを変更するための情報を定義したレイアウト変更定義及びその記憶部の一例である。
Embodiment 6 FIG.
FIG. 28 is a block diagram showing a configuration of a layout apparatus according to Embodiment 6 of the present invention, and the same reference numerals are given to the same or corresponding components as those in FIG. In the figure, the layout device according to the sixth embodiment reads the user information 2802 held in the user information definition storage unit 2801 together with the layout definition 102 and the model information 108, and creates a layout according to the screen of the display device 111. Execute. User information 2802 is set in the user information definition storage unit 2801. The user information 2802 is information about the user, and is setting information by the user that is referred to when adjusting to a screen layout most suitable for the user. For example, there is the age of the user. The user information 2802 and the user information definition storage unit 2801 are an example of a layout change definition that defines information for changing the layout and its storage unit.

また、ユーザ情報2802を保持するユーザ情報定義記憶部2801は、上記実施の形態1で図2を用いて説明したコンピュータの記憶装置203であるハードディスクやRAMで具現化してもよい。また、本実施の形態6によるレイアウト装置との間でデータ通信が可能な他のコンピュータの記憶装置上にユーザ情報定義記憶部2801を具現化し、データ通信によりユーザ情報2802を取得するように構成してもよい。   Further, the user information definition storage unit 2801 that holds the user information 2802 may be embodied by a hard disk or RAM that is the storage device 203 of the computer described in Embodiment 1 with reference to FIG. Further, the user information definition storage unit 2801 is embodied on a storage device of another computer capable of data communication with the layout device according to the sixth embodiment, and the user information 2802 is obtained by data communication. May be.

さらに、ユーザ情報2802は、上記実施の形態1で図2を用いて説明したコンピュータのマウス205やキーボード206などの入力手段を利用してユーザ情報定義記憶部2801に設定してもよく、本実施の形態6によるレイアウト装置との間でデータ通信が可能な他のコンピュータからデータ通信によりユーザ情報2802を設定するように構成してもよい。   Furthermore, the user information 2802 may be set in the user information definition storage unit 2801 using the input means such as the mouse 205 and the keyboard 206 of the computer described in Embodiment 1 with reference to FIG. The user information 2802 may be set by data communication from another computer capable of data communication with the layout apparatus according to the sixth embodiment.

次に動作について説明する。
ここでは、上記実施の形態1で説明した図6のフローチャートを用いて、本実施の形態6と上記実施の形態1と相違する処理について説明する。
先ず、本実施の形態6によるレイアウトデータ生成部109は、図6中のステップST101で初期レイアウトデータ生成処理を実行する。ここで、レイアウトデータ生成部109は、ユーザ情報定義記憶部2801からユーザ情報2802を読み出し、ユーザ情報2802からレイアウト調整に必要な情報を抽出する。
Next, the operation will be described.
Here, processing different from the sixth embodiment and the first embodiment will be described using the flowchart of FIG. 6 described in the first embodiment.
First, the layout data generation unit 109 according to the sixth embodiment executes initial layout data generation processing in step ST101 in FIG. Here, the layout data generation unit 109 reads the user information 2802 from the user information definition storage unit 2801 and extracts information necessary for layout adjustment from the user information 2802.

次に、レイアウトデータ生成部109は、レイアウトを調整する処理の前処理として、ユーザ情報2802から抽出した内容に応じてプリファレンス計算部110にGUI部品のプロパティのプリファレンス値を変更させ、これを反映したレイアウトデータを生成する。これにより、ユーザに最適な画面レイアウトに調整することができる。例えば、ユーザ情報2802から抽出した内容がユーザの年齢である場合、レイアウトデータ生成部109にユーザ年齢に関しての閾値を設定しておき、年齢に応じたレイアウト調整処理を実行させる。   Next, the layout data generation unit 109 causes the preference calculation unit 110 to change the preference value of the property of the GUI component according to the content extracted from the user information 2802 as a pre-process of the process of adjusting the layout, Generate reflected layout data. Thereby, it is possible to adjust the screen layout to be optimal for the user. For example, when the content extracted from the user information 2802 is the user's age, a threshold regarding the user age is set in the layout data generation unit 109, and a layout adjustment process corresponding to the age is executed.

例えば年齢に関する閾値を60才と設定し、これ以上のユーザ年齢である場合の処理として、GUI部品のサイズが縮小されて見にくくなることを防ぐため、全てのGUI部品に対し、レイアウト定義に設定されたサイズのプリファレンス値を1.5倍し、レイアウトデータに設定する。このようにすることで、高齢者のユーザに対して、大きいGUI部品並びに大きな文字で表示することが可能となり、より使いやすい画面レイアウトを提供することができる。   For example, when the age-related threshold is set to 60 years old and the user age is higher than this, the layout definition is set for all GUI parts in order to prevent the GUI parts from being reduced in size and difficult to see. The size preference value is multiplied by 1.5 and set in the layout data. By doing in this way, it becomes possible to display with a large GUI component and a large character for an elderly user, and a more easy-to-use screen layout can be provided.

以上のように、この実施の形態6によれば、ユーザ情報に応じてGUI部品のプリファレンス値を変更することで、レイアウト調整の際に、ユーザの特性に合わせた調整を行うことができる。   As described above, according to the sixth embodiment, by changing the preference value of the GUI component in accordance with the user information, it is possible to perform the adjustment in accordance with the user characteristics at the time of layout adjustment.

なお、上記実施の形態6では、ユーザ情報定義記憶部2801に保持した内容を用いたレイアウトを実施する構成を上記実施の形態1に適用した例を示したが、上記実施の形態2から5までの構成に適用しても構わない。これにより、上記実施の形態6による効果に加えて上記実施の形態2から5で示した効果も得ることができる。
また、本発明によるレイアウト変更定義は、スキン定義、表示内容定義及びユーザ情報以外のレイアウト変更に関する情報を含むものとする。
In the sixth embodiment, the configuration in which the layout that uses the content stored in the user information definition storage unit 2801 is applied to the first embodiment has been described. However, the second to fifth embodiments are described above. You may apply to the structure of. Thereby, in addition to the effect by the said Embodiment 6, the effect shown by the said Embodiment 2-5 can also be acquired.
In addition, the layout change definition according to the present invention includes information related to the layout change other than the skin definition, the display content definition, and the user information.

実施の形態7.
本実施の形態7は、クライアント−サーバシステムで本発明の概念に従うレイアウト装置を実現するものである。例えば、図29に示すような構成が考えられる。図29において、PC2901がwebサーバ、PC2902がクライアントであり、これらがネットワーク2903で接続されている。
Embodiment 7 FIG.
In the seventh embodiment, a layout apparatus according to the concept of the present invention is realized in a client-server system. For example, a configuration as shown in FIG. 29 can be considered. In FIG. 29, a PC 2901 is a web server and a PC 2902 is a client, and these are connected via a network 2903.

PC2901,2902は、例えば上記実施の形態1で図2を用いて示したコンピュータ装置と同様の構成を有している。図示の例では、PC2901がwebサーバであり、上記実施の形態で示したレイアウト定義記憶部101を備える。PC2902は、機種情報記憶部107に加え、レイアウトデータ生成部109及びプリファレンス計算部110が備えられる。   For example, the PCs 2901 and 2902 have the same configuration as the computer device shown in FIG. In the illustrated example, the PC 2901 is a web server and includes the layout definition storage unit 101 described in the above embodiment. The PC 2902 includes a layout data generation unit 109 and a preference calculation unit 110 in addition to the model information storage unit 107.

なお、機種情報記憶部107も他のPCに設けて、PC2902がデータ通信により取得するようにしてもよい。また、PC2902には、図1で示した表示装置111に相当するディスプレイ2904が接続され、この画面に合わせたレイアウト表示がなされる。   Note that the model information storage unit 107 may be provided in another PC so that the PC 2902 obtains the data by data communication. Further, a display 2904 corresponding to the display device 111 shown in FIG. 1 is connected to the PC 2902, and a layout display according to this screen is performed.

さらに、PC2901,2902は、ネットワーク2903を介してデータ通信が可能である。ここでは、webクライアントであるPC2902が、ネットワーク2903を介してwebサーバであるPC2901からレイアウト定義102をダウンロードする。これにより、PC2902は、上記実施の形態1と同様にして、自己の機種情報108を機種情報記憶部107から読み出し、レイアウト定義102と合わせてレイアウトデータを生成し、ディスプレイ2904で画面を表示する。   Further, the PCs 2901 and 2902 can perform data communication via the network 2903. Here, the PC 2902 that is the web client downloads the layout definition 102 from the PC 2901 that is the web server via the network 2903. Accordingly, the PC 2902 reads out its own model information 108 from the model information storage unit 107, generates layout data together with the layout definition 102, and displays the screen on the display 2904 in the same manner as in the first embodiment.

以上のように、この実施の形態7によれば、ネットワーク2903を介して通信接続可能なコンピュータの記憶装置上にレイアウト定義などの記憶部を構築し、レイアウトデータ生成に必要なときにダウンロードしてそのモニタの画面に合わせてレイアウトを調整し、表示するように構成したので、本発明を適用するにあたり必要なハードウエアの構成やスペックの増加を抑えることができる。これにより、表示装置を有するコンピュータ装置に本発明を容易に適用することができる。   As described above, according to the seventh embodiment, a storage unit such as a layout definition is constructed on a computer storage device communicably connected via the network 2903, and is downloaded when necessary for layout data generation. Since the layout is adjusted and displayed in accordance with the monitor screen, an increase in hardware configuration and specifications necessary for applying the present invention can be suppressed. Thus, the present invention can be easily applied to a computer device having a display device.

なお、上記実施の形態7では、上記実施の形態1で示した構成をネットワーク上の複数のコンピュータに分散して配置する例を示したが、上記実施の形態2から6までの構成に適用しても構わない。これにより、上記実施の形態7による効果に加えて上記実施の形態2から6で示した効果も得ることができる。   In the seventh embodiment, the example in which the configuration shown in the first embodiment is distributed and arranged in a plurality of computers on the network has been described. However, the present invention is applicable to the configurations in the second to sixth embodiments. It doesn't matter. Thereby, in addition to the effect by the said Embodiment 7, the effect shown by the said Embodiment 2-6 can also be acquired.

また、上記実施の形態7では、レイアウト定義記憶部101をwebサーバであるPC2901に設ける構成を示したが、本発明はこれに限定されるものではない。例えば、PC2902には、本発明に係る構成としてディスプレイ2904のみを設け、PC2901に対して、レイアウト定義記憶部101、機種情報記憶部107、レイアウトデータ生成部109及びプリファレンス計算部110を設ける。これにより、PC2901が生成したレイアウトデータを、ネットワーク2903を介してPC2902が取得し、そのディスプレイ2904に表示するようにしてもよい。   In the seventh embodiment, the layout definition storage unit 101 is provided in the PC 2901 which is a web server. However, the present invention is not limited to this. For example, the PC 2902 includes only the display 2904 as a configuration according to the present invention, and the PC 2901 includes the layout definition storage unit 101, the model information storage unit 107, the layout data generation unit 109, and the preference calculation unit 110. Thus, the layout data generated by the PC 2901 may be acquired by the PC 2902 via the network 2903 and displayed on the display 2904.

このとき、PC2901に設ける機種情報記憶部106には、クライアントであるPCのモニタに対応する機種情報108を複数保持しておく。これにより、PC2901側でクライアントの種類に応じて対応する機種情報108を用いたレイアウトデータを生成する。なお、PC2902側から自己を識別する情報をPC2901に送信してレイアウトデータ要求を行い、これに応じて生成されたレイアウトデータを、ネットワーク2903を介してPC2902がダウンロードしてディスプレイ2904に表示するようにしてもよい。   At this time, the model information storage unit 106 provided in the PC 2901 holds a plurality of model information 108 corresponding to the monitor of the client PC. Thereby, the layout data using the model information 108 corresponding to the type of client is generated on the PC 2901 side. The PC 2902 sends information identifying itself to the PC 2901 to request layout data, and the PC 2902 downloads the layout data generated in response to the request to display on the display 2904. May be.

このようにすることで、特にレイアウト定義記憶部101のみをwebサーバに備えた構成と比較して、本発明を適用するにあたり必要なハードウエアの構成やスペックを最小限に抑えることができ、クライアントPCの処理能力が低い場合にも容易に適用することができる。   In this way, the hardware configuration and specifications necessary for applying the present invention can be minimized as compared with the configuration in which only the layout definition storage unit 101 is provided in the web server. It can be easily applied even when the processing capacity of the PC is low.

実施の形態8.
図30は、この発明の実施の形態8によるレイアウト装置の適用例を示す図であり、携帯電話3002のディスプレイ3004の画面に合うレイアウトを実行する。図30のように、サーバ3001と携帯電話3002は、ネットワーク3003を介してデータ通信する機能をそれぞれ有している。
Embodiment 8 FIG.
FIG. 30 is a diagram showing an application example of the layout device according to the eighth embodiment of the present invention, and executes a layout suitable for the screen of the display 3004 of the mobile phone 3002. As shown in FIG. 30, the server 3001 and the mobile phone 3002 each have a function of performing data communication via the network 3003.

また、サーバ3001には、レイアウト定義記憶部101を設け、携帯電話3002には、機種情報記憶部107、レイアウトデータ生成部109及びプリファレンス計算部110を設ける。これにより、サーバ3001からネットワーク3003を介して取得したレイアウト定義102と自己に設けられた機種情報108を用いて、携帯電話3002側でディスプレイ3004の画面に合わせたレイアウト調整及びその表示を実行する。   The server 3001 is provided with a layout definition storage unit 101, and the mobile phone 3002 is provided with a model information storage unit 107, a layout data generation unit 109, and a preference calculation unit 110. Thus, using the layout definition 102 acquired from the server 3001 via the network 3003 and the model information 108 provided therein, layout adjustment and display in accordance with the screen of the display 3004 are executed on the mobile phone 3002 side.

特に、携帯電話などの場合、ディスプレイの画面が小さいためにGUI部品を表示できる広さが限られる。また、携帯電話の機種毎にディスプレイも異なる場合があり、これに応じて機種情報108が変わり、マージンの大きさやフォントサイズが異なる。このため、レイアウトが大きな問題となる。これに対して、本実施の形態8により、携帯電話の機種に応じた動的なレイアウトが可能となり、前記の問題が解決できる。   In particular, in the case of a mobile phone or the like, since the display screen is small, the area in which GUI parts can be displayed is limited. Further, the display may be different for each mobile phone model, and the model information 108 changes accordingly, and the size of the margin and the font size are different. For this reason, layout becomes a big problem. On the other hand, according to the eighth embodiment, a dynamic layout according to the model of the mobile phone is possible, and the above problem can be solved.

また、上述の構成では、サーバ3001にレイアウト定義記憶部101を設ける例を示したが、レイアウト定義記憶部101も携帯電話3002に設けて、携帯電話3002のみで本発明のレイアウト装置を具現化してもよく、同様の効果を得ることができる。   In the above configuration, the layout definition storage unit 101 is provided in the server 3001. However, the layout definition storage unit 101 is also provided in the mobile phone 3002, and the layout apparatus of the present invention is realized only by the mobile phone 3002. The same effect can be obtained.

この他、携帯電話3002に機種情報記憶部107、レイアウトデータ生成部109及びプリファレンス計算部110を設けず、サーバ3001にレイアウト定義記憶部101、携帯電話の機種に対応する機種情報108を複数保持する機種情報記憶部107、レイアウトデータ生成部109及びプリファレンス計算部110を設けて、サーバ3001側でディスプレイ3004の画面に合わせて生成したレイアウトデータを携帯電話3002がダウンロードして表示する構成にしてもよい。   In addition, the cellular phone 3002 is not provided with the model information storage unit 107, the layout data generation unit 109, and the preference calculation unit 110, and the server 3001 holds a plurality of layout definition storage units 101 and model information 108 corresponding to the cellular phone models. The model information storage unit 107, the layout data generation unit 109, and the preference calculation unit 110 are provided, and the mobile phone 3002 downloads and displays the layout data generated according to the screen of the display 3004 on the server 3001 side. Also good.

これにより、多様な携帯電話の機種ごとに、サーバでそれに適したレイアウトを備えたレイアウトデータを生成して携帯電話に渡すことができ、携帯電話のCPU処理のリソース(メモリ、計算処理時間、電池)を使わずにその端末種類に適した画面表示を行える。また、携帯電話の計算処理能力が低い場合には、サーバ側でレイアウトデータを生成して転送する方が早く行えるという効果もある。   As a result, layout data having a layout suitable for it can be generated and passed to the mobile phone for each mobile phone model, and the mobile phone CPU processing resources (memory, calculation processing time, battery, etc.) ) Can be used to display a screen suitable for the terminal type. In addition, when the calculation processing capability of the mobile phone is low, there is an effect that the layout data can be generated and transferred on the server side earlier.

なお、上記実施の形態8では、上記実施の形態1で示した構成を、携帯電話3002を含むネットワーク上の複数のコンピュータに分散して配置する例を示したが、上記実施の形態2から6までの構成に適用しても構わない。これにより、上記実施の形態8による効果に加えて上記実施の形態2から6で示した効果も得ることができる。   In the above-described eighth embodiment, an example in which the configuration described in the above-described first embodiment is distributed and arranged in a plurality of computers on a network including the mobile phone 3002 has been described. You may apply to the structure until. Thereby, in addition to the effect by the said Embodiment 8, the effect shown by the said Embodiment 2-6 can also be acquired.

また、携帯電話に限らず、PDAなどの携帯情報端末にも適用可能であり、例えば通信機能を有するカーナビゲーション装置に適用してそのディスプレイに応じたレイアウトを生成することも可能である。   Further, the present invention can be applied not only to a mobile phone but also to a portable information terminal such as a PDA. For example, it can be applied to a car navigation apparatus having a communication function to generate a layout corresponding to the display.

この発明の実施の形態1によるレイアウト装置の構成を示すブロック図である。It is a block diagram which shows the structure of the layout apparatus by Embodiment 1 of this invention. 実施の形態1によるレイアウト装置を具現化するハードウエア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration that embodies the layout device according to the first embodiment; FIG. 図1中のレイアウト定義記憶部に保持したレイアウト定義の一例を示す図である。It is a figure which shows an example of the layout definition hold | maintained at the layout definition memory | storage part in FIG. 図3中のレイアウト定義によりレイアウトした結果を示す図である。It is a figure which shows the result laid out by the layout definition in FIG. 図1中の機種情報記憶部に保持した機種情報の一例を示す図である。It is a figure which shows an example of the model information hold | maintained at the model information storage part in FIG. 実施の形態1によるレイアウト装置の動作を示すフローチャートである。4 is a flowchart showing an operation of the layout apparatus according to the first embodiment. 初期レイアウトデータ生成処理により生成したレイアウトデータによる画面の例である。It is an example of the screen by the layout data produced | generated by the initial layout data production | generation process. レイアウトデータ生成処理により生成したレイアウトデータによる画面の例である。It is an example of the screen by the layout data produced | generated by the layout data production | generation process. 画面サイズ無視の調整処理(縦)の流れを示すフローチャートである。It is a flowchart which shows the flow of adjustment processing (vertical) of screen size disregard. 画面サイズを考慮した調整処理(横)の流れを示すフローチャートである。It is a flowchart which shows the flow of the adjustment process (horizontal) which considered the screen size. 実施の形態1による移動距離決定処理を説明するための図である。6 is a diagram for explaining a movement distance determination process according to Embodiment 1. FIG. 移動距離決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a movement distance determination process. プリファレンス計算結果による調整処理(横)の流れを示すフローチャートである。It is a flowchart which shows the flow of the adjustment process (horizontal) by a preference calculation result. プリファレンス計算処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a preference calculation process. レイアウト定義におけるGUI部品のレイアウト例を示す図である。It is a figure which shows the example of a layout of the GUI components in a layout definition. この発明の実施の形態2によるレイアウト装置のレイアウト定義の一例を示す図である。It is a figure which shows an example of the layout definition of the layout apparatus by Embodiment 2 of this invention. 基準点を用いてGUI部品を列に配置した例を示す図である。It is a figure which shows the example which has arrange | positioned GUI components in the row | line | column using the reference point. 実施の形態2によるレイアウト装置の画面サイズを考慮した調整処理(横)を示すフローチャートである。10 is a flowchart showing adjustment processing (horizontal) in consideration of the screen size of the layout device according to the second embodiment. 実施の形態2によるレイアウト装置の移動距離決定処理を示すフローチャートである。10 is a flowchart showing a movement distance determination process of the layout device according to the second embodiment. この発明の実施の形態3によるレイアウト装置のレイアウト定義の一例を示す図である。It is a figure which shows an example of the layout definition of the layout apparatus by Embodiment 3 of this invention. 実施の形態3によるレイアウト装置の画面サイズを考慮した調整処理(横)を示すフローチャートである。14 is a flowchart illustrating an adjustment process (horizontal) in consideration of the screen size of the layout device according to the third embodiment. この発明の実施の形態4によるレイアウト装置の構成を示すブロック図である。It is a block diagram which shows the structure of the layout apparatus by Embodiment 4 of this invention. スキン定義の一例を示す図である。It is a figure which shows an example of a skin definition. スキンを使用したレイアウト画面の例を示す図である。It is a figure which shows the example of the layout screen using a skin. この実施の形態4によるレイアウト装置のプリファレンス計算処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the preference calculation process of the layout apparatus by this Embodiment 4. 実施の形態4によるレイアウト装置のプリファレンス計算結果による調整処理(横)を示すフローチャートである。15 is a flowchart illustrating adjustment processing (horizontal) based on preference calculation results of the layout device according to the fourth embodiment. この発明の実施の形態5によるレイアウト装置の構成を示すブロック図である。It is a block diagram which shows the structure of the layout apparatus by Embodiment 5 of this invention. この発明の実施の形態6によるレイアウト装置の構成を示すブロック図である。It is a block diagram which shows the structure of the layout apparatus by Embodiment 6 of this invention. この発明の実施の形態7によるレイアウト装置を具現化するハードウエア構成例を示す図である。It is a figure which shows the hardware structural example which embodies the layout apparatus by Embodiment 7 of this invention. この発明の実施の形態8によるレイアウト装置を具現化するハードウエア構成例を示す図である。It is a figure which shows the hardware structural example which embodies the layout apparatus by Embodiment 8 of this invention.

符号の説明Explanation of symbols

101 レイアウト定義記憶部、102 レイアウト定義、102a スクロール、102b 画面サイズ、102c フォントサイズ、103 GUI部品部、104 GUI部品情報、105 プロパティ部、106 プリファレンス部、107 機種情報記憶部、108 機種情報、108a 表示画面の画面サイズ、108b フォントサイズ、108c マージン、109 レイアウトデータ生成部、110 プリファレンス計算部、111 表示装置、201 PC、202 処理装置、203 記憶装置、204 モニタ、205 マウス、206 キーボード、401〜407 破線、1001〜1006,1501〜1506,1701〜1703 GUI部品、1601,1704〜1706 基準点、2001,2002 参照、2201 スキン定義記憶部、2202 スキン定義、2203 スキンGUI部品部、2204 スキンGUI部品情報、2205 スキンプロパティ部、2206 スキンプリファレンス部、2207 デコレーション部、2208 デコレーションプロパティ部、2209 デコレーションプリファレンス部、2701 表示内容定義記憶部、2702 表示内容定義、2703 表示内容部、2704 表示内容プリファレンス部、2801 ユーザ情報定義記憶部、2802 ユーザ情報、2901,2902 PC、2903,3003 ネットワーク、2904,3004 ディスプレイ、3001 サーバ、3002 携帯電話。   101 Layout definition storage unit, 102 Layout definition, 102a Scroll, 102b Screen size, 102c Font size, 103 GUI component unit, 104 GUI component information, 105 Property unit, 106 Preferences unit, 107 Model information storage unit, 108 Model information, 108a display screen size, 108b font size, 108c margin, 109 layout data generation unit, 110 preference calculation unit, 111 display device, 201 PC, 202 processing device, 203 storage device, 204 monitor, 205 mouse, 206 keyboard, 401-407 broken line, 1001-1006, 1501-1506, 1701-1703 GUI parts, 1601, 1704-1706 reference point, 2001, 2002 reference, 220 Skin definition storage unit, 2202 Skin definition, 2203 Skin GUI part part, 2204 Skin GUI part information, 2205 Skin property part, 2206 Skin preference part, 2207 Decoration part, 2208 Decoration property part, 2209 Decoration preference part, 2701 Display contents Definition storage unit, 2702 Display content definition, 2703 Display content unit, 2704 Display content preference unit, 2801 User information definition storage unit, 2802 User information, 2901, 2902 PC, 2903, 3003 network, 2904, 3004 display, 3001 server, 3002 Mobile phone.

Claims (16)

GUI部品のレイアウト内容を規定する設定情報であるプロパティ及びその重要性の度合を示すプリファレンスを設定したレイアウト定義と、表示画面を有する端末の特性を設定した機種情報とを入力し、これら入力情報を用いて前記表示画面のレイアウトデータを生成するレイアウトデータ生成部と、
前記レイアウトデータ生成部から入力したレイアウトデータを基に、前記プリファレンスの値に応じて前記レイアウトデータ生成部による前記表示画面に合わせたレイアウト調整の対象となるGUI部品及びプロパティの候補を選択するプリファレンス計算部とを備えたレイアウト装置。
Input the layout definition that sets the property that is the setting information that defines the layout contents of the GUI parts and the preference that indicates the degree of importance, and the model information that sets the characteristics of the terminal having the display screen. A layout data generation unit for generating layout data of the display screen using
Based on the layout data input from the layout data generation unit, a GUI component and property candidates to be subjected to layout adjustment according to the display screen by the layout data generation unit according to the preference value are selected. A layout device including a reference calculation unit.
レイアウト定義は、GUI部品のレイアウト内容を規定する設定情報であるプロパティを保持するプロパティ部と、その重要性の度合を示すプリファレンス値を保持するプリファレンス部とを備えたことを特徴とする請求項1記載のレイアウト装置。   The layout definition includes a property part that holds a property that is setting information that defines layout contents of a GUI component, and a preference part that holds a preference value indicating the degree of importance of the property part. Item 4. The layout device according to Item 1. 一定のレイアウト上の規則に従うGUI部品をグループとして規定するグループプロパティ及びそのプリファレンスをレイアウト定義に設定し、
プリファレンス計算部は、前記グループプロパティのプリファレンスの値に応じて調整対象のGUI部品及びプロパティの候補を選択することを特徴とする請求項1記載のレイアウト装置。
Set a group property that specifies GUI parts that follow a certain layout rule as a group and its preferences in the layout definition,
The layout apparatus according to claim 1, wherein the preference calculation unit selects a GUI part to be adjusted and a property candidate in accordance with a preference value of the group property.
GUI部品のレイアウトの基準となる座標を規定する基準点及びそのプリファレンスをレイアウト定義に設定し、
プリファレンス計算部は、前記基準点プロパティのプリファレンスの値に応じて調整対象のGUI部品及びプロパティの候補を選択することを特徴とする請求項1記載のレイアウト装置。
Set the reference points that define the coordinates that serve as the reference for the layout of the GUI parts and their preferences in the layout definition,
The layout apparatus according to claim 1, wherein the preference calculation unit selects a GUI part to be adjusted and a property candidate in accordance with a preference value of the reference point property.
レイアウト定義において複数のGUI部品で同一のプロパティ設定がある場合、このプロパティ設定を共通の参照情報として設定することを特徴とする請求項1記載のレイアウト装置。   2. The layout apparatus according to claim 1, wherein when a plurality of GUI parts have the same property setting in the layout definition, the property setting is set as common reference information. レイアウトデータ生成部は、プリファレンス計算部から通知された調整対象のGUI部品及びそのプロパティ並びにGUI部品に対するレイアウトの調整方法を決定する基準となるスコアをリスト情報として保持し、前記リスト情報の内容を参照してレイアウト調整することを特徴とする請求項1記載のレイアウト装置。   The layout data generation unit holds, as list information, a GUI component to be adjusted notified from the preference calculation unit, its property, and a score serving as a reference for determining a layout adjustment method for the GUI component, and stores the contents of the list information The layout apparatus according to claim 1, wherein the layout is adjusted with reference to the layout device. レイアウトデータ生成部は、レイアウトを変更するための情報を定義したレイアウト変更定義、レイアウト定義、及び機種情報を入力し、これら入力情報を用いて表示画面のレイアウトデータを生成することを特徴とする請求項1記載のレイアウト装置。   The layout data generation unit inputs layout change definition, layout definition, and model information defining information for changing the layout, and generates layout data of the display screen using the input information. Item 4. The layout device according to Item 1. レイアウト変更定義は、ユーザ固有の情報を規定するユーザ情報を含むことを特徴とする請求項7記載のレイアウト装置。   8. The layout apparatus according to claim 7, wherein the layout change definition includes user information that defines user-specific information. レイアウト変更定義は、レイアウトの変更内容を規定する設定情報であるプロパティを保持するレイアウト変更プロパティ部と、その重要性の度合を示すプリファレンス値を保持するレイアウト変更プリファレンス部とを備えたことを特徴とする請求項7記載のレイアウト装置。   The layout change definition includes a layout change property part that holds properties that are setting information that defines the content of layout change, and a layout change preference part that holds preference values indicating the degree of importance. 8. The layout device according to claim 7, wherein レイアウト変更定義は、GUI部品に表示される内容をレイアウト変更プロパティ部に保持し、そのプリファレンスをレイアウト変更プリファレンス部に保持する表示内容定義を含むことを特徴とする請求項9記載のレイアウト装置。   10. The layout apparatus according to claim 9, wherein the layout change definition includes a display content definition for holding content displayed on the GUI component in a layout change property section and holding the preference in the layout change preference section. . レイアウト変更定義は、GUI部品を構成する基本的な表示部品のレイアウト及びそのデコレーションを規定する設定情報であるスキン及びデコレーションについて、前記スキンが適用された際に付加されるGUI部品であるスキンGUI部品のプロパティ及びデコレーションのプロパティをレイアウト変更プロパティ部に保持し、それらのプリファレンスをレイアウト変更プリファレンス部に保持するスキン定義を含むことを特徴とする請求項9記載のレイアウト装置。   The layout change definition is a skin GUI component which is a GUI component added when the skin is applied to the skin and decoration which are setting information for specifying the layout of the basic display component and the decoration of the GUI component. The layout apparatus according to claim 9, further comprising: a skin definition that retains the property and the decoration property in the layout change property part and retains the preferences in the layout change preference part. 表示画面のレイアウトデータを生成するレイアウトデータ生成部と、前記レイアウトデータ生成部によるレイアウト調整対象となるGUI部品及びプロパティの候補を選択するプリファレンス計算部とを備えたレイアウト装置のレイアウト方法において、
前記レイアウトデータ生成部が、前記GUI部品のレイアウト内容を規定する設定情報であるプロパティ及びその重要性の度合を示すプリファレンスを設定したレイアウト定義と、前記表示画面を有する端末の特性を設定した機種情報とを入力し、これら入力情報を用いて前記表示画面のレイアウトデータを生成するステップと、
前記プリファレンス計算部が、前記レイアウトデータ生成部から入力したレイアウトデータを基に、前記プリファレンスの値に応じて前記レイアウトデータ生成部による前記表示画面に合わせたレイアウト調整の対象となるGUI部品及びプロパティの候補を選択するステップと、
前記レイアウトデータ生成部が、前記プリファレンス計算部が選択したレイアウト調整対象のGUI部品及びプロパティの候補を用いて前記表示画面に合わせてレイアウトを調整するステップとを備えたことを特徴とするレイアウト方法。
In a layout method for a layout apparatus, comprising: a layout data generation unit that generates layout data of a display screen; and a preference calculation unit that selects a GUI part and property candidates to be adjusted by the layout data generation unit.
A model in which the layout data generation unit sets the property that is the setting information that defines the layout content of the GUI part and the preference that indicates the degree of its importance, and the characteristics of the terminal having the display screen Inputting information and generating layout data of the display screen using the input information;
Based on the layout data input from the layout data generation unit by the preference calculation unit, a GUI component to be subjected to layout adjustment according to the display screen by the layout data generation unit according to the value of the preference, and Selecting property candidates;
The layout data generation unit includes a step of adjusting a layout according to the display screen using a GUI component and a property candidate to be adjusted selected by the preference calculation unit. .
GUI部品のレイアウト内容を規定する設定情報であるプロパティ及びその重要性の度合を示すプリファレンスを設定したレイアウト定義と、表示画面を有する端末の特性を設定した機種情報とを入力し、これら入力情報を用いて前記表示画面のレイアウトデータを生成するレイアウトデータ生成部、前記レイアウトデータ生成部から入力したレイアウトデータを基に、前記プリファレンスの値に応じて前記レイアウトデータ生成部による前記表示画面に合わせたレイアウト調整の対象となるGUI部品及びプロパティの候補を選択するプリファレンス計算部としてコンピュータを機能させるプログラム。   Input the layout definition that sets the property that is the setting information that defines the layout contents of the GUI parts and the preference indicating the degree of importance, and the model information that sets the characteristics of the terminal having the display screen. Based on the layout data input from the layout data generation unit, the layout data generation unit generates layout data of the display screen by using the layout data generation unit according to the value of the preference. A program that causes a computer to function as a preference calculation unit that selects GUI components and property candidates to be subjected to layout adjustment. コンピュータを、表示画面に表示するGUI部品のレイアウトデータを生成するレイアウトデータ生成部として機能させるプログラムによって使用されるレイアウト定義のデータ構造であって、前記レイアウトデータ生成部によりレイアウトデータ生成の際に参照されるGUI部品のレイアウト内容を規定する設定情報であるプロパティを保持するプロパティ部と、前記レイアウトデータ生成部が前記プロパティの重要性の度合に応じてレイアウトデータを生成するための前記プロパティのプリファレンス値を保持するプリファレンス部とを備えたデータ構造。   A layout definition data structure used by a program that causes a computer to function as a layout data generation unit that generates layout data of a GUI component displayed on a display screen, and is referred to when the layout data generation unit generates layout data. A property part that holds a property that is setting information that defines the layout content of the GUI part to be executed, and the property preference for the layout data generation part to generate layout data according to the degree of importance of the property A data structure with a preference part that holds the value. コンピュータを、表示画面に表示するGUI部品のレイアウトデータを生成するレイアウトデータ生成部、前記レイアウトデータ生成部によるレイアウト調整対象となるGUI部品及びプロパティの候補を選択するプリファレンス計算部として機能させるプログラムによって使用されるレイアウト変更定義のデータ構造であって、前記レイアウトデータ生成部が前記表示画面に合わせてレイアウトを調整する際に参照される、レイアウトの変更内容を規定する設定情報であるプロパティを保持するレイアウト変更プロパティ部と、前記プリファレンス計算部が前記プロパティの重要性の度合に応じて調整候補を選択するための前記プロパティのプリファレンス値を保持するレイアウト変更プリファレンス部とを備えたデータ構造。   By a program that causes a computer to function as a layout data generation unit that generates layout data of a GUI component to be displayed on a display screen, and a preference calculation unit that selects GUI components and property candidates to be adjusted by the layout data generation unit A data structure of a layout change definition to be used, which holds properties that are setting information that defines the content of a layout change that is referred to when the layout data generation unit adjusts the layout according to the display screen A data structure comprising: a layout change property part; and a layout change preference part that holds a preference value of the property for the preference calculation part to select an adjustment candidate in accordance with the degree of importance of the property. コンピュータを、表示画面に表示するGUI部品のレイアウトデータを生成するレイアウトデータ生成部、GUI部品及びそのレイアウト内容を規定する設定情報であるプロパティのレイアウト調整候補を選択するプリファレンス計算部として機能させるプログラムによって使用されるレイアウト調整用情報のデータ構造であって、前記レイアウトデータ生成部がGUI部品のレイアウトを前記表示画面に合わせて調整する際に参照される、前記プロパティを変更するGUI部品の候補のリストを登録するGUI候補登録部と、その変更するプロパティを登録するプロパティ候補登録部と、前記プリファレンス計算部によって前記GUI候補登録部にリストアップされたGUI部品に対応する前記プロパティ候補登録部のプロパティのプリファレンス値から算出され、前記レイアウトデータ生成部により調整されるべきGUI部品及びそのプロパティを決定する基準となるスコアを登録するスコア登録部とを備えたデータ構造。   A program that causes a computer to function as a layout data generation unit that generates layout data of a GUI component to be displayed on a display screen, and a preference calculation unit that selects a layout adjustment candidate of a property that is setting information that defines the GUI component and its layout content Of the layout adjustment information used by the layout data generation unit, which is referred to when the layout data generation unit adjusts the layout of the GUI part according to the display screen. A GUI candidate registration unit for registering a list, a property candidate registration unit for registering the property to be changed, and the property candidate registration unit corresponding to the GUI component listed in the GUI candidate registration unit by the preference calculation unit. Property prefix Calculated from Reference value, the layout data generated GUI component to be adjusted by the unit and the data structure with a score registration unit for registering a reference consisting score to determine its properties.
JP2005157922A 2005-05-30 2005-05-30 Layout device, layout method, program, and data structure Pending JP2006331339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005157922A JP2006331339A (en) 2005-05-30 2005-05-30 Layout device, layout method, program, and data structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005157922A JP2006331339A (en) 2005-05-30 2005-05-30 Layout device, layout method, program, and data structure

Publications (1)

Publication Number Publication Date
JP2006331339A true JP2006331339A (en) 2006-12-07

Family

ID=37552941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005157922A Pending JP2006331339A (en) 2005-05-30 2005-05-30 Layout device, layout method, program, and data structure

Country Status (1)

Country Link
JP (1) JP2006331339A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008087912A1 (en) * 2007-01-15 2008-07-24 Panasonic Corporation Display processing device, display processing method, and display processing program
JP2008269554A (en) * 2007-03-29 2008-11-06 Hitachi Software Eng Co Ltd Source code generating device
JP2011154474A (en) * 2010-01-26 2011-08-11 Ricoh Co Ltd Apparatus and system for processing information, customizing method, and program
JP2011197737A (en) * 2010-03-17 2011-10-06 Brother Industries Ltd Print control device, program and display method for print setting screen
JP2012050084A (en) * 2011-08-24 2012-03-08 Toshiba Corp Video processing apparatus and video processing method
WO2013038605A1 (en) * 2011-09-13 2013-03-21 株式会社ソニー・コンピュータエンタテインメント Information processing device, information processing method, content file data structure, gui placement simulator, and gui placement setting assistance method
JP2013061804A (en) * 2011-09-13 2013-04-04 Sony Computer Entertainment Inc Gui placement simulator, and gui placement setting assistance method
JP2013061803A (en) * 2011-09-13 2013-04-04 Sony Computer Entertainment Inc Information processing device, information processing method, and content file data structure
JP2015026137A (en) * 2013-07-24 2015-02-05 コニカミノルタ株式会社 Operation screen display device and display control program
US9223521B2 (en) 2011-09-12 2015-12-29 Canon Kabushiki Kaisha Information processing apparatus, recording medium, and control method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008087912A1 (en) * 2007-01-15 2008-07-24 Panasonic Corporation Display processing device, display processing method, and display processing program
JP2008269554A (en) * 2007-03-29 2008-11-06 Hitachi Software Eng Co Ltd Source code generating device
JP2008269575A (en) * 2007-03-29 2008-11-06 Hitachi Software Eng Co Ltd Source code generating device
JP2011154474A (en) * 2010-01-26 2011-08-11 Ricoh Co Ltd Apparatus and system for processing information, customizing method, and program
US8994986B2 (en) 2010-03-17 2015-03-31 Brother Kogyo Kabushiki Kaisha Print control apparatus, program and method of displaying print setting screen
JP2011197737A (en) * 2010-03-17 2011-10-06 Brother Industries Ltd Print control device, program and display method for print setting screen
JP2012050084A (en) * 2011-08-24 2012-03-08 Toshiba Corp Video processing apparatus and video processing method
US9223521B2 (en) 2011-09-12 2015-12-29 Canon Kabushiki Kaisha Information processing apparatus, recording medium, and control method
WO2013038605A1 (en) * 2011-09-13 2013-03-21 株式会社ソニー・コンピュータエンタテインメント Information processing device, information processing method, content file data structure, gui placement simulator, and gui placement setting assistance method
JP2013061803A (en) * 2011-09-13 2013-04-04 Sony Computer Entertainment Inc Information processing device, information processing method, and content file data structure
JP2013061804A (en) * 2011-09-13 2013-04-04 Sony Computer Entertainment Inc Gui placement simulator, and gui placement setting assistance method
US9952755B2 (en) 2011-09-13 2018-04-24 Sony Interactive Entertainment Inc. Information processing device, information processing method, data structure of content file, GUI placement simulator, and GUI placement setting assisting method
JP2015026137A (en) * 2013-07-24 2015-02-05 コニカミノルタ株式会社 Operation screen display device and display control program

Similar Documents

Publication Publication Date Title
JP2006331339A (en) Layout device, layout method, program, and data structure
JP5827468B2 (en) Scroll bar control
US8547348B2 (en) Method and apparatus for providing finger touch layers in a user agent
CN102272701B (en) For providing the method for personalized user interface, device and computer program
JP2016024625A (en) Information display apparatus, distribution apparatus, information display method, and information display program
JP2011165182A (en) Method and apparatus for selecting hyperlink
JP2012194673A (en) Information processor and control method therefor, and program
JP2014149860A (en) Information display method of portable multifunctional terminal, information display system using the same, and portable multifunctional terminal
JP6310955B2 (en) Distribution apparatus, display control apparatus, display control method, and program
JP5714145B1 (en) Distribution device, terminal device, distribution method, and distribution program
US20120066584A1 (en) Host apparatus and method of displaying content by the same
JP5814422B1 (en) Distribution device, display control device, display control method, and display control program
JP2016006690A (en) Distribution device, display controller, display control method, and display control program
JP2016062491A (en) Information display device, delivery device, information display method, and information display program
WO2015051505A1 (en) Method and system for displaying web page on device by automatically adapting the web page to the size of browser of the device
JP6764884B2 (en) Terminal device and image display method by this, web server and web page provision method by this
JP2015055888A (en) Display divice, control method thereof, control program thereof, and display system
CN113885758B (en) Virtual screen generation method, computing device and storage medium
KR20080044292A (en) Positioning screen elements
WO2016200715A1 (en) Transitioning command user interface between toolbar user interface and full menu user interface based on use context
JPWO2007013280A1 (en) Plug-in module execution method, browser execution method, mailer execution method, program, terminal device, and computer-readable recording medium on which page data is recorded
KR20100079052A (en) Method, system and computer-readable recording medium for providing web page using cache
JP6113124B2 (en) Information display program, distribution device, information display method, and information display device
JP5304806B2 (en) Image processing program, image processing method, and image processing apparatus
JP6431021B2 (en) Information display program, distribution device, information display method, and information display device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071005