JP7647331B2 - Operation screen design method, operation screen design device, and operation screen design program - Google Patents
Operation screen design method, operation screen design device, and operation screen design program Download PDFInfo
- Publication number
- JP7647331B2 JP7647331B2 JP2021089470A JP2021089470A JP7647331B2 JP 7647331 B2 JP7647331 B2 JP 7647331B2 JP 2021089470 A JP2021089470 A JP 2021089470A JP 2021089470 A JP2021089470 A JP 2021089470A JP 7647331 B2 JP7647331 B2 JP 7647331B2
- Authority
- JP
- Japan
- Prior art keywords
- text
- operation screen
- size
- computer
- unit
- 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.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Description
本発明は、操作画面設計方法、操作画面設計装置および操作画面設計プログラムに関する。 The present invention relates to an operation screen design method, an operation screen design device, and an operation screen design program.
特許文献1には、UI(ユーザインタフェース:User Interface)の操作画面の設計を支援する操作画面設計支援装置が記載されている。この操作画面設計支援装置では、UI使用作成者は、部品一覧から設定した部品(オブジェクト)を画面レイアウトにドラッグ&ドロップして配置することにより操作画面を生成する。
このように操作画面にオブジェクト(部品)を配置する場合、配置されるオブジェクト数が増えると操作画面に配置されるオブジェクト同士が干渉し易くなる。このため、オブジェクト間の干渉を避けるように配置する操作が煩雑になる。また、オブジェクト内にテキストが挿入される場合には、テキストの長さによってオブジェクトとの余白が過小又は過大となり、これらを調整する操作が煩雑になる。
本発明は、このような事情に鑑みてなされたものであり、UIの操作画面設計において、テキストが挿入されるオブジェクトを操作画面に配置する際の操作を省力化することを目的とする。
When placing objects (components) on the operation screen in this way, as the number of objects placed increases, the objects placed on the operation screen tend to interfere with each other. This makes it difficult to place the objects in a way that avoids interference between them. Also, when text is inserted into an object, the margin between the object and the text may be too small or too large depending on the length of the text, making it difficult to adjust these settings.
The present invention has been made in consideration of the above circumstances, and has an object to reduce the labor required when arranging an object into which text is to be inserted on an operation screen in designing an operation screen for a UI.
本発明の一態様の操作画面設計方法では、操作画面に表示すべき第1オブジェクトを、操作画面上に配置する操作を受け付ける処理と、第1オブジェクトよりも先に操作画面上に配置されている第2オブジェクトと第1オブジェクトとの間、又は操作画面の端と第1オブジェクトとの間の間隔が第1の制約条件を満たすように、第1オブジェクトの配置位置を修正する処理と、第1オブジェクト内に表示されるテキストの入力を受け付ける処理と、テキストに応じて第1オブジェクトの大きさを調整する処理と、をコンピュータに実行させる。 In one aspect of the present invention, a method for designing an operation screen causes a computer to execute the following processes: accepting an operation to place a first object to be displayed on the operation screen on the operation screen; correcting the placement position of the first object so that the spacing between the first object and a second object placed on the operation screen before the first object, or between an edge of the operation screen and the first object, satisfies a first constraint; accepting input of text to be displayed within the first object; and adjusting the size of the first object in accordance with the text.
本発明によれば、UIの操作画面設計において、テキストが挿入されるオブジェクトを操作画面に配置する際の操作を省力化できる。 The present invention can reduce the amount of work required to place an object into which text is to be inserted on an operation screen when designing a UI operation screen.
以下、本発明の実施形態について、図面を参照しつつ説明する。図面の記載において、同一又は類似の部分には同一又は類似の符号を付し、重複する説明を省略する。各図面は模式的なものであり、現実のものとは異なる場合が含まれる。以下に示す実施形態は、本発明の技術的思想を具体化するための装置や方法を例示するものであって、本発明の技術的思想は、下記の実施形態に例示した装置や方法に特定するものでない。本発明の技術的思想は、特許請求の範囲に記載された技術的範囲内において、種々の変更を加えることができる。 Below, an embodiment of the present invention will be described with reference to the drawings. In the description of the drawings, identical or similar parts are given the same or similar reference numerals, and duplicate explanations will be omitted. Each drawing is schematic and may differ from the actual product. The embodiments shown below are examples of devices and methods for embodying the technical idea of the present invention, and the technical idea of the present invention is not limited to the devices and methods exemplified in the following embodiments. The technical idea of the present invention can be modified in various ways within the technical scope described in the claims.
(構成)
図1は、実施形態の操作画面設計装置の一例の概略構成図である。操作画面設計装置1は、ディスプレイ装置上に表示されるGUI(Graphical User Interface)の操作画面の設計を支援する装置である。例えば操作画面設計装置1は、車載装置の操作画面(すなわち車両に搭載されて乗員に操作される車載装置の操作画面)の設計を支援する装置であってよい。例えば操作画面設計装置1は、車両に搭載されずに執務室に配置され、執務室にて車載装置の操作画面の設計を支援するために用いられるコンピュータ(例えばパーソナルコンピュータ)であってもよい。また、操作画面設計装置1は、車両に搭載された車載装置に接続されて、車載装置のディスプレイでGUIを確認しながら設計を支援するために使用されるコンピュータであってもよい。
操作画面設計装置1は、例えばIVI(In-Vehicle Infotainment)装置の操作画面の設計を支援する装置であってよい。
(composition)
FIG. 1 is a schematic diagram of an example of an operation screen design device according to an embodiment. The operation
The operation
操作画面設計装置1は、例えばコンピュータにより実現され、入力部10、表示部11、出力部12、制御部20及び記憶部30を備える。
入力部10は、キーボード、マウス、タッチパッド、タッチパネル等のユーザインタフェースであり、UIの設計者に操作されてデータ入力等に用いられる。入力部10は、制御部20に接続され、設計者の操作を操作信号に変換して制御部20に出力する。
The operation
The
表示部11は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ、CRT(Cathode Ray Tube)ディスプレイ等のディスプレイ装置であり、制御部20と接続され、操作画面上のオブジェクトの配置を編集する編集画面を表示するために使用される。
図2は、操作画面上のオブジェクトの配置を編集する編集画面の一例を示す図である。例えば、編集画面40には、設計対象の操作画面41の画面レイアウトを表示するキャンバス領域と、操作画面上に配置することができるUI部品であるオブジェクト43a、43b、43c、43d、…の一覧を表示するパレット領域42が表示される。
The
2 is a diagram showing an example of an editing screen for editing the arrangement of objects on an
例えば、オブジェクト43aは、操作画面上に表示される四角形の図形である四角形オブジェクトであり、オブジェクト43bは、操作画面上に表示される円形の図形である円形オブジェクトである。
また、オブジェクト43cは、テキストオブジェクトであり、オブジェクト43dは、操作画面の利用者がGUIのボタンとして操作できるボタンオブジェクトである。ボタンオブジェクト43dには、ボタン上に表示されるテキストを付与できる。
For example,
The
UIの設計者は、パレット領域42内のオブジェクト43a~43dの中から、操作画面上に配置すべきオブジェクトを選択する。例えば、マウス、タッチパッド、タッチパネル等によりクリックすることによりオブジェクトを選択する。
そして、選択したオブジェクトを操作画面41内の所望の位置へ配置することにより、操作画面上にオブジェクトを配置する。例えば、矢印44に示すようにドラッグして操作画面41へ移動させ、操作画面41内の所望の位置にドロップすることにより、ドロップされた位置にオブジェクトを配置する。参照符号45a及び45bは、操作画面上に配置済みのボタンオブジェクトとテキストオブジェクトである。
The UI designer selects an object to be placed on the operation screen from among the
The selected object is then placed at a desired position on the
図1を参照する。制御部20は、実施形態の操作画面設計方法を実行する制御回路であり、例えば、CPU(Central Processing Unit)やMPU(Micro-Processing Unit)等のプロセッサと、コンピュータプログラム及び所要データを格納するための半導体記憶装置、磁気記憶装置及び光学記憶装置等の記憶媒体を備える。
制御部20は、記憶媒体に記憶されたコンピュータプログラムをプロセッサが実行することにより、操作受付部21、オブジェクト配置部22、オブジェクト調整部23、テキスト挿入部24、テキスト調整部25、表示制御部26及び通知部27として機能する。
Please refer to Fig. 1. The
The
設計者が入力部10を用いて入力操作を行うと、操作受付部21は、入力部10から入力操作を受け付ける。例えば操作受付部21は、上記のようにパレット領域42にあるオブジェクトを操作画面41に配置する操作を受け付ける。
また例えば、操作画面41に配置されたオブジェクトの大きさ(すなわち幅及び高さ)を変更する操作を受け付けてもよい。この際に設計者は、例えばオブジェクトの枠をドラッグ&ドロップすることによりオブジェクトの大きさを変更してよい。
When a designer performs an input operation using the
Also, for example, an operation to change the size (i.e., width and height) of an object arranged on the
また例えば、操作受付部21は、オブジェクトに挿入するテキストを入力する操作を受け付けてもよい。テキストを入力する際に設計者は、例えば入力部10であるキーボード、マウス、タッチパッド、タッチパネルから、テキストに含まれる文字情報を入力してよい。
また例えば、操作受付部21は、オブジェクトにアイコンを挿入する操作を受け付けてもよい。
Furthermore, for example, the
Furthermore, for example, the
オブジェクト配置部22は、オブジェクトを操作画面41内に配置する操作を操作受付部21が受け付けると、指定された配置位置にオブジェクトを配置する処理を行う。例えばオブジェクト配置部22は、ドラッグ&ドロップ操作によってドロップされた位置にオブジェクトを配置する。
また、オブジェクト配置部22は、オブジェクトの大きさを変更する操作を操作受付部21が受け付けると、操作に応じてオブジェクトの大きさを変更する。
When the
Furthermore, when the
オブジェクト調整部23は、オブジェクトの位置及び大きさを調整する。例えば、操作画面41には、所定のピクセル間隔(例えば8ピクセル間隔)のグリッドを設定してよい。オブジェクト配置部22がオブジェクトを配置すると、オブジェクト調整部23は、オブジェクトがグリッドに合って配置されるように(すなわちグリッドにスナップされるように)オブジェクトの位置を調整してよい。
The
なお、「オブジェクトがグリッドに合っている」とは、例えばオブジェクトの4隅の位置がグリッド位置に一致していることをいう。例えば、四角形オブジェクト43aやボタンオブジェクト43dの場合、四角形やボタンの4隅の位置がグリッド位置に一致していることであってよい。また円形オブジェクト43bやテキストオブジェクト43cの場合、円形やテキストに外接する四角形の4隅の位置がグリッド位置に一致していることであってよい。
Note that "an object fits into the grid" means, for example, that the positions of the four corners of the object match the grid positions. For example, in the case of a
また、オブジェクト調整部23は、操作画面に配置されたオブジェクトが、操作画面の設計上の所定の制約条件を満足するように、オブジェクトの位置を調整する。
操作画面の設計上の制約条件は、例えば以下の条件(1)~(6)であってよい。
(1)操作画面の端とオブジェクトとの間の間隔の最小値
(2)隣接するオブジェクト間の間隔の最小値
(3)オブジェクトの大きさの最小値
(4)テキストのフォントサイズの最小値
(5)テキストの文字間隔の最小値
(6)オブジェクトの境界(すなわちオブジェクトの縁)と、オブジェクト内に挿入されたテキストやアイコンと間の余白の最小値及び最大値
これらの値は、例えばピクセル数として指定してもよく、操作画面上の実際の表示サイズとして指定してもよい。
Furthermore, the
The constraints on the design of the operation screen may be, for example, the following conditions (1) to (6).
(1) The minimum space between the edge of the operation screen and an object. (2) The minimum space between adjacent objects. (3) The minimum size of an object. (4) The minimum font size of text. (5) The minimum character spacing of text. (6) The minimum and maximum space between the boundary of an object (i.e., the edge of the object) and any text or icons inserted within the object. These values may be specified, for example, as the number of pixels, or as the actual display size on the operation screen.
これらの制約条件のうち条件(4)~(6)はテキストに関する条件であり、操作画面が使用される地域(仕向地)で使用される言語によって好適な条件が異なる。例えば、これらの制約条件(4)~(6)は、使用される言語に応じて以下の観点に基づいて設定してよい。
(A)複数行のテキストを右揃え、左揃えのいずれで表示するか
(B)文字の上下中心位置が異なる文字があるか(例えば「g」)
(C)文字幅は一定か(例えば「I」、「M」のように変化するか)
(D)複数行の考え方(ハイフン、分節)
これらの観点に基づいて制約条件を設定する場合、例えば、仕向地の優先順位を設定し、優先順位の高い仕向地から順に制約条件を満たすことができるように、上記観点(A)~(D)に基づいて制約条件(4)~(6)を設定してよい。
Among these constraints, conditions (4) to (6) are conditions related to text, and the suitable conditions differ depending on the language used in the region (destination) where the operation screen is used. For example, these constraints (4) to (6) may be set based on the following viewpoints depending on the language used.
(A) Whether multiple lines of text should be right-justified or left-justified. (B) Whether there are characters whose vertical centers differ (for example, "g")
(C) Is the character width constant (e.g., does it vary like "I" and "M")?
(D) Multi-line thinking (hyphens, segmentation)
When setting constraint conditions based on these viewpoints, for example, a priority order may be set for destinations, and constraint conditions (4) to (6) may be set based on the above viewpoints (A) to (D) so that the constraint conditions are satisfied in order of priority for destinations.
これらの制約条件は操作画面の予め設定されて、設定データ31として記憶部30に記憶される。
また、設定データ31として、操作画面の設定情報を設定してもよい。操作画面の設定情報として、例えば操作画面の幅方向及び高さ方向のピクセル数や画面密度[dpi]を設定してよい。また、設定データ31としてオブジェクト43a~43dのデフォルトの大きさや、テキストのデフォルトのフォントサイズ、アイコンのデフォルトの大きさを設定してよい。
These constraints are set in advance on the operation screen and stored in the
Furthermore, setting information for the operation screen may be set as the setting
また、設計対象の操作画面が車載装置の操作画面である場合、操作画面に配置されるオブジェクトについて、車両が右ハンドル車であるか左ハンドル車であるかに応じて、当該オブジェクトの配置位置を左右で反転させる必要があるか否かを、設定データ31として設定してもよい。
また、テキストの言語に応じて、複数行のテキストを右揃えで表示するのか左揃えで表示するのかを設定データ31として設定してもよい。
In addition, when the operation screen to be designed is an operation screen for an in-vehicle device, the setting
Also, depending on the language of the text, the setting
オブジェクト調整部23は、オブジェクト配置部22によってオブジェクトの大きさが変更されると、所定ピクセル数(例えば8ピクセル)の整数倍となるようにオブジェクトの大きさを調整してもよい。また、上記の制約条件を満足するようにオブジェクトの大きさを調整してもよい。
さらに、オブジェクトにテキストが挿入された場合には、挿入されたテキストとオブジェクトとが上記の制約条件を満足するように、オブジェクトの大きさを調整してもよい。
操作画面41に配置されたオブジェクトの配置位置や、大きさ、表示色の情報は、オブジェクトデータ32として記憶部30に記憶される。
When the size of an object is changed by the
Furthermore, when text is inserted into an object, the size of the object may be adjusted so that the inserted text and the object satisfy the above constraints.
Information on the placement position, size, and display color of an object placed on the
オブジェクトに挿入するテキストを入力する操作を操作受付部21が受け付けると、テキスト挿入部24は、オブジェクトにテキストを挿入する。図2の例では、操作画面上に配置されたボタンオブジェクト45aやテキストオブジェクト45bに、テキストを挿入する。
また、テキスト挿入部24は、オブジェクトに挿入するアイコンを入力する操作を操作受付部21が受け付けた場合にオブジェクトにアイコンを挿入する。
挿入されるテキストやアイコンの情報は、テキストアイコンデータ33として、記憶部30に記憶される。
When the
Furthermore, the
Information on the text and icon to be inserted is stored in the
同一のオブジェクトに挿入するテキストとして、複数のテキストを設定され、これらの複数のテキストの中から何れかを選択してオブジェクトに挿入してもよい。例えば、設計対象の操作画面を表示する製品の仕向地に応じて異なる言語の同義語のテキストを設定してよい。また例えば、オブジェクトの操作状態に応じてこのオブジェクト内に表示するテキストが変化する場合、操作状態に応じて表示する異なるテキストを設定してもよい。以下の説明では、仕向地に応じて異なる言語の同義語のテキストを設定する場合の例について説明する。
また、テキストアイコンデータ33に、同一のオブジェクトに挿入される複数の異なるアイコンを設定してもよい。例えば、オブジェクトの操作状態に応じてこのオブジェクト内に表示するアイコンが変化する場合、操作状態に応じて表示する異なるアイコンを設定してもよい。
A plurality of pieces of text may be set as text to be inserted into the same object, and one of these pieces of text may be selected and inserted into the object. For example, synonymous text in different languages may be set depending on the destination of the product that displays the operation screen of the design target. Also, for example, if the text displayed within an object changes depending on the operation state of the object, different text may be set to be displayed depending on the operation state. In the following description, an example of setting synonymous text in different languages depending on the destination will be described.
Furthermore, a plurality of different icons to be inserted into the same object may be set in the
テキスト調整部25は、オブジェクトにテキストが挿入された場合に、挿入されたテキストとオブジェクトとが上記の制約条件を満足するようにテキストのフォントサイズを調整してもよい。
表示制御部26は、操作画面41に配置されたオブジェクトや、オブジェクトに挿入されたテキスト、アイコンを表示部11に表示する処理を行う。
これら操作受付部21、オブジェクト配置部22、オブジェクト調整部23、テキスト挿入部24、テキスト調整部25、表示制御部26及び通知部27の処理の詳細は、さらに後述する。
When text is inserted into an object, the
The
The processing by the
通知部27は、操作画面設計装置1から設計者に提示される警報やメッセージを出力する。例えば、通知部27は、視覚的な警報やメッセージを表示部11に表示してもよく、聴覚的な警報やメッセージを出力部12から出力してもよい。
出力部12は、制御部20からの各種情報を出力するインタフェース装置である。出力部12は、例えばDVD(Digital Versatile Disc)ドライブ、USB(Universal Serial Bus)インタフェース、ネットワークインターフェース等を備えてよい。出力部12は、記憶部30に記憶されたオブジェクトデータ32及びテキストアイコンデータ33を、操作画面の設定データとして外部に出力してよい。出力部12は、制御部20からの聴覚的な警報やメッセージを出力するためのスピーカやブザーを備えてもよい。
The
The
(制御部20による処理)
次に、制御部20の操作受付部21、オブジェクト配置部22、オブジェクト調整部23、テキスト挿入部24、テキスト調整部25、表示制御部26及び通知部27による処理の詳細を説明する。
図3は、制御部20による処理の一例のフローチャートである。
ステップS1では、設計対象の操作画面の初期設定を行う。この初期設定において上記の操作画面の設定情報、設計上の制約条件、オブジェクトのデフォルトの大きさ、テキストのデフォルトのフォントサイズ、アイコンのデフォルトの大きさを設定して、設定データ31として記憶部30に記憶する。また、設計対象の操作画面が車載装置の操作画面である場合、車両が右ハンドル車であるか左ハンドル車であるかに応じて、配置位置を左右反転させるオブジェクトであるか否かを設定してもよい。
(Processing by Control Unit 20)
Next, the processes performed by the
FIG. 3 is a flowchart of an example of processing by the
In step S1, the operation screen to be designed is initially set. In this initial setting, the setting information of the operation screen, the design constraint conditions, the default size of objects, the default font size of text, and the default size of icons are set and stored in the
ステップS2においてオブジェクト配置部22とオブジェクト調整部23は、オブジェクト配置処理を行う。オブジェクト配置処理の一例のフローチャートを図4に示す。
ステップS10において、設計者がパレット領域42にあるオブジェクト43a~43dのうち所望のオブジェクトを選択してドラッグすると、オブジェクト配置部22は、オブジェクトの配置位置の候補である配置位置候補を推奨する。
例えばオブジェクト配置部22は、選択されたオブジェクトが上記の制約条件(1)及び(2)を満たし、かつオブジェクトがグリッドに合って配置される1以上の配置位置候補を決定する。なお、パレット領域42から選択された直後のオブジェクトの大きさは、予め設定されたデフォルト値に設定されている。表示制御部26は、決定された配置位置候補を表示部11に表示する。
In step S2, the
In step S10, when the designer selects and drags a desired object from among the
For example, the
ステップS11においてオブジェクト配置部22は、設計者がオブジェクトを操作画面41内にドロップした位置が、配置位置候補であるか否かを判定する。ドロップした位置が配置位置候補である場合(ステップS11:Y)に、処理はステップS12へ進む。この場合にはステップS12において、操作画面41内でドロップした位置にオブジェクトが配置されてオブジェクト配置処理が終了する。
一方で、ドロップした位置が配置位置候補でない場合(ステップS11:N)に処理はステップS13に進む。
In step S11, the
On the other hand, if the dropped position is not one of the arrangement position candidates (step S11: N), the process proceeds to step S13.
ステップS13においてオブジェクト調整部23は、ドロップされたオブジェクトがグリッドに合っているか否かを判定する。オブジェクトがグリッドに合っている場合(ステップS13:Y)に処理はステップS15へ進む。オブジェクトがグリッドに合っていない場合(ステップS13:N)に処理はステップS14に進む。
ステップS14においてオブジェクト調整部23は、オブジェクトが最寄りのグリッドに合うようにオブジェクトの配置位置を調整する。その後に処理はステップS15へ進む。なお、グリッドが設定されていない場合はステップS13及びS14を省略してもよい。
In step S13, the
In step S14, the
ステップS15においてオブジェクト調整部23は、オブジェクトが上記の制約条件(1)及び(2)を満たしているか否かを判定する。オブジェクトが上記の制約条件(1)及び(2)を満たしている場合(ステップS15:Y)には、処理はステップS12へ進む。この場合には、ドロップした位置にオブジェクトが配置される(ステップS13で「Y」の場合)。または、ステップS14で調整された位置にオブジェクトが配置される(ステップS13で「N」の場合)。その後にオブジェクト配置処理が終了する。
In step S15, the
オブジェクトが上記の制約条件(1)及び(2)を満たしていない場合(ステップS15:N)に処理はステップS16に進む。ステップS16においてオブジェクト調整部23は、オブジェクトが制約条件(1)及び(2)を満たし、かつオブジェクトがグリッドに合って配置されるような最寄りの位置に、オブジェクトの位置を調整する。
その後に処理はステップS12へ進む。ステップS12ではステップS16で調整された位置にオブジェクトが配置される。その後にオブジェクト配置処理が終了する。
なお、制約条件(1)及び(2)を満たすようにオブジェクトの位置を調整した場合に、通知部27は、調整したオブジェクトの位置を、手動で再調整することを設計者に促す警報又はメッセージを出力してもよい。自動で調整されたオブジェクトの位置は、必ずしも設計者の意図に沿っているとは限らないためである。
If the object does not satisfy the constraints (1) and (2) (step S15: N), the process proceeds to step S16. In step S16, the
Then, the process proceeds to step S12. In step S12, the object is placed at the position adjusted in step S16. Then, the object placement process ends.
When the position of an object is adjusted to satisfy the constraints (1) and (2), the
以下、図5(a)及び図5(b)を参照して、ステップS15及びS16におけるオブジェクト調整部23の処理を説明する。
図5(a)は、テキストオブジェクト45bが操作画面41に既に配置されている状態で、更にボタンオブジェクト45aがドロップされた状態を示している。ボタンオブジェクト45aがドロップされると、オブジェクト調整部23は、ボタンオブジェクト45aと操作画面41との間隔Sp1が、制約条件(1)の最小値以上であるか否かを判定する。また、ボタンオブジェクト45aとテキストオブジェクト45bとの間隔Sp2が、制約条件(2)の最小値以上であるか否かを判定する。
The process of the
5A shows a state in which a
間隔Sp1、Sp2が、制約条件(1)、(2)の最小値以上である場合には、オブジェクトが制約条件(1)及び(2)を満たすと判定する。この場合、オブジェクト調整部23は、ボタンオブジェクト45aの位置を調整しない。
間隔Sp1、Sp2が、制約条件(1)、(2)の最小値未満である場合には、オブジェクト調整部23は、図5(b)に示すようにオブジェクトの位置を調整する。
例えばオブジェクト調整部23は、ボタンオブジェクト45aと操作画面41との間隔Sp3と、ボタンオブジェクト45aとテキストオブジェクト45bとの間隔Sp4が、制約条件(1)、(2)の最小値以上となり、かつオブジェクトがグリッドに合うようにボタンオブジェクト45aの位置を調整する。
If the intervals Sp1 and Sp2 are equal to or greater than the minimum values of the constraints (1) and (2), it is determined that the object satisfies the constraints (1) and (2). In this case, the
If the intervals Sp1 and Sp2 are less than the minimum values of the constraints (1) and (2), the
For example, the
なお、ステップS16においてオブジェクトの位置を調整する代わりに、通知部27は、オブジェクトが制約条件(1)及び(2)を満たしていないことを通知する警報やメッセージを出力してもよい。例えば、制約条件(1)及び(2)を満たしていないオブジェクトを強調表示することにより配置位置の調整を設計者に促してもよい。例えば、オブジェクトの色、線の太さなどの表示態様を変更することによりオブジェクトを強調表示してよい。
また例えば、通知部27によりオブジェクトが制約条件(1)及び(2)を満たしていないことを通知する警報やメッセージを出力するとともに、制約条件(1)及び(2)を満たしていないオブジェクトをオブジェクト調整部23が削除してもよい。
Instead of adjusting the position of the object in step S16, the
Also, for example, the
図6を参照する。設計対象が車載装置の操作画面41である場合、車両が右ハンドル車であるか左ハンドル車であるかに応じて、オブジェクトの配置位置を左右反転させることがある。
例えば右ハンドル車である場合には、ハンドルの左側に配置される操作画面41においてボタンオブジェクトを操作し易いように、参照符号46bの位置にボタンオブジェクトを配置し、左ハンドル車である場合には、ハンドルの右側に配置される操作画面41においてボタンオブジェクトを操作し易いように、参照符号45aの位置にボタンオブジェクトを配置する。
Please refer to Fig. 6. When the design object is an
For example, in the case of a right-hand drive vehicle, the button object is placed at the position indicated by
このようなオブジェクトを操作画面41に配置する場合には、当該オブジェクトは右ハンドル車であるか左ハンドル車であるかに応じて配置位置を左右反転させること、及び左右反転する際の対称中心点46aを設定データ31として設定する。なお対称中心点46aは、必ずしも操作画面41の左右中心の位置になくてもよい。
このような右ハンドル車であるか左ハンドル車であるかに応じて、オブジェクトの位置を反転させると、右ハンドル車又は左ハンドル車の一方である場合には制約条件(1)及び(2)を満たしても、他方である場合には満たさない場合がある。
When arranging such an object on the
If the position of the object is inverted depending on whether it is a right-hand drive vehicle or a left-hand drive vehicle, constraints (1) and (2) may be satisfied if the vehicle is either a right-hand drive vehicle or a left-hand drive vehicle, but not if the vehicle is the other.
図6の例では、右ハンドル車であっても左ハンドル車であっても位置が反転しないオブジェクト46cが配置されている。そのため、参照符号45aの位置にオブジェクトが配置された場合には制約条件(1)及び(2)を満たすが、参照符号46bの位置に配置された場合には、オブジェクト46cとの間隔Sp5が制約条件(2)を満たさないことがある。
このため、右ハンドル車であるか左ハンドル車であるかに応じて配置位置を左右反転させるオブジェクトを配置する場合、オブジェクト調整部23は、ステップS15及びS16において、対称中心点46aに対して左右反転させた両方の位置において制約条件(1)及び(2)を満たすか否かを判定し、左右反転させても制約条件(1)及び(2)を満たすようにオブジェクトの配置位置を調整してよい。または、制約条件(1)及び(2)を満たさない場合に、通知部27が警報又はメッセージを出力してよい。
6, an object 46c is placed, whose position does not change whether the vehicle is a right-hand drive vehicle or a left-hand drive vehicle. Therefore, when an object is placed at the position indicated by
For this reason, when arranging an object whose position is reversed left and right depending on whether the vehicle is a right-hand drive vehicle or a left-hand drive vehicle, the
図3を参照する。ステップS3においてオブジェクト配置部22とオブジェクト調整部23は、オブジェクトサイズ設定処理を行う。オブジェクトサイズ設定処理の一例のフローチャートを図7に示す。
上記の通り、オブジェクトを操作画面41に配置した直後では、オブジェクトの大きさは、設定データ31に設定されたデフォルト値に設定される。設計者は、配置したオブジェクトの枠をドラッグすることによりオブジェクトの大きさを変更できる。
Please refer to Fig. 3. In step S3, the
As described above, immediately after an object is placed on
ステップS20においてオブジェクトの大きさの変更を開始すると、オブジェクト配置部22は、オブジェクトの大きさの候補であるサイズ候補を推奨する。例えば、オブジェクト配置部22は、この大きさを変更した後のオブジェクトが、上記の制約条件(1)及び(2)を満たし、所定ピクセル数(例えば8ピクセル)の整数倍となるようにサイズ候補を決定する。表示制御部26は、決定されたサイズ候補を示す枠線を表示部11に表示する。
When resizing of the object is started in step S20, the
ステップS21においてオブジェクト配置部22は、設計者がオブジェクトの枠をドロップした位置が、推奨された位置であるか否か(すなわち設計者が指定した大きさがサイズ候補と等しいか否か)を判定する。ドロップした位置が推奨された位置である場合(ステップS21:Y)に処理はステップS22へ進む。この場合にはステップS22において、設計者が指定した大きさにオブジェクトの大きさを設定して、オブジェクトサイズ設定処理が終了する。
ドロップした位置が推奨された位置でない場合(ステップS21:N)に処理はステップS23に進む。
In step S21, the
If the dropped position is not the recommended position (step S21: N), the process proceeds to step S23.
ステップS23においてオブジェクト調整部23は、指定されたオブジェクトの大きさが所定ピクセル数(例えば8ピクセル)の整数倍であるか否か(すなわち、ドロップした枠の位置がグリッドに合っているか否か)を判定する。また、オブジェクト調整部23は、指定されたオブジェクトの大きさが上記の制約条件(3)の最小値以上であるか否かを判定する。
オブジェクトの大きさが所定ピクセル数の整数倍であり、且つ制約条件(3)の最小値以上である場合(ステップS23:Y)に処理はステップS25へ進む。オブジェクトの大きさが所定ピクセル数の整数倍でないか、制約条件(3)の最小値未満の場合(ステップS23:N)に処理はステップS24に進む。
In step S23, the
If the size of the object is an integer multiple of the predetermined number of pixels and is equal to or greater than the minimum value of constraint (3) (step S23: Y), the process proceeds to step S25. If the size of the object is not an integer multiple of the predetermined number of pixels or is less than the minimum value of constraint (3) (step S23: N), the process proceeds to step S24.
ステップS24においてオブジェクト調整部23は、オブジェクトの大きさを、所定ピクセル数の整数倍となり、且つ制約条件(3)の最小値以上の値となるように調整する。その後に処理はステップS25に進む。
ステップS25においてオブジェクト調整部23は、オブジェクトが上記の制約条件(1)及び(2)を満たしているか否かを判定する。オブジェクトが上記の制約条件(1)及び(2)を満たしている場合(ステップS25:Y)には、処理はステップS22へ進む。この場合、設計者が指定した大きさにオブジェクトの大きさを設定する(ステップS23で「Y」の場合)。または、ステップS24で調整された大きさに設定される(ステップS23で「N」の場合)。その後にオブジェクトサイズ設定処理が終了する。
In step S24, the
In step S25, the
オブジェクトが上記の制約条件(1)及び(2)を満たしていない場合(ステップS25:N)に処理はステップS26に進む。ステップS26においてオブジェクト調整部23は、オブジェクトが制約条件(1)及び(2)を満たし、かつ所定ピクセル数の整数倍となるようにオブジェクトの大きさを調整する。
その後に処理はステップS22へ進む。ステップS22では、ステップS26で調整された大きさにオブジェクトを調整する。その後にオブジェクトサイズ設定処理が終了する。
If the object does not satisfy the constraints (1) and (2) (step S25: N), the process proceeds to step S26. In step S26, the
Then, the process proceeds to step S22. In step S22, the object is adjusted to the size adjusted in step S26. Then, the object size setting process ends.
なお、制約条件(1)及び(2)を満たすようにオブジェクトの大きさを調整した場合に、通知部27は、調整したオブジェクトの大きさを手動で再調整することを設計者に促す警報又はメッセージを出力してもよい。自動で調整されたオブジェクトの大きさは、必ずしも設計者の意図に沿っているとは限らないためである。
また、ステップS26においてオブジェクトの大きさを調整する代わりに、通知部27は、オブジェクトが制約条件(1)及び(2)を満たしていないことを通知する警報やメッセージを出力してもよい。例えば、制約条件(1)及び(2)を満たしていないオブジェクトを強調表示することにより配置位置の調整を設計者に促してもよい。例えば、オブジェクトの色、線の太さなどの表示態様を変更することによりオブジェクトを強調表示してよい。
また例えば、通知部27によりオブジェクトが制約条件(1)及び(2)を満たしていないことを通知する警報やメッセージを出力するとともに、制約条件(1)及び(2)を満たしていないオブジェクトをオブジェクト調整部23が削除してもよい。
When the size of an object is adjusted to satisfy the constraints (1) and (2), the
Also, instead of adjusting the size of the object in step S26, the
Also, for example, the
図3を参照する。ステップS4において操作受付部21がテキストやアイコンをオブジェクトに挿入する操作を受け付けると、テキスト挿入部24は、オブジェクトにテキストやアイコンを挿入する。
図8は、操作画面41上のオブジェクトに挿入されるテキスト及びアイコンの一例を示す図である。図8の例では、操作画面41には、ボタンオブジェクト45a、45g、テキストオブジェクト45b、45c、円形オブジェクト45d~45fが配置されている。
See Fig. 3. When the
Fig. 8 is a diagram showing an example of text and icons inserted into objects on the
そして、ボタンオブジェクト45a、45gにはテキスト「Back」、「Play List」が挿入される。
また、テキストオブジェクト45bのテキストとして「Audio」が入力され、テキストオブジェクト45cのテキストには変数(Track Name)の値が入力される。
円形オブジェクト45d~45fには、早戻し操作、再生操作、早送り操作を示すアイコン47d~47fがそれぞれ配置されている。
Then, the texts "Back" and "Play List" are inserted into the button objects 45a and 45g.
Furthermore, "Audio" is input as the text of
操作受付部21が、テキストやアイコンをオブジェクトに挿入する操作を受け付けると、テキスト挿入部24は、オブジェクトに挿入されたテキストやアイコンと、テキストやアイコンが挿入されたオブジェクトとを、示すテキストアイコンデータ33を生成する。
例えばテキストアイコンデータ33は、図9(a)に示すリンク情報と、図9(b)に示すアイコン情報と、図9(c)に示すテキスト情報とを備えてよい。テキストアイコンデータ33は、リンク情報、アイコン情報及びテキスト情報に加えて、挿入されたアイコンの位置及び大きさ、挿入されたテキストの位置及びフォントサイズの情報を有している。テキストアイコンデータ33を生成した直後は、テキストのフォントサイズ、アイコンの大きさは、設定データ31に設定されたデフォルト値に設定される。
When the
For example, the
リンク情報は、オブジェクトに挿入されたテキストやアイコンと、テキストやアイコンが挿入されたオブジェクトとを関連付ける情報である。例えばリンク情報は、オブジェクトのオブジェクトIDと、テキストのテキストID又はアイコンのアイコンIDを関連付けるテーブルであってよい。
図9(a)の例では、オブジェクト45a~45gのオブジェクトIDはそれぞれ「ID_B0001」~「ID_B0007」であり、テキスト「Play List」、「Audio」及び「Back」のテキストIDはそれぞれ「ID_T0001」、「ID_T0029」及び「ID_T0034」であり、アイコン47d~47fのアイコンIDはそれぞれ「ID_I0026」、「ID_I0027」及び「ID_I0029」である。
そして、「ID_B0001」に「ID_T0034」が、「ID_B0002」に「ID_T0029」が、「ID_B0004」に「ID_I0026」が、「ID_B0005」に「ID_I0027」が、「ID_B0006」に「ID_I0029」が、「ID_B0007」に「ID_T0001」がそれぞれ対応付けられている。
The link information is information that associates text or an icon inserted into an object with the object that the text or icon is inserted into. For example, the link information may be a table that associates the object ID of an object with the text ID of the text or the icon ID of the icon.
In the example of FIG. 9(a), the object IDs of
"ID_B0001" is associated with "ID_T0034", "ID_B0002" is associated with "ID_T0029", "ID_B0004" is associated with "ID_I0026", "ID_B0005" is associated with "ID_I0027", "ID_B0006" is associated with "ID_I0029", and "ID_B0007" is associated with "ID_T0001".
上記のとおり、同一のオブジェクトに挿入されるテキストとして複数の異なるテキストを設定してもよい。このため、テキスト情報は、同一のオブジェクトに挿入される複数の異なるテキストを含んでいてもよい。
図9(c)の例では、異なる言語(例えば英語と日本語)の同義語のテキストが設定されている。日本語テキスト「プレイリスト」、「音楽」、「戻る」は、英語テキスト「Play List」、「Audio」及び「Back」の同義語であり、「プレイリスト」と「Play List」に同一ID「ID_T0001」が割り当てられている。同様に「音楽」と「Audio」には同一ID「ID_T0029」が割り当てられ、「戻る」と「Back」には同一ID「ID_T0034」が割り当てられている。
As described above, a plurality of different pieces of text may be set as text to be inserted into the same object, and therefore the text information may include a plurality of different pieces of text to be inserted into the same object.
In the example of Fig. 9(c), synonymous texts in different languages (e.g., English and Japanese) are set. The Japanese texts "Play List", "Music", and "Back" are synonymous with the English texts "Play List", "Audio", and "Back", and the same ID "ID_T0001" is assigned to "Play List" and "Play List". Similarly, the same ID "ID_T0029" is assigned to "Music" and "Audio", and the same ID "ID_T0034" is assigned to "Back" and "Back".
同一のオブジェクトに挿入されるアイコンとして、複数の異なるアイコンを設定してもよい。このため、アイコン情報は、同一のオブジェクトに挿入される複数の異なるアイコンを含んでいてもよい。図9(b)のアイコン情報の例では、円形オブジェクト45d~45fが操作されていないデフォルト時を示す白抜きのアイコンと、押下時を示す黒塗りのアイコンが設定されている。
Multiple different icons may be set as icons to be inserted into the same object. Therefore, the icon information may include multiple different icons to be inserted into the same object. In the example of the icon information in FIG. 9(b), a white icon indicating the default state in which the
図3を参照する。ステップS5においてオブジェクト調整部23は、テキストが挿入されたオブジェクトの大きさを、挿入されたテキストに応じて調整する。
具体的には、オブジェクト調整部23は、オブジェクトとテキストが、上記の制約条件(6)を満たし、所定ピクセル数(例えば8ピクセル)の整数倍となるようにオブジェクトの大きさを決定する。
図10(a)及び図10(b)を参照してテキストに応じたオブジェクトの大きさの調整を説明する。
Please refer to Fig. 3. In step S5, the
Specifically, the
Adjustment of the size of an object according to text will be described with reference to FIGS. 10(a) and 10(b).
例えば、オブジェクト調整部23は、テキスト「Back」が挿入されたボタンオブジェクト45aの境界と、テキスト「Back」との間の余白Ma1が、制約条件(6)の最小値以上かつ最大値以下であるか否かを判定する。余白Ma1が、制約条件(6)の最小値以上かつ最大値以下である場合には、ボタンオブジェクト45aとテキスト「Back」が制約条件(6)を満たすと判定する。この場合にはオブジェクト調整部23は、オブジェクト45aの大きさを調整しない。
For example, the
一方で、余白Ma1が、制約条件(6)の最小値未満である場合には、図10(b)に示すように、ボタンオブジェクト45aの境界とテキスト「Back」との間の余白Ma2が制約条件(6)の最小値以上となり、オブジェクトの大きさが所定ピクセル数(例えば8ピクセル)の整数倍となるようにオブジェクトを拡大する。
但し、オブジェクトを拡大することにより、制約条件(1)、(2)が満たされなくなる場合には、オブジェクト調整部23は、制約条件(1)、(2)を満たすようにオブジェクトの配置位置を修正する。制約条件(1)、(2)を満たすようにオブジェクトの配置位置を修正できない場合には、オブジェクト調整部23はオブジェクトの大きさを調整しなくてよい。
On the other hand, if the margin Ma1 is less than the minimum value of constraint (6), then as shown in FIG. 10(b), the margin Ma2 between the boundary of the
However, if the constraints (1) and (2) are no longer satisfied by enlarging the object, the
同様に、余白Ma1が、制約条件(6)の最大値より大きい場合には、ボタンオブジェクト45aの境界とテキスト「Back」との間の余白が制約条件(6)の最大値以下となり、オブジェクトの大きさが所定ピクセル数(例えば8ピクセル)の整数倍となるようにオブジェクトを縮小する。
但し、オブジェクトを縮小することにより、制約条件(3)が満たされなくなる場合には、オブジェクトの大きさを調整しない。
Similarly, if the margin Ma1 is greater than the maximum value of constraint (6), the margin between the boundary of the
However, if reducing the size of an object would result in the constraint condition (3) not being satisfied, the size of the object is not adjusted.
同一のオブジェクトに挿入するテキストとして、複数の異なる言語の同義語のテキストが設定され、これらの複数のテキストの中から仕向地に応じて何れかを選択してオブジェクトに挿入する場合には、オブジェクト調整部23は、これら複数のテキストのいずれを挿入しても、上記の制約条件(6)を満たすようにオブジェクトの大きさを調整する。
すなわち、オブジェクト調整部23は、オブジェクトに挿入されるテキストの言語を変更した場合に、変更後のテキストとオブジェクトが上記の制約条件(6)を満たすようにオブジェクトの大きさを調整してよい。
When synonymous texts in a plurality of different languages are set as texts to be inserted into the same object and one of these texts is selected according to the destination and inserted into the object, an
That is, when the language of the text to be inserted into the object is changed, the
このような、テキストの言語変更に伴うオブジェクトの大きさの調整の一例を以下に説明する。
まず、オブジェクト調整部23は、図11(a)に示すように英語テキスト「Play List」を挿入した場合に、ボタンオブジェクト45gの境界と英語テキスト「Play List」との間の余白Ma3が、制約条件(6)を満たすか否かを判定する。
An example of such an adjustment of the size of an object in response to a change in the language of the text will be described below.
First, the
同様に、図11(b)に示すようにボタンオブジェクト45gに挿入するテキストを日本語の「プレイリスト」をした場合に、ボタンオブジェクト45gの境界と日本語テキスト「プレイリスト」との間の余白が、制約条件(6)を満たすか否かを判定する。
ここでは、英語テキスト「Play List」の場合の余白Ma3は制約条件(6)を満たしているが、日本語テキスト「プレイリスト」の場合の余白は制約条件(6)を満たさない場合を想定する。
この場合、オブジェクト調整部23は、図11(c)に示すようにボタンオブジェクト45gの境界と日本語テキスト「プレイリスト」との間の余白Ma4が制約条件(6)を満たし、かつボタンオブジェクト45gの大きさが所定ピクセル数(例えば8ピクセル)の整数倍となるように拡大する。
Similarly, when the text to be inserted into
Here, it is assumed that the margin Ma3 in the case of the English text "Play List" satisfies the constraint (6), but the margin in the case of the Japanese text "Play List" does not satisfy the constraint (6).
In this case, the
なお、ステップS5においてオブジェクトの大きさを調整した場合に、通知部27は、調整したオブジェクトの大きさを手動で再調整することを設計者に促す警報又はメッセージを出力してもよい。自動で調整されたオブジェクトの大きさは、必ずしも設計者の意図に沿っているとは限らないためである。
また、ステップS5においてオブジェクトの大きさを調整する代わりに、通知部27は、オブジェクトとテキストが制約条件(6)を満たしていないことを通知する警報やメッセージを出力してもよい。例えば、制約条件(6)を満たしていないオブジェクトやテキストを強調表示することにより配置位置の調整を設計者に促してもよい。例えば、オブジェクトやテキストの色、線の太さなどの表示態様を変更することにより強調表示してよい。
また例えば、通知部27によりオブジェクトとテキストが制約条件(6)を満たしていないことを通知する警報やメッセージを出力するとともに、制約条件(6)を満たしていないオブジェクトをオブジェクト調整部23が削除してもよい。
When the size of the object is adjusted in step S5, the
Also, instead of adjusting the size of the object in step S5, the
For example, the
図3を参照する。オブジェクトの大きさを調整することによって、オブジェクトとテキストやアイコンとの制約条件(6)を満たすことができない場合には、ステップS6においてテキスト調整部25は、オブジェクトに挿入されたテキストを調整する。
例えば、テキスト調整部25は、制約条件(4)及び(6)を満足するようにテキストのフォントサイズを縮小又は拡大してよい。
また例えば、テキスト調整部25は、テキストを同義語に変更することにより制約条件(6)を満足するようにテキストの字数を減少又は増加させてもよい。
これらの調整に優先順位を設けてもよい。例えば、テキスト調整部25は、まずフォントサイズの変更を試み、フォントサイズの変更では制約条件(6)を満たすことができない場合にテキストを同義語に変更してよい。
See Fig. 3. If the constraint (6) between the object and the text or icon cannot be satisfied by adjusting the size of the object, then in step S6, the
For example, the
Also, for example, the
These adjustments may be prioritized. For example, the
同一のオブジェクトに挿入するテキストとして、複数の異なる言語の同義語のテキストが設定され、これらの複数のテキストの中から仕向地に応じて何れかを選択してオブジェクトに挿入する場合には、テキスト調整部25は、これら複数のテキストのいずれを挿入しても、上記の制約条件(6)を満たすようにテキストを調整する。
すなわち、テキスト調整部25は、オブジェクトに挿入されるテキストの言語を変更した場合に、変更後のテキストとオブジェクトが上記の制約条件(6)を満たすようにテキストを調整してよい。
When synonymous texts in a plurality of different languages are set as texts to be inserted into the same object, and one of these texts is selected according to the destination and inserted into the object, a
That is, when the language of the text to be inserted into an object is changed, the
なお、ステップS6においてテキストを調整した場合に、通知部27は、調整したテキストを手動で再調整することを設計者に促す警報又はメッセージを出力してもよい。自動で調整されたテキストは、必ずしも設計者の意図に沿っているとは限らないためである。
また、ステップS6においてテキストを調整する代わりに、通知部27は、オブジェクトとテキストが制約条件(6)を満たしていないことを通知する警報やメッセージを出力してもよい。例えば、制約条件(6)を満たしていないオブジェクトやテキストを強調表示することにより配置位置の調整を設計者に促してもよい。例えば、オブジェクトやテキストの色、線の太さなどの表示態様を変更することにより強調表示してよい。
When the text is adjusted in step S6, the
Also, instead of adjusting the text in step S6, the
また例えば、通知部27によりオブジェクトとテキストが制約条件(6)を満たしていないことを通知する警報やメッセージを出力するとともに、制約条件(6)を満たしていないテキストをテキスト調整部25が削除してもよい。
ステップS6におけるテキスト調整部25によるテキストの調整が終わると、その後に処理は終了する。
Also, for example, the
When the text adjustment by the
(実施形態の効果)
(1)コンピュータは、操作画面に表示すべき第1オブジェクトを、操作画面上に配置する操作を受け付ける処理と、第1オブジェクトよりも先に操作画面上に配置されている第2オブジェクトと第1オブジェクトとの間、又は操作画面の端と第1オブジェクトとの間の間隔が第1の制約条件を満たすように、第1オブジェクトの配置位置を修正する処理と、第1オブジェクト内に表示されるテキストの入力を受け付ける処理と、テキストに応じて第1オブジェクトの大きさを調整する処理と、を実行する。
これにより、UIの操作画面設計において、テキストが挿入されるオブジェクトを操作画面に配置する際の操作を省力化できる。
(Effects of the embodiment)
(1) The computer executes a process of accepting an operation to place a first object to be displayed on the operation screen on the operation screen, a process of correcting the position of the first object so that the distance between the first object and a second object placed on the operation screen before the first object, or between an edge of the operation screen and the first object, satisfies a first constraint condition, a process of accepting input of text to be displayed within the first object, and a process of adjusting the size of the first object in accordance with the text.
This makes it possible to reduce the amount of work required to place an object into which text is to be inserted on the operation screen when designing an operation screen for a UI.
(2)コンピュータは、第1オブジェクトの大きさを調整する処理の後に第1の制約条件を満たすように、第1オブジェクトの配置位置を修正する処理を実行してもよい。このとき、第1の制約条件を満たさない場合のみ、第1オブジェクトの配置位置を修正する処理を実行してもよい。これにより、テキスト挿入に伴うオブジェクトの修正作業を省力化できる。
(3)コンピュータは、第1の制約条件を満たさない場合、第1オブジェクトを強調表示する処理を実行してもよい。これにより、設計者は制約条件を満たさないオブジェクトに気づきやすくなる。
(2) After adjusting the size of the first object, the computer may execute a process of correcting the position of the first object so as to satisfy the first constraint. At this time, the computer may execute a process of correcting the position of the first object only when the first constraint is not satisfied. This can reduce the labor required for correcting objects when inserting text.
(3) The computer may execute a process of highlighting the first object when the first constraint condition is not satisfied, thereby making it easier for the designer to notice the object that does not satisfy the constraint condition.
(4)コンピュータは、テキストのフォントサイズ、及び第1オブジェクトの境界とテキストとの間の余白が、第2の制約条件を満たすように第1オブジェクトの大きさを調整してもよい。これにより、テキスト挿入に伴うオブジェクトの修正作業を省力化できる。
(5)コンピュータは、第2の制約条件を満たすようにテキストのフォントサイズを調整する処理を実行してもよい。このとき、第2の制約条件を満たさない場合のみ、テキストのフォントサイズを調整してもよい。これにより、テキストの修正作業を省力化できる。
(4) The computer may adjust the size of the first object so that the font size of the text and the margin between the boundary of the first object and the text satisfy the second constraint, thereby reducing the effort required to modify the object when inserting text.
(5) The computer may execute a process of adjusting the font size of the text so as to satisfy the second constraint. At this time, the computer may adjust the font size of the text only when the second constraint is not satisfied. This can reduce the labor required for correcting the text.
(6)コンピュータは、第2の制約条件を満たさない場合、テキスト又は第1オブジェクトを強調表示する処理を実行してもよい。これにより、設計者は制約条件を満たさないテキストに気づきやすくなる。
(7)コンピュータは、テキストの言語を変更した場合に、変更後のテキストのフォントサイズ及び第1オブジェクトの境界と変更後のテキストとの間の余白が、第2の制約条件を満たすように、第1オブジェクトの大きさ、又はテキストのフォントサイズを調整してもよい。又はテキストを同義語に変更して字数を減少又は増加させてもよい。
これにより、操作画面を複数の言語に対応させる修正作業を省力化できる。
(6) The computer may execute a process of highlighting the text or the first object when the second constraint is not satisfied, thereby making it easier for the designer to notice the text that does not satisfy the constraint.
(7) When the language of the text is changed, the computer may adjust the size of the first object or the font size of the text so that the font size of the changed text and the margin between the boundary of the first object and the changed text satisfy the second constraint. Or, the computer may change the text to a synonym to reduce or increase the number of characters.
This will reduce the effort required to modify the operation screen to make it compatible with multiple languages.
(8)コンピュータは、第1オブジェクトの大きさを調整した場合に、第1オブジェクトの大きさを手動で再調整することをユーザに促す通知を表示する処理を実行してもよい。これにより、設計者は、コンピュータにより自動で調整された結果に満足しない場合に再調整し易くなる。
(9)コンピュータは、第1オブジェクトの位置を、操作画面上に設定された基準点に対して左右に反転させた場合に、第1の制約条件を満たすか否かを判定する処理を、実行してもよい。これにより、設計対象が車載装置の操作画面である場合に、右ハンドル車であるか左ハンドル車であるかに応じた修正作業を省力化できる。
(8) When the size of the first object is adjusted, the computer may execute a process of displaying a notification that prompts the user to manually readjust the size of the first object, which makes it easier for the designer to readjust the size of the first object when the designer is not satisfied with the result of automatic adjustment by the computer.
(9) The computer may execute a process for determining whether the first constraint condition is satisfied when the position of the first object is flipped left and right with respect to a reference point set on the operation screen. This makes it possible to reduce the effort required for correction depending on whether the vehicle is a right-hand drive vehicle or a left-hand drive vehicle when the design target is an operation screen of an in-vehicle device.
1…操作画面設計装置、10…入力部、11…表示部、12…出力部、20…制御部、21…操作受付部、22…オブジェクト配置部、23…オブジェクト調整部、24…テキスト挿入部、25…テキスト調整部、26…表示制御部、27…通知部、30…記憶部、31…設定データ、32…オブジェクトデータ、33…テキストアイコンデータ 1...Operation screen design device, 10...Input unit, 11...Display unit, 12...Output unit, 20...Control unit, 21...Operation reception unit, 22...Object placement unit, 23...Object adjustment unit, 24...Text insertion unit, 25...Text adjustment unit, 26...Display control unit, 27...Notification unit, 30...Storage unit, 31...Setting data, 32...Object data, 33...Text icon data
Claims (13)
前記第1オブジェクトよりも先に前記操作画面上に配置されている第2オブジェクトと前記第1オブジェクトとの間、又は前記操作画面の端と前記第1オブジェクトとの間の間隔が第1の制約条件を満たすように、前記第1オブジェクトの配置位置を修正する処理と、
前記第1オブジェクト内に表示されるテキストの入力を受け付ける処理と、
前記テキストに応じて前記第1オブジェクトの大きさを調整する処理と、
をコンピュータに実行させ、
前記コンピュータは、前記テキストのフォントサイズ、及び前記第1オブジェクトの境界と前記テキストとの間の余白が、第2の制約条件を満たすように前記第1オブジェクトの大きさを調整することを特徴とする操作画面設計方法。 A process of accepting an operation of arranging a first object to be displayed on an operation screen on the operation screen;
a process of correcting a placement position of the first object so that a space between the first object and a second object placed on the operation screen before the first object, or between an edge of the operation screen and the first object, satisfies a first constraint condition;
accepting input of text to be displayed within the first object;
adjusting a size of the first object in response to the text;
on the computer ,
An operation screen design method, characterized in that the computer adjusts the size of the first object so that the font size of the text and the margin between the boundary of the first object and the text satisfy a second constraint .
前記第1オブジェクトよりも先に前記操作画面上に配置されている第2オブジェクトと前記第1オブジェクトとの間、又は前記操作画面の端と前記第1オブジェクトとの間の間隔が第1の制約条件を満たすように、前記第1オブジェクトの配置位置を修正する処理と、
前記第1オブジェクト内に表示されるテキストの入力を受け付ける処理と、
前記テキストに応じて前記第1オブジェクトの大きさを調整する処理と、
を実行するコンピュータを備え、
前記コンピュータは、前記テキストのフォントサイズ、及び前記第1オブジェクトの境界と前記テキストとの間の余白が、第2の制約条件を満たすように前記第1オブジェクトの大きさを調整することを特徴とする操作画面設計装置。 A process of accepting an operation of arranging a first object to be displayed on an operation screen on the operation screen;
a process of correcting a placement position of the first object so that a space between the first object and a second object placed on the operation screen before the first object, or between an edge of the operation screen and the first object, satisfies a first constraint condition;
accepting input of text to be displayed within the first object;
adjusting a size of the first object in response to the text;
a computer that executes
The operation screen design device is characterized in that the computer adjusts the size of the first object so that the font size of the text and the margin between the boundary of the first object and the text satisfy a second constraint .
前記第1オブジェクトよりも先に前記操作画面上に配置されている第2オブジェクトと前記第1オブジェクトとの間、又は前記操作画面の端と前記第1オブジェクトとの間の間隔が第1の制約条件を満たすように、前記第1オブジェクトの配置位置を修正する処理と、
前記第1オブジェクト内に表示されるテキストの入力を受け付ける処理と、
前記テキストに応じて前記第1オブジェクトの大きさを調整する処理と、
をコンピュータに実行させ、
前記コンピュータに、前記テキストのフォントサイズ、及び前記第1オブジェクトの境界と前記テキストとの間の余白が、第2の制約条件を満たすように前記第1オブジェクトの大きさを調整させることを特徴とする操作画面設計プログラム。 A process of accepting an operation of arranging a first object to be displayed on an operation screen on the operation screen;
a process of correcting a placement position of the first object so that a space between the first object and a second object placed on the operation screen before the first object, or a space between an edge of the operation screen and the first object satisfies a first constraint condition;
accepting input of text to be displayed within the first object;
adjusting a size of the first object in response to the text;
on the computer,
An operation screen design program that causes the computer to adjust the size of the first object so that the font size of the text and the margin between the boundary of the first object and the text satisfy a second constraint .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021089470A JP7647331B2 (en) | 2021-05-27 | 2021-05-27 | Operation screen design method, operation screen design device, and operation screen design program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021089470A JP7647331B2 (en) | 2021-05-27 | 2021-05-27 | Operation screen design method, operation screen design device, and operation screen design program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022182124A JP2022182124A (en) | 2022-12-08 |
| JP7647331B2 true JP7647331B2 (en) | 2025-03-18 |
Family
ID=84328993
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021089470A Active JP7647331B2 (en) | 2021-05-27 | 2021-05-27 | Operation screen design method, operation screen design device, and operation screen design program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7647331B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008015354A (en) | 2006-07-07 | 2008-01-24 | Mitsubishi Electric Corp | Display control device, programmable display, and display control method |
| US20150286379A1 (en) | 2012-06-06 | 2015-10-08 | Apple Inc. | Graphical user interface layout |
| JP2019207586A (en) | 2018-05-30 | 2019-12-05 | 三菱電機株式会社 | Monitoring screen creation device and monitoring screen creation method |
| JP2021064303A (en) | 2019-10-17 | 2021-04-22 | 富士ゼロックス株式会社 | Information processing device, information processing system, and program |
-
2021
- 2021-05-27 JP JP2021089470A patent/JP7647331B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008015354A (en) | 2006-07-07 | 2008-01-24 | Mitsubishi Electric Corp | Display control device, programmable display, and display control method |
| US20150286379A1 (en) | 2012-06-06 | 2015-10-08 | Apple Inc. | Graphical user interface layout |
| JP2019207586A (en) | 2018-05-30 | 2019-12-05 | 三菱電機株式会社 | Monitoring screen creation device and monitoring screen creation method |
| JP2021064303A (en) | 2019-10-17 | 2021-04-22 | 富士ゼロックス株式会社 | Information processing device, information processing system, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022182124A (en) | 2022-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12032930B2 (en) | Method, system and non-transitory computer-readable storage medium for generating description code of user interface | |
| US9390688B2 (en) | Re-configuring the standby screen of an electronic device | |
| US11222171B2 (en) | Enhanced pivot table creation and interaction | |
| EP0803825A2 (en) | Multi-media title editing apparatus and a style creation device employed therefor | |
| JP2000122783A (en) | Graphical user interface device | |
| JPH076014A (en) | Method and apparatus for display of n-ary tree | |
| JPH08263248A (en) | Visual enhancement method of display of menu item | |
| US7305617B2 (en) | Method for aligning text to baseline grids and to CJK character grids | |
| CN106909393B (en) | Display adjustment method of input method panel and mobile terminal | |
| JP7647331B2 (en) | Operation screen design method, operation screen design device, and operation screen design program | |
| EP4187490A1 (en) | Method and apparatus for displaying text, electronic device, and computer-readable storage medium | |
| US7168037B2 (en) | Text composition spacing amount setting device with icon indicators | |
| JP2009282827A (en) | Display | |
| US8291339B2 (en) | Computer-readable recording medium storing display control program, and display control device | |
| JP5831265B2 (en) | Program guide creation device, program guide creation method, and program guide creation program | |
| WO2025051212A1 (en) | Text processing method, apparatus, electronic device and storage medium | |
| KR100510145B1 (en) | On screen displaying apparatus and method capable of supporting proportional font | |
| WO2014181563A1 (en) | Document processing device and document processing program | |
| JP3426663B2 (en) | Detail display control method in document editor | |
| JP6329687B1 (en) | Ticker editing device and ticker editing program | |
| JPH10254619A (en) | User interface device for candidate selection | |
| US20260004472A1 (en) | Information processing method and apparatus, device, and medium | |
| JP7186933B1 (en) | Drawing support program, drawing support device, and drawing support method | |
| JP2001067425A (en) | Table data processing device and storage medium | |
| JP4285494B2 (en) | How to display distribution line map |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240307 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241031 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241203 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250110 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250204 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250217 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7647331 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |