JP3673535B2 - Window display device - Google Patents

Window display device Download PDF

Info

Publication number
JP3673535B2
JP3673535B2 JP27522194A JP27522194A JP3673535B2 JP 3673535 B2 JP3673535 B2 JP 3673535B2 JP 27522194 A JP27522194 A JP 27522194A JP 27522194 A JP27522194 A JP 27522194A JP 3673535 B2 JP3673535 B2 JP 3673535B2
Authority
JP
Japan
Prior art keywords
child window
window
text
hidden
area
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.)
Expired - Fee Related
Application number
JP27522194A
Other languages
Japanese (ja)
Other versions
JPH08137655A (en
Inventor
健一 大塚
道夫 田中
一章 中村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27522194A priority Critical patent/JP3673535B2/en
Publication of JPH08137655A publication Critical patent/JPH08137655A/en
Application granted granted Critical
Publication of JP3673535B2 publication Critical patent/JP3673535B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、テキストなどが隠れないように子ウィンドウの位置調整を行って表示するウィンドウ表示装置に関するものである。特に、電子カタログシステムなどのイラストを表示する際に、親ウィンドウ上のテキスト文字を消さないように子ウィンドウを表示してイラストを表示する要求がある。
【0002】
【従来の技術】
従来、電子カタログのイラストなどを親ウィンドウ内に設けて子ウィンドウに表示する場合、子ウィンドウを表示する座標によってはテキスト表示している文字の一部を消してしまうことがある。この場合には、子ウィンドウによって隠されたテキスト文字を見ようとしたとき、一度、子ウィンドウを消去あるいは子ウィンドウを他の位置にマウスを使って移動させ、隠されていたテキスト文字を表示させるようにしていた。
【0003】
【発明が解決しようとする課題】
従来は上述したように、親ウィンドウにテキスト文字などを表示した状態で、子ウィンドウにイラストなどを表示させる場合、親ウィンドウ上のテキスト文字の一部に子ウィンドウが重なってしまうとそのテキストなどが隠れて見えなくなってしまうと共に、見たいときに子ウィンドウを消したり、他の位置に移動させたりの面倒な操作が要求されてしまうという問題があった。
【0004】
本発明は、これらの問題を解決するため、親ウィンドウ内に子ウィンドウを表示する場合に、桁方向および行方向に自動的に子ウィンドウをずらして親ウィンドウ内のテキストなどを消さない位置に表示したり、子ウィンドウをずらしてもテキスト文字が隠れたときにテキスト位置調整して隠れないように表示したりし、テキスト文字などを消さない位置に子ウィンドウを自動的に移動して表示することを目的としている。
【0005】
【課題を解決するための手段】
図1は、本発明の原理ブロック図を示す。
図1において、表示システム1は、表示装置6の画面上に子ウィンドウを表示するものであって、テキストなどが隠れない位置に子ウィンドウを位置調整して表示するものであり、桁位置調整手段2、行位置調整手段3、テキスト位置調整手段4、および画面制御手段5などから構成されるものである。
【0006】
桁位置調整手段2は、画面上に表示しようとする子ウィンドウが表示されているテキストなどの桁方向に隠すと判明したときに、桁方向に桁単位に移動して当該テキストなどが隠れない桁位置に調整するものである。
【0007】
行位置調整手段3は、画面上に表示しようとする子ウィンドウが表示されているテキストなどの行方向に隠すと判明したときにに、行方向に行単位に移動して当該テキストなどが隠れない行位置に調整するものである。
【0008】
テキスト位置調整手段4は、画面上に子ウィンドウを表示する際に、画面上のテキストを隠すと判明したときに、隠されたテキストを含む一連のテキストを取り出し、この取り出したテキストを折り返して隠れないように調整するものである。
【0009】
画面制御手段5は、画面上に子ウィンドウなどを表示するものである。
表示装置6は、画面を表示するものである。
入力装置7は、各種指示、文字などを入力するものであって、キーボード、マウス、ライトペンなどである。
【0010】
【作用】
本発明は、図1に示すように、調整手段が画面上に表示しようとする子ウィンドウが表示されているテキストなどを隠すと判明したときにに、横方向および縦方向のいずれか一方あるいは両方向に移動して当該テキストなどが隠れない位置に調整した後、その位置に子ウィンドウを表示するようにしている。
【0011】
また、桁位置調整手段2が画面上に表示しようとする子ウィンドウが表示されているテキストなどの桁方向に隠すと判明したときに、桁方向に桁単位に移動してテキストなどが隠れない桁位置に調整し、行位置調整手段3が画面上に表示しようとする子ウィンドウが表示されているテキストなどの行方向に隠すと判明したときに、行方向に行単位に移動して当該テキストなどが隠れない行位置に調整し、画面制御手段5が桁位置調整手段2と行位置調整手段3のいずれかあるいは両者によって調整された画面上の位置に子ウィンドウを表示するようにしている。
【0012】
この際、調整手段によって調整された画面上の位置に子ウィンドウを表示する際に、画面上のテキストを隠すと判明したときに、テキスト位置調整手段4が隠されたテキストを含む一連のテキストを取り出し、この取り出したテキストを折り返して隠れないように調整し、この位置に子ウィンドウを表示するようにしている。
【0013】
従って、親ウィンドウ内に子ウィンドウを表示する場合に、桁方向および行方向に自動的に子ウィンドウをずらして親ウィンドウ内のテキストなどを消さない位置に表示したり、子ウィンドウをずらしてもテキスト文字が隠れたときにテキスト位置調整して隠れないように表示したりすることが可能となる。
【0014】
【実施例】
次に、図2から図6を用いて本発明の実施例の構成および動作を順次詳細に説明する。
【0015】
図2は、本発明の動作説明フローチャートを示す。これは、図1の構成の動作を詳細に説明したものである。
図2において、S1は、子ウィンドウを表示する位置(左上座標(x1、y1)、テキスト幅w、テキスト高さh)を取得する。これは、後述する図6の(a)に示すように、親ウィンドウ上に表示しようとする子ウィンドの位置(左上座標(x1、y1)、テキスト幅w、テキスト高さh)を取得する。
【0016】
S2は、テキスト幅w、テキスト高さhから右上(x2、y1)、左下(x1、y2)、右下(x2、y2)の座標を算出する。これは、矩形の子ウィンドウの右上、左下、および右下の座標を図示のようにそれぞれ算出する。
【0017】
S3は、桁単位で桁方向での子ウィンドウ表示位置の調整を行う。これは、後述する図3に示すように、桁単位で桁方向での子ウィンドウの表示位置を調整(左右シフトの調整)し、親ウィンドウ上のテキストが隠れないようにする。
【0018】
S4は、行単位で行方向での子ウィンドウ表示位置の調整を行う。これは、後述する図4に示すように、行単位で行方向での子ウィンドウの表示位置を調整(上下シフトの調整)し、親ウィンドウ上のテキストが隠れないようにする。
【0019】
S5は、テキストが子ウィンドウに隠れたか判別する。YESの場合には、親ウィンドウ上に表示されていたテキストが、子ウィンドウによって隠されたと判明したので、S6でテキスト位置調整(図5参照)を行ってテキストが子ウィンドウで隠さないように折り返す調整を行い、S7で子ウィンドウを表示する。一方、S5のNOの場合には、テキストが子ウィンドウで隠されないと判明したので、S7で子ウィンドウを表示する。
【0020】
以上によって、子ウィンドウを親ウィンドウに表示する際に、テキストを隠すと判明したときに、子ウィンドウを桁単位で桁方向に移動して隠れないようにしたり、子ウィンドウを行単位で行方向に移動して隠れないようにしたり、これら桁方向および行方向の調整をしても子ウィンドウによってテキストが隠れる場合にはテキストを取り出して隠れないように折り返し調整して表示する。これらにより、子ウィンドウを親ウィンドウ上に表示する際に、自動的に子ウィンドウを桁方向および行方向に移動調整し、更に隠れる場合にはテキストを取り出して子ウィンドウに隠れない位置に調整し、子ウィンドウによってテキストなどが隠れないようにすることが可能となる。
【0021】
図3は、本発明の桁単位で桁方向の子ウィンドウ表示位置調整フローチャートを示す。
図3において、S10は、桁単位で桁方向での子ウィンドウ表示位置調整処理を開始する。
【0022】
S11は、x1桁でy1行からy2行までに文字があるか判別する。これは、右側に記載したように、x1桁で、y1行からy2行までに文字があるか判別する。YESの場合には、S12に進む。NOの場合には、S17に進む。
【0023】
S12は、x2桁でy1行からy2行までに文字があるか判別する。これは、右側に記載したように、x2桁で、y1行からy2行までに文字があるか判別する。YESの場合には、子ウィンドウの両側にテキストが存在すると判明したので、テキストの隠れない位置に子ウィンドウを調整できないため、S13で現在の位置に出力(現在の位置にそのまま子ウィンドウを表示)する。一方、S12のNOの場合には、S14から16、S20によって、子ウィンドウを右側にシフトし、テキストが隠れないようにする。
【0024】

Figure 0003673535
し、子ウィンドウを右シフトする。
【0025】
S15は、x1桁でy1行からy2行までに文字があるか判別する。YESの場合には、S16に進む。NOの場合には、右シフトし、子ウィンドウの左側でテキストなどを隠さないと判明したので、S13で現在の位置に子ウィンドウを表示し、テキストを隠さないようにできたこととなる。
【0026】
S16は、S15のYESでx1桁でy1行からy2行までに文字が存在すると判明したので、子ウィンドウが親ウィンドウから外に出たか判別する。YESの場合には、子ウィンドウが親ウィンドウの外側に出てしまったので、S20で1つの前の状態(子ウィンドウが親ウィンドウの外側に出てしまう、直前の位置)に戻し、終了する。一方、S16のNOの場合には、子ウィンドウが親ウィンドウの外に出ていないと判明したので、S11以降を繰り返す。
【0027】
以上のS11のYES、S12からS16、S20によって、子ウィンドウの桁を右シフトし、テキストなどが隠れない位置に子ウィンドウを調整する。
S17は、x2桁でy1行からy2行までに文字があるか判別する。YESの場合には、x2桁でy1行からy2行までに文字が存在すると判明したので、子ウィンドウを左シフトする処理を次に行う。一方、S17のNOの場合には、子ウィンドウの左および右側の両側にテキストが存在しないと判明したので、S13で現在の位置に出力(現在の位置にそのまま子ウィンドウを表示)する。
【0028】
Figure 0003673535
し、子ウィンドウを左シフトする。
【0029】
S19は、x2桁でy1行からy2行までに文字があるか判別する。YESの場合には、S16に進む。NOの場合には、左シフトし、子ウィンドウの右側でテキストなどを隠さないと判明したので、S13で現在の位置に子ウィンドウを表示し、テキストを隠さないようにできたこととなる。
【0030】
S16は、S19のYESでx2桁でy1行からy2行までに文字が存在すると判明したので、子ウィンドウが親ウィンドウから外に出たか判別する。YESの場合には、子ウィンドウが親ウィンドウの外側に出てしまったので、S20で1つの前の状態(子ウィンドウが親ウィンドウの外側に出てしまう、直前の位置)に戻し、終了する。一方、S16のNOの場合には、子ウィンドウが親ウィンドウの外に出ていないと判明したので、S11以降を繰り返す。
【0031】
以上のS11のNO、S17からS20によって、子ウィンドウの桁を左シフトし、テキストなどが隠れない位置に子ウィンドウを調整する。
図4は、本発明の行単位で行方向の子ウィンドウ表示位置調整フローチャートを示す。
【0032】
図4において、S30は、行単位で行方向での子ウィンドウ表示位置調整処理を開始する。
S31は、x1桁からx2桁まで、y1行に文字があるか判別する。これは、右側に記載したように、x1桁からx2桁まで、y1行に文字があるか判別する。YESの場合には、S32に進む。NOの場合には、S37に進む。
【0033】
S32は、x1桁からx2桁まで、y2行に文字があるか判別する。これは、右側に記載したように、x1桁からx2桁まで、y2行に文字があるか判別する。YESの場合には、子ウィンドウの上下にテキストが存在すると判明したので、テキストの隠れない位置に子ウィンドウを調整できないため、S33で現在の位置に出力(現在の位置にそのまま子ウィンドウを表示)する。一方、S32のNOの場合には、S34から36、S340によって、子ウィンドウを下シフトし、テキストが隠れないようにする。
【0034】
Figure 0003673535
し、子ウィンドウを下シフトする。
【0035】
S35は、x1桁からx2桁まで、y1行に文字があるか判別する。YESの場合には、S36に進む。NOの場合には、下シフトして子ウィンドウがテキストなどを隠さないと判明したので、S33で現在の位置に子ウィンドウを表示し、テキストを隠さないようにできたこととなる。
【0036】
S36は、S35のYESでx1桁からx2桁まで、y1行に文字が存在すると判明したので、子ウィンドウが親ウィンドウから外に出たか判別する。YESの場合には、子ウィンドウが親ウィンドウの外側に出てしまったので、S40で1つの前の状態(子ウィンドウが親ウィンドウの外側に出てしまう、直前の位置)に戻し、終了する。一方、S36のNOの場合には、子ウィンドウが親ウィンドウの外に出ていないと判明したので、S31以降を繰り返す。
【0037】
以上のS31のYES、S32からS36、S40によって、子ウィンドウの行を下シフトし、テキストなどが隠れない位置に子ウィンドウを調整する。
S37は、x1桁からx2桁まで、y2行に文字があるか判別する。YESの場合には、y2行に文字が存在すると判明したので、子ウィンドウを上シフトする処理を次に行う。一方、S37のNOの場合には、子ウィンドウの上および下の両側にテキストが存在しないので、S33で現在の位置に出力(現在の位置にそのまま子ウィンドウを表示)する。
【0038】
Figure 0003673535
し、子ウィンドウを上シフトする。
【0039】
S39は、x1桁からx2桁まで、y2行に文字があるか判別する。YESの場合には、S36に進む。NOの場合には、上シフトし、子ウィンドウの下側もテキストなどを隠さないと判明したので、S33で現在の位置に子ウィンドウを表示し、テキストを隠さないようにできたこととなる。
【0040】
S36は、S39のYESでx1桁からx2桁までy2行に文字が存在すると判明したので、子ウィンドウが親ウィンドウから外に出たか判別する。YESの場合には、子ウィンドウが親ウィンドウの外側に出てしまったので、S40で1つの前の状態(子ウィンドウが親ウィンドウの外側に出てしまう、直前の位置)に戻し、終了する。一方、S36のNOの場合には、子ウィンドウが親ウィンドウの外に出ていないと判明したので、S31以降を繰り返す。
【0041】
以上のS31のNO、S37からS40によって、子ウィンドウの行を上シフトし、テキストなどが隠れない位置に子ウィンドウを調整する。
図5は、本発明のテキスト位置調整フローチャートを示す。
【0042】
図5において、S50は、テキスト位置調整処理の実行を開始する。
S51は、子ウィンドウに隠れたテキストを取得する。これは、例えば図6の(c)の左側の状態で既述した桁方向および行方向の位置調整を行って子ウィンドウを移動させても、未だ当該子ウィンドウにテキストが隠れてしまった場合に、この隠れたテキストも含めて取り出す。
【0043】
S52は、親ウィンドウの子ウィンドウが表示されていない場所にテキストを表示する。これは、S51で取り出したテキストを、子ウィンドウが表示されていない場所に折り返し、図5の(c)の右側に示すように子ウィンドウに隠れないように表示する。
【0044】
S53は、隠れたテキストが全て処理されたか判別する。YESの場合には、終了する。NOの場合には、S51に戻り繰り返す。
以上によって、既述した子ウィンドウの桁位置調整および行位置調整を行っても未だ子ウィンドウにテキストが隠れてしまう場合には、更にこの隠れたテキストを含めて取り出し、折り返し表示して子ウィンドウに隠れないように表示する。これにより、子ウィンドウ表示時にテキストを隠れないようにして表示させることが可能となった。
【0045】
図6は、本発明の表示例を示す。ここで、左側が指定された位置に表示された場合の子ウィンドウを示し、右側が本発明によって補正後(位置調整後)の子ウィンドウを示す。
【0046】
図6の(a)の左側は、親ウィンドウ上に指定された位置に子ウィンドウを表示したときに、子ウィンドウの上側がテキストを隠した例を示す。この場合には、子ウィンドウを下にシフトし、同図の右側のように表示し、子ウィンドウによってテキストが隠れないように当該子ウィンドウを移動調整して表示する。
【0047】
図6の(b)の左側は、親ウィンドウ上に指定された位置に子ウィンドウを表示したときに、子ウィンドウの左側がテキストを隠した例を示す。この場合には、子ウィンドウを右にシフトし、同図の右側のように表示し、子ウィンドウによってテキストが隠れないように当該子ウィンドウを移動調整して表示する。
【0048】
図6の(c)の左側は、親ウィンドウ上に指定された位置に子ウィンドウを表示したときに、子ウィンドウの左側がテキストを隠し、かつ右側に子ウィンドウをシフトしてもテキストを完全に隠れないようにできない例を示す。この場合には、子ウィンドウを右側に一杯にシフトした後、隠れているテキストを含めて取り出し、子ウィンドウの位置で折り返して表示し、同図の右側のように子ウィンドウによってテキストが隠れないようにする。
【0049】
【発明の効果】
以上説明したように、本発明によれば、親ウィンドウ内に子ウィンドウを表示する場合に、桁方向および行方向に自動的に子ウィンドウをずらして親ウィンドウ内のテキストなどを消さない位置に表示したり、子ウィンドウをずらしてもテキスト文字が隠れたときにテキスト位置調整して隠れないように表示したりする構成を採用しているため、親ウィンドウ内でテキスト文字などを消さない位置に子ウィンドウを自動的に移動調整して表示することができる。
【図面の簡単な説明】
【図1】本発明の原理ブロック図である。
【図2】本発明の動作説明フローチャートである。
【図3】本発明の桁単位で桁方向の子ウィンドウ表示位置調整フローチャートである。
【図4】本発明の行単位で行方向の子ウィンドウの表示位置調整フローチャートである。
【図5】本発明のテキスト位置調整フローチャートである。
【図6】本発明の表示例である。
【符号の説明】
1:表示システム
2:桁位置調整手段
3:行位置調整手段
4:テキスト位置調整手段
5:画面制御手段
6:表示装置
7:入力装置[0001]
[Industrial application fields]
The present invention relates to a window display device that displays an image by adjusting the position of a child window so that text or the like is not hidden. In particular, when displaying an illustration of an electronic catalog system or the like, there is a request to display an illustration by displaying a child window so as not to erase text characters on the parent window.
[0002]
[Prior art]
Conventionally, when an illustration of an electronic catalog or the like is provided in a parent window and displayed in a child window, some characters displayed in text may be erased depending on the coordinates for displaying the child window. In this case, when you try to see the text characters hidden by the child window, once erase the child window or move the child window to another position with the mouse to display the hidden text characters I was doing.
[0003]
[Problems to be solved by the invention]
Conventionally, as described above, when an illustration or the like is displayed on a child window while text characters or the like are displayed on the parent window, if the child window overlaps a part of the text characters on the parent window, the text or the like is displayed. In addition to being hidden, it becomes invisible, and there is a problem that a troublesome operation such as erasing the child window or moving it to another position is required when viewing.
[0004]
In order to solve these problems, the present invention solves these problems by automatically shifting the child window in the column direction and line direction so that the text in the parent window is not erased when the child window is displayed in the parent window. If the text characters are hidden even if the child window is moved, the text position is adjusted so that the text characters are not hidden, and the child window is automatically moved to a position where the text characters are not erased. It is an object.
[0005]
[Means for Solving the Problems]
FIG. 1 shows a principle block diagram of the present invention.
In FIG. 1, the display system 1 displays a child window on the screen of the display device 6, and displays the child window by adjusting the position of the child window at a position where text or the like is not hidden. 2, line position adjusting means 3, text position adjusting means 4, screen control means 5, and the like.
[0006]
The digit position adjusting means 2 moves the digit unit in the digit direction so that the text is not hidden when it is determined that the child window to be displayed on the screen is hidden in the digit direction. The position is adjusted.
[0007]
When the line position adjusting means 3 is determined to be hidden in the line direction of the text or the like in which the child window to be displayed on the screen is displayed, the line position adjusting unit 3 moves in the line direction in units of lines and does not hide the text or the like It adjusts to the line position.
[0008]
When the text position adjusting means 4 displays a child window on the screen and finds that the text on the screen is to be hidden, the text position adjusting means 4 takes out a series of text including the hidden text and wraps the extracted text to hide it. It is to adjust so that there is no.
[0009]
The screen control means 5 displays a child window on the screen.
The display device 6 displays a screen.
The input device 7 is used to input various instructions and characters, and is a keyboard, a mouse, a light pen, or the like.
[0010]
[Action]
In the present invention, as shown in FIG. 1, when it is found that the adjustment means hides text or the like on which a child window to be displayed on the screen is hidden, either or both of the horizontal direction and the vertical direction are displayed. After moving to, and adjusting to a position where the text etc. is not hidden, the child window is displayed at that position.
[0011]
Also, when it is determined that the digit position adjusting means 2 is hidden in the digit direction of the text or the like in which the child window to be displayed on the screen is displayed, the digit that moves in the digit direction and does not hide the text or the like When the line position adjustment means 3 finds that the child window to be displayed on the screen is hidden in the line direction, the line position adjustment means 3 moves to the line unit in the line direction and moves the text. The screen control means 5 displays the child window at the position on the screen adjusted by either the digit position adjusting means 2 or the line position adjusting means 3 or both.
[0012]
At this time, when the child window is displayed at the position on the screen adjusted by the adjusting means, when it is found that the text on the screen is to be hidden, the text position adjusting means 4 displays a series of text including the hidden text. The extracted text is folded and adjusted so as not to be hidden, and a child window is displayed at this position.
[0013]
Therefore, when a child window is displayed in the parent window, the child window is automatically shifted in the column direction and line direction so that it is displayed at a position where the text in the parent window is not erased, or even if the child window is shifted, the text is displayed. When the character is hidden, the text position can be adjusted so that it is not hidden.
[0014]
【Example】
Next, the configuration and operation of the embodiment of the present invention will be sequentially described in detail with reference to FIGS.
[0015]
FIG. 2 shows a flowchart for explaining the operation of the present invention. This is a detailed description of the operation of the configuration of FIG.
In FIG. 2, S1 obtains the position (upper left coordinates (x 1 , y 1 ), text width w, text height h) for displaying the child window. This obtains the position of the child window (upper left coordinates (x 1 , y 1 ), text width w, text height h) to be displayed on the parent window, as shown in FIG. To do.
[0016]
In S2, the coordinates of the upper right (x 2 , y 1 ), lower left (x 1 , y 2 ), and lower right (x 2 , y 2 ) are calculated from the text width w and the text height h. This calculates the coordinates of the upper right, lower left and lower right of the rectangular child window as shown in the figure.
[0017]
In S3, the child window display position in the digit direction is adjusted in units of digits. As shown in FIG. 3 to be described later, this adjusts the display position of the child window in the digit direction in units of digits (adjustment of left / right shift) so that the text on the parent window is not hidden.
[0018]
In S4, the child window display position in the row direction is adjusted in units of rows. As shown in FIG. 4 described later, this adjusts the display position of the child window in the row direction in units of rows (adjustment of vertical shift) so that the text on the parent window is not hidden.
[0019]
S5 determines whether the text is hidden in the child window. In the case of YES, it has been found that the text displayed on the parent window is hidden by the child window. Therefore, the text position adjustment (see FIG. 5) is performed in S6 so that the text is not hidden by the child window. Adjustment is performed and a child window is displayed in S7. On the other hand, in the case of NO in S5, since it has been found that the text is not hidden by the child window, the child window is displayed in S7.
[0020]
When the child window is displayed on the parent window as described above, if it is determined that the text is to be hidden, the child window is moved in the column direction by the column unit so that it is not hidden, or the child window is moved in the row direction by the line unit If the text is hidden by the child window even if it is moved and hidden, or the column direction and line direction are adjusted, the text is taken out and adjusted so that it is not hidden and displayed. By these, when the child window is displayed on the parent window, the child window is automatically moved and adjusted in the column direction and line direction, and if it is hidden, the text is taken out and adjusted to a position not hidden in the child window, It is possible to prevent text from being hidden by the child window.
[0021]
FIG. 3 shows a flowchart for adjusting the child window display position in the digit direction for each digit according to the present invention.
In FIG. 3, S10 starts the child window display position adjustment process in the digit direction in units of digits.
[0022]
S11, determines whether there is a character in the y 1 line in 1 digit x to y 2 line. As described on the right side, this is x 1 digit, and it is determined whether there is a character in the y 1 line to the y 2 line. If YES, the process proceeds to S12. If NO, the process proceeds to S17.
[0023]
S12, determines whether there is a character in the y 1 line in x 2 digit up y 2 line. As described on the right side, this is x 2 digits, and it is determined whether there are characters in the y 1 line to the y 2 line. In the case of YES, since it has been found that the text exists on both sides of the child window, the child window cannot be adjusted to a position where the text is not hidden, and therefore the current position is output in S13 (the child window is displayed as it is at the current position). To do. On the other hand, in the case of NO in S12, the child window is shifted to the right by S14 to 16 and S20 so that the text is not hidden.
[0024]
Figure 0003673535
And shift the child window right.
[0025]
S15 determines whether there is a character in the y 1 line in 1 digit x to y 2 line. If YES, the process proceeds to S16. In the case of NO, since it has been found that the text is shifted to the right and the text is not hidden on the left side of the child window, the child window is displayed at the current position in S13 so that the text is not hidden.
[0026]
S16, since proved to character exists before y 2, line y 1 line in x 1-digit in YES of S15, the child window to determine whether to go out from the parent window. In the case of YES, since the child window has come out of the parent window, in S20, the state is returned to the previous state (the immediately preceding position where the child window has come out of the parent window), and the processing ends. On the other hand, in the case of NO in S16, since it has been found that the child window is not outside the parent window, S11 and subsequent steps are repeated.
[0027]
By the above S11 YES, S12 to S16, and S20, the child window digit is shifted to the right, and the child window is adjusted to a position where the text or the like is not hidden.
S17, determines whether there is a character in the y 1 line in x 2 digit up y 2 line. If YES, since it was found that the letters from y 1 row to y 2 line in x 2 digits are present, then performs processing for left shifting the child window. On the other hand, in the case of NO in S17, since it has been found that there is no text on both the left and right sides of the child window, output is made at the current position in S13 (the child window is displayed as it is at the current position).
[0028]
Figure 0003673535
And shift the child window to the left.
[0029]
S19 determines whether there is a character in the y 1 line in x 2 digit up y 2 line. If YES, the process proceeds to S16. In the case of NO, since it has been found that the text is shifted to the left and the text is not hidden on the right side of the child window, the child window is displayed at the current position in S13, and the text is not hidden.
[0030]
S16, since proved to character exists before y 2, line y 1 line in x 2 digits YES in S19, the child window to determine whether to go out from the parent window. In the case of YES, since the child window has come out of the parent window, in S20, the state is returned to the previous state (the immediately preceding position where the child window has come out of the parent window), and the processing ends. On the other hand, in the case of NO in S16, since it has been found that the child window is not outside the parent window, S11 and subsequent steps are repeated.
[0031]
By the above S11 NO, S17 to S20, the child window digit is shifted to the left, and the child window is adjusted to a position where the text is not hidden.
FIG. 4 shows a child window display position adjustment flowchart in the row direction for each row of the present invention.
[0032]
In FIG. 4, S30 starts child window display position adjustment processing in the row direction in units of rows.
S31 from 1 digit x to x 2 digits, to determine whether there is a character in a line y. As described on the right side, this determines whether there is a character in the y 1 line from x 1 digit to x 2 digit. If YES, the process proceeds to S32. If NO, the process proceeds to S37.
[0033]
Step S32, the order of magnitude x to x 2 digits, to determine whether there is a character in the second line y. This is because, as described on the right, from 1 digit x to x 2 digits, to determine whether there is a character in the second line y. In the case of YES, since it has been found that the text exists above and below the child window, the child window cannot be adjusted to a position where the text is not hidden, so the output is made at the current position in S33 (the child window is displayed as it is at the current position). To do. On the other hand, in the case of NO in S32, the child window is shifted down by S34 to 36 and S340 so that the text is not hidden.
[0034]
Figure 0003673535
And shift the child window down.
[0035]
S35 from 1 digit x to x 2 digits, to determine whether there is a character in a line y. If YES, the process proceeds to S36. In the case of NO, it is found that the child window does not hide the text or the like by shifting down, so that the child window is displayed at the current position in S33 so that the text is not hidden.
[0036]
S36 is, from x 1 digit in the YES of S35 to x 2 digits, since it was found the character exists in a row y, child window to determine whether to go out from the parent window. In the case of YES, since the child window has moved outside the parent window, in S40, it is returned to the previous state (the position immediately before the child window has moved outside the parent window), and the process is terminated. On the other hand, in the case of NO in S36, since it has been found that the child window has not come out of the parent window, S31 and subsequent steps are repeated.
[0037]
By the above S31 YES, S32 to S36, S40, the row of the child window is shifted down, and the child window is adjusted to a position where the text or the like is not hidden.
S37 from 1 digit x to x 2 digits, to determine whether there is a character in the second line y. If YES, since the proven text is present in the second row y, then performs processing for shifting up the child window. On the other hand, in the case of NO in S37, since there is no text on both the upper and lower sides of the child window, the text is output to the current position in S33 (the child window is displayed as it is at the current position).
[0038]
Figure 0003673535
And shift the child window up.
[0039]
S39 from 1 digit x to x 2 digits, to determine whether there is a character in the second line y. If YES, the process proceeds to S36. In the case of NO, it has been found that the upper shift is performed and the lower side of the child window does not hide the text or the like, so that the child window is displayed at the current position in S33 so that the text is not hidden.
[0040]
S36 is, because it was found as a character is present in the two lines y from 1-digit x to x 2 digits in YES of S39, child window to determine whether to go out from the parent window. In the case of YES, since the child window has moved outside the parent window, in S40, it is returned to the previous state (the position immediately before the child window has moved outside the parent window), and the process is terminated. On the other hand, in the case of NO in S36, since it has been found that the child window has not come out of the parent window, S31 and subsequent steps are repeated.
[0041]
The child window row is shifted upward by the above S31 NO, S37 to S40, and the child window is adjusted to a position where the text is not hidden.
FIG. 5 shows a text position adjustment flowchart of the present invention.
[0042]
In FIG. 5, S50 starts executing the text position adjustment process.
In S51, the text hidden in the child window is acquired. This is because, for example, even if the child window is moved by performing the position adjustment in the column direction and the line direction described above in the state on the left side of FIG. 6C, the text is still hidden in the child window. , Including this hidden text.
[0043]
In S52, the text is displayed at a place where the child window of the parent window is not displayed. This wraps the text extracted in S51 to a place where the child window is not displayed, and displays it so as not to be hidden in the child window as shown on the right side of FIG.
[0044]
S53 determines whether all hidden text has been processed. If YES, the process ends. If NO, return to S51 and repeat.
As described above, if the text is still hidden in the child window even after adjusting the column position and line position of the child window as described above, this hidden text is also taken out, displayed in a folded manner and displayed in the child window. Display so as not to hide. This makes it possible to display the text without hiding it when the child window is displayed.
[0045]
FIG. 6 shows a display example of the present invention. Here, a child window when the left side is displayed at a designated position is shown, and a right side shows a child window after correction (after position adjustment) according to the present invention.
[0046]
The left side of FIG. 6A shows an example in which the text is hidden on the upper side of the child window when the child window is displayed at the specified position on the parent window. In this case, the child window is shifted downward and displayed as shown on the right side of the figure, and the child window is moved and adjusted so that the text is not hidden by the child window.
[0047]
The left side of FIG. 6B shows an example in which the text is hidden on the left side of the child window when the child window is displayed at the designated position on the parent window. In this case, the child window is shifted to the right and displayed as shown on the right side of the figure, and the child window is moved and adjusted so that the text is not hidden by the child window.
[0048]
The left side of (c) in FIG. 6 shows that when the child window is displayed at the specified position on the parent window, the left side of the child window hides the text, and the text is completely displayed even if the child window is shifted to the right side. Here is an example that can't be hidden. In this case, shift the child window all the way to the right, then extract the hidden text, wrap it at the position of the child window, and display it so that it is not hidden by the child window as shown on the right side of the figure. To.
[0049]
【The invention's effect】
As described above, according to the present invention, when a child window is displayed in the parent window, the child window is automatically shifted in the column direction and the line direction so that the text in the parent window is not erased. If the text characters are hidden even if the child window is moved, the text position is adjusted so that the text characters are not hidden. The window can be moved and adjusted automatically.
[Brief description of the drawings]
FIG. 1 is a principle block diagram of the present invention.
FIG. 2 is a flowchart explaining the operation of the present invention.
FIG. 3 is a flowchart for adjusting a child window display position in the digit direction in units of digits according to the present invention;
FIG. 4 is a flowchart for adjusting a display position of a child window in a row direction in units of rows according to the present invention.
FIG. 5 is a text position adjustment flowchart of the present invention.
FIG. 6 is a display example of the present invention.
[Explanation of symbols]
1: Display system 2: Digit position adjusting means 3: Line position adjusting means 4: Text position adjusting means 5: Screen control means 6: Display device 7: Input device

Claims (1)

親ウィンドウ領域内に表示される子ウィンドウ領域の表示位置と親ウィンドウ領域内に表示されるテキストデータ表示領域の表示位置とを調整するウィンドウ表示装置であって、
テキストデータの桁方向の領域の大きさを示す桁方向領域であって、
前記親ウィンドウ表示範囲の親ウィンドウ桁方向領域、該親ウィンドウ領域内に表示されるテキストデータ表示範囲のテキストデータ桁方向領域、および親ウィンドウ領域内上に表示される子ウィンドウ表示範囲の子ウィンドウ桁方向領域を取得する領域取得手段と、
前記テキストデータ桁方向領域に前記子ウィンドウ桁方向領域が重なると判断される場合は、前記テキストデータ桁方向領域と前記子ウィンドウ桁方向領域とに基づき、該子ウィンドウ桁方向領域を前記親ウィンドウ領域の桁方向について端まで移動させる子ウィンドウ領域移動手段と、
前記子ウィンドウ領域移動手段にて前記子ウィンドウ領域を移動させた結果、該子ウィンドウ領域の下位にテキストデータ桁方向領域が重なっている場合には、テキストデータ表示領域のテキストデータを該子ウィンドウ領域と重ならない領域に移動させるテキストデータ移動手段と
から構成されることを特徴とするウィンドウ表示装置。
A window display device for adjusting a display position of a child window area displayed in a parent window area and a display position of a text data display area displayed in the parent window area,
A digit direction area indicating the size of the digit direction area of text data,
Parent window digit direction area of the parent window display range, text data digit direction area of the text data display range displayed in the parent window area, and child window digits of the child window display range displayed on the parent window area Area acquisition means for acquiring a direction area;
If it is determined that the child window digit direction region overlaps the text data digit direction region, the child window digit direction region is defined as the parent window region based on the text data digit direction region and the child window digit direction region. Child window area moving means for moving to the end in the digit direction of
As a result of moving the child window area by the child window area moving means, if the text data digit direction area overlaps the lower part of the child window area, the text data in the text data display area is transferred to the child window area. Text data moving means to move to an area that does not overlap with
Window display device characterized by consisting of.
JP27522194A 1994-11-09 1994-11-09 Window display device Expired - Fee Related JP3673535B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27522194A JP3673535B2 (en) 1994-11-09 1994-11-09 Window display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27522194A JP3673535B2 (en) 1994-11-09 1994-11-09 Window display device

Publications (2)

Publication Number Publication Date
JPH08137655A JPH08137655A (en) 1996-05-31
JP3673535B2 true JP3673535B2 (en) 2005-07-20

Family

ID=17552399

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27522194A Expired - Fee Related JP3673535B2 (en) 1994-11-09 1994-11-09 Window display device

Country Status (1)

Country Link
JP (1) JP3673535B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7471646B2 (en) * 2005-01-10 2008-12-30 Microsoft Corporation System and methods for inline property editing in tree view based editors
JP2007299334A (en) 2006-05-02 2007-11-15 Sony Computer Entertainment Inc Method for controlling information processing system and computer
JP5056676B2 (en) * 2008-08-29 2012-10-24 日本電気株式会社 Information processing apparatus, window display method, and program
JP5348225B2 (en) * 2011-11-10 2013-11-20 日本電気株式会社 Information processing apparatus, window display method, and program

Also Published As

Publication number Publication date
JPH08137655A (en) 1996-05-31

Similar Documents

Publication Publication Date Title
JP2006524367A5 (en)
WO2003026497A1 (en) Endoscope insertion direction sensing method and endoscope insertion direction sensing apparatus
JP2010108389A (en) Image display device and program
JP3673535B2 (en) Window display device
WO1994027278A1 (en) A windowing system with independent windows of arbitrary resolution for display on multiple devices of arbitrary resolution
JP3023702B2 (en) Video information multiplexing method
CN105739938A (en) Focus picture displaying method and device
JP3582866B2 (en) Image display device
EP0486090B1 (en) Display method and apparatus
JP2778825B2 (en) Graphic display device
CN104715053A (en) Method, device and browser for achieving web content display
JPH08202856A (en) Picture processing method
JP2842511B2 (en) Form creation device
JP4357620B2 (en) Image creating method and apparatus
JP2939159B2 (en) Apparatus and method for aligning handwritten characters
JP2018036737A (en) Image processing device for reading multiple bar code
JP2934011B2 (en) Image processing method and apparatus
JPH07129149A (en) Character plotting device
CN115454307A (en) Advertisement interaction method and related device
JP2822484B2 (en) Image layout method and apparatus
JPH10228534A (en) Image moving method and image moving device
JPH0667837A (en) Scroll control system
JP2936546B2 (en) Character centering device and processing device equipped with this device
JPH10154040A (en) Image processor
JPH11231990A (en) Method and device for displaying image part and recording medium recording program to execute processing

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040317

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: 20050405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050425

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080428

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees