WO2004008302A1 - Display control apparatus and display control program - Google Patents

Display control apparatus and display control program Download PDF

Info

Publication number
WO2004008302A1
WO2004008302A1 PCT/JP2002/007003 JP0207003W WO2004008302A1 WO 2004008302 A1 WO2004008302 A1 WO 2004008302A1 JP 0207003 W JP0207003 W JP 0207003W WO 2004008302 A1 WO2004008302 A1 WO 2004008302A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
characters
character
display control
attribute information
Prior art date
Application number
PCT/JP2002/007003
Other languages
French (fr)
Japanese (ja)
Inventor
Akihiro Hatakenaka
Original Assignee
Fujitsu Limited
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 Limited filed Critical Fujitsu Limited
Priority to PCT/JP2002/007003 priority Critical patent/WO2004008302A1/en
Publication of WO2004008302A1 publication Critical patent/WO2004008302A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • G06F3/04895Guidance during keyboard input operation, e.g. prompting

Definitions

  • the present invention provides a display control that controls display of an input field (input control) displayed on a GUI (Graphical User Interface) such as an input window or an input dialog when performing an input operation to a computer. It relates to a device and a display control program.
  • GUI Graphic User Interface
  • a rectangular character input box is arranged in a window area displayed on a display, and input is performed from a keyboard or the like into this input box. ing.
  • the input field is selected with a mouse or the like, a carriage is placed, and a character is input from the keyboard, the character is displayed at the position of the carriage.
  • the number of characters that can be entered in this input field is usually defined in the program according to the memory area to be used.
  • the number of characters to be entered is determined in advance.
  • the number of characters to be entered is specified, such as entering a telephone number or license number of a software product.
  • an object of the present invention is to obtain an attribute of a character to be input in an input field and display the input status of the input character based on the attribute, thereby enabling the input field to be limited in a limited input field. It is an object of the present invention to provide a technology for easily grasping a character input amount, an editing position, and the like. Disclosure of the invention
  • the present invention adopts the following configuration in order to solve the above problems.
  • the display control device of the present invention includes:
  • An input receiving unit that receives an input of a character in the input column, and an attribute obtaining unit that obtains attribute information of the input column,
  • the column display control means displays, in the input field, an input state of the character based on the character and the attribute information received by the input receiving means. .
  • the display control device of the present invention can easily grasp the input situation even when the width of the input field is set smaller than the display width of the number of characters that can be input.
  • the attribute acquisition unit acquires the number of characters that can be input to the input field as the attribute information
  • the field display control means As the input status based on the attribute information, the field display control means The ratio of the number of characters received by the input receiving unit to the number of characters may be displayed.
  • the attribute acquisition unit acquires an input range of a character input to the input box as the attribute information
  • the field display control means may display the position of the display range of the character displayed in the input field with respect to the input range of the character.
  • the input range of the character is the number of input characters received by the input receiving unit, the display width when all the input characters are displayed, the number of characters that can be input, and the display when the number of characters that can be input are displayed. Width.
  • the attribute acquisition unit acquires the number of characters that can be input to the input box and the input range of characters input to the input box as the attribute information
  • the column display control means displays the ratio of the number of characters received by the input receiving means to the number of characters that can be input, and displays the input field for the input range of the character.
  • a configuration may be adopted in which the position of the display range of the character displayed in is displayed.
  • the attribute acquisition unit acquires the number of characters that can be input to the input field as the attribute information
  • the column display control unit may change the background of the input column as the input status.
  • the display control program according to the present invention includes:
  • a ratio of the number of characters received by the input receiving unit to the number of characters that can be input in the step of displaying the input status may be displayed.
  • the display control program may further include, in the step of acquiring the attribute information, acquiring an input range of a character input to the input field as the attribute information; In the displaying step, the position of the display range of the character displayed in the input box with respect to the input range of the character may be displayed.
  • the display control program in the step of obtaining the attribute information, the number of characters that can be input to the input field and the input range of characters input to the input field as the attribute information are obtained;
  • the ratio of the number of characters received by the input receiving unit to the number of characters that can be input in the step of displaying the input status is displayed, and the input to the input range of the character is displayed.
  • the position of the display range of the character displayed in the column may be displayed.
  • the input status may be displayed by changing the background of the input field in the step of displaying the input status.
  • FIG. 1 is an explanatory diagram when an input state is displayed in an input field by the display control device of the present invention.
  • FIG. 2 is a block diagram of a display control device according to the present invention.
  • FIG. 3 is an explanatory diagram of a display control procedure according to the first embodiment of the present invention.
  • FIG. 4 is an explanatory diagram of a modification according to the first embodiment.
  • FIG. 5 is an explanatory diagram of a modification according to the first embodiment.
  • FIG. 6 is an explanatory diagram of a control procedure according to a modification of the first embodiment.
  • FIG. 7 is an explanatory diagram of a control procedure according to a modification of the first embodiment.
  • FIG. 8 is an explanatory diagram of a control procedure according to a modification of the first embodiment.
  • FIG. 9 is an explanatory diagram of a modification according to the first embodiment.
  • FIG. 10 is an explanatory diagram of a display control procedure according to the second embodiment of the present invention.
  • FIG. 11 is a diagram illustrating a display example of an input state according to the second embodiment.
  • FIG. 12 is an explanatory diagram of a modification according to the second embodiment.
  • FIG. 13 is an explanatory diagram of a modification according to the second embodiment.
  • FIG. 14 is an explanatory diagram of a modification according to the second embodiment.
  • FIG. 15 is an explanatory diagram of a modification according to the second embodiment.
  • FIG. 16 is an explanatory view of a modification according to the second embodiment.
  • FIG. 17 is an explanatory diagram of a display control procedure according to the third embodiment of the present invention.
  • FIG. 18 is a diagram showing a display example of an input field in the third embodiment.
  • FIG. 19 is a diagram showing a display example of an input status in the third embodiment.
  • FIG. 1 is an explanatory diagram of display control by the display control device of the present invention.
  • the figure shows an example in which a character is input to an input field (control) 22 of an input window 21 displayed on a computer display.
  • the characters input to the input box 22 are not limited to characters, but may be any display units such as codes, symbols, pictograms, and pictograms. In the following description, this character may be simply called a character.
  • the display (display control device) of the present embodiment displays the input character in the input box 22.
  • the computer sets the input status to the background corresponding to the input amount. Change color.
  • the upper limit of the number of characters (the amount of the character buffer) to be input to the input box 22 is 15 characters, and when 10 characters are input, the background from the left side of the input box 22 to a position about 67% from the left is input. change.
  • the input character amount (input state) with respect to the character buffer amount can be displayed simultaneously with the input characters. Like that.
  • FIG. 2 is a schematic configuration diagram of the display control device of the present invention.
  • a display control device is configured by causing a general-purpose computer to execute a display control program.
  • the display control device 1 of the present embodiment includes, in a main body 11, an arithmetic processing unit 12 including a CPU (central processing unit) and a main memory, and a hard disk in which software for arithmetic processing is stored. (Storage means) 13, an input / output port 14 as a data input / output unit, a communication control unit (CCU: Communication Control Unit) 15 for connecting to a network for communication.
  • arithmetic processing unit 12 including a CPU (central processing unit) and a main memory
  • Storage means 13
  • an input / output port 14 as a data input / output unit
  • a communication control unit (CCU: Communication Control Unit) 15 for connecting to a network for communication.
  • An operating system (OS) application software is installed on the hard disk 13 of the main body 11.
  • the input / output port 14 is connected to input means such as a keyboard and a mouse, and output means such as a display speed.
  • the arithmetic processing unit 12 realizes functions such as a column display control unit, an input receiving unit, and an attribute acquiring unit by processing based on information from peripheral devices and application software. Further, the arithmetic processing unit 12 secures a character buffer in the main memory based on the application software, and temporarily stores the character being input in this buffer.
  • the arithmetic processing unit 12 functions as a column display control unit, based on display data stored in the hard disk 13 or display data downloaded from another computer via the CCU 15, based on the window 21 or the like. Display input box 22 on the display.
  • the arithmetic processing unit 12 draws a character input from a keyboard, a mouse, or the like in the input box 22 at the same time as the function of the display unit. Draw input status.
  • the arithmetic processing unit 12 receives a character input to the input field 22 from the input unit such as the keyboard or the mouse, and stores the input into the character buffer of the main memory.
  • the arithmetic processing unit 12 acquires attribute information such as the number of characters that can be input in the input box 22 and the number of characters that can be displayed in the input box 22 as a function of the attribute obtaining unit.
  • the display control device of the present invention may be an electronic device configured with dedicated electronic circuits for the column display control means, the input receiving means, the attribute acquiring means, and the like.
  • FIG. 3 is an explanatory diagram of steps executed by the display control program.
  • the display controller 12 initializes the character buffer and the input column 22 by the function of the column display controller.
  • the input box 22 in the initial state in which a blank or a default value is described is drawn at a predetermined position in the window 21 (step 100, hereinafter, as in S 100 0). Abbreviated).
  • the arithmetic processing unit 12 acquires the attribute of the input box 22 by the function of the attribute acquiring means (S101).
  • the maximum number of characters that can be input to the character buffer, the font, the character size, and the like are acquired as the attributes.
  • the arithmetic processing unit 12 calculates the width mx when the maximum number of characters is actually displayed based on this attribute (S102).
  • the arithmetic processing unit 12 waits for a character to be input (S103).
  • the arithmetic processing unit 12 stores the input character in a character buffer by the function of the input receiving means, and obtains the number of input characters by referring to the buffer (S104) .
  • the arithmetic processing unit 12 calculates a width (display width) aw when all the input characters are displayed based on the number of input characters and the font to be used (S105). Further, the arithmetic processing unit 12 calculates the relative width Bw of the input character by using the width of the input field as the width of the maximum number of characters according to the following equation (S106).
  • Fig. 1 shows the case where 10 characters are input for the number of characters that can be input (15 characters), and the color of the background (shaded area) of about 67% is changed from the left side, and the remaining About 33% of the background is white in the initial state.
  • the first character when the first character is input, the first character is displayed and at the same time, the background color of about 73% from the left is changed. This indicates that approximately 73% is currently input, and that approximately 27% can be input.
  • the input status can be confirmed based on the ratio of the background color. Therefore, even if the width of the input field is smaller than the display width of the input characters, You can intuitively understand what you are typing and how much you can enter.
  • the input amount can be indicated only by the area where the input column is displayed, so that the display area of the display can be effectively used.
  • the display method of the input status is different from the above-described embodiment.
  • the other configuration is almost the same, so that the description is omitted.
  • FIG. 4 shows an example in which the background color is changed when displaying the input status, instead of changing the background color.
  • the arithmetic processing unit 12 of this example calculates the relative width of the input character according to steps 100 to 106 of the display control procedure shown in FIG. Redraw the input box 22 to change the color of the frame.
  • Fig. 4 shows the case where 10 characters are entered for the number of characters that can be entered (15 characters).
  • the color of the frame (shaded area) of about 67% from the left is changed, and the remaining About 33% of the frame is white in the initial state.
  • Figure 5 shows an example of changing the text format instead of changing the background and frame colors. are doing.
  • the input box 22 is redrawn so that the characters corresponding to the relative widths are changed to bold characters in step 7.
  • 10 characters can be displayed in the input field at one time. If the ratio of the input characters to the maximum number of input characters is 1% or more and less than 10%, the first character is bold and 10% or more If it is less than%, the character format is changed every 10% so that the second character becomes bold.
  • This modified example is a case where the present invention is applied to display control at the time of character input in a web browser, in which the display control program of the present invention is provided as an ablet (for example, a program module that does not depend on ⁇ S such as JAVA (trademark)). Is shown. Other configurations are the same as those of the above-described embodiment.
  • FIG. 6 to 8 are explanatory diagrams of a display control procedure of the present modification
  • FIG. 9 is an explanatory diagram of an input field displayed in the present modification.
  • the arithmetic processing unit 12 invokes the corresponding application software from the hard disk 13 to activate the web browser.
  • the arithmetic processing unit 12 starts a processing loop for the web page to be browsed (S110).
  • the arithmetic processing unit 12 requests the web page from the web server based on the URL (S111).
  • the arithmetic processing unit 12 analyzes the HTML of the page (S113). ), It is determined whether or not the web page includes a request to generate an ablet for display control (S114).
  • the arithmetic processing unit 12 reads out the requested ablet on the hard disk 13 or downloads the ablet from the web server as the ablet generation process, and also downloads the ablet from the web server. Start the software to be executed (for example, a Java virtual machine) (S115).
  • the arithmetic processing unit 12 performs the arithmetic processing based on this ablet, thereby realizing the above-described functions of the column display control unit, the input receiving unit, the attribute acquiring unit, and the like, and executes the later-described steps.
  • this example shows a case where a dialog for prompting the user to input an ID and a password is displayed in order to perform an authentication process.
  • the arithmetic processing unit 12 performs an initialization process (S200).
  • a character buffer is secured in a predetermined memory area, and a drawing area is initialized.
  • the arithmetic processing unit 12 acquires, from the server, data necessary for display, that is, the attribute of the input box 22, by the function of the attribute acquiring means (S201).
  • information such as the maximum number of characters that can be input to the character buffer, a normal background color, and a solid background color indicating the input amount is acquired as the attribute.
  • the arithmetic processing unit 12 draws an input box 24 in an initial state in which a blank or a default value is described in a designated place on the web page (S202), and starts a processing loop until the user ID is determined (S202). 203).
  • the arithmetic processing unit 12 sets the maximum number of characters n, the normal background color (colorl), and the painted background color (color2) in the input field 24 (S300), and waits for input (S301). .
  • the arithmetic processing unit 12 receives the input character by the function of the input receiving unit, stores the character in the character buffer, and draws the character stored in the character buffer in the input box 24 (S303). ).
  • the arithmetic processing unit 12 calculates the width mx when the maximum number of characters is actually displayed based on the attribute (S304).
  • the arithmetic processing unit 12 obtains the number of input characters stored in the buffer (305), and displays all the characters input from the number of input characters and the font to be used. Width (display width) aw is calculated (S306).
  • the arithmetic processing unit 12 calculates the ratio (the relative width of the input character) Bw of the display width of the input character to the width of the input field according to the following equation (S307).
  • the arithmetic processing unit 12 redraws the input column 24 by using the function of the column display control means so as to change the background color of the portion corresponding to the calculated relative width (S 308).
  • Fig. 9 shows a case where 10 characters are input for the number of characters that can be input (15 characters), and the color of the background (shaded area) of about 67% from the left is changed to a solid background color The remaining 33% of the background is the normal background color.
  • the input status can be easily grasped even if the width of the input field is set short as in the above-described embodiment.
  • the present embodiment is different from the above-described first embodiment in control for displaying a display range (input position) as an input state, and other configurations are substantially the same.
  • the same elements as those in the above-described embodiment are denoted by the same reference numerals, and the description thereof will not be repeated.
  • FIG. 10 is an explanatory diagram of a display control procedure according to the present modification
  • FIG. 11 is an explanatory diagram of an input field displayed in the present modification.
  • the display control unit 12 first performs a process of initializing the character buffer and the input column 25 by the function of the column display control unit.
  • an input field 25 in an initial state in which a blank field or a default value is described is drawn at a predetermined position of the window 21 (step 400).
  • the arithmetic processing unit 12 determines whether or not scrolling has been performed (S401).
  • the scrolling is performed by, when a character is input beyond the width of the input field 25, adding a new character to the right end and shifting the previous character to the left.
  • the scroll moves the cursor 31 to the left end or the right end of the input box 25, and the characters in that direction are moved. This is also done by displaying them sequentially.
  • the arithmetic processing unit 12 acquires the number of input characters by referring to the character buffer (S402). Also, the arithmetic processing unit 12 obtains the width of the input field, the font used, the character size, and the like as attributes of the input field 25 by the function of the attribute obtaining means, and based on this attribute, the width when all the input characters are displayed. aw is calculated (S403).
  • the arithmetic processing unit 12 acquires a distance p os X from the top of the scrolled input character string to the left end of the input box 25 (S404). For example, in FIG. 11, since the third character of the input character string is displayed at the left end of the input field, the character width of the previous two characters, pOSX, is obtained.
  • the arithmetic processing unit 12 obtains the ratio (relative character width) Bw of the width of the input box 25 to the display width aw of the input character obtained in step 403 by the following formula (S405).
  • the arithmetic processing unit 12 obtains the background color change start position p os B by the following equation (S406).
  • the arithmetic processing unit 12 performs drawing by using the function of the column display control means so as to change the background color of the input column 25 from the calculated position p os B by the relative character width Bw (S407).
  • FIG. 11 shows a case where the third to thirteenth characters of the inputted fifteen characters are displayed.
  • FIG. 12 shows a case where the fifth to fifteenth characters are displayed by scrolling.
  • the user can easily grasp the position of the displayed character, that is, the position of the displayed character, that is, the position to be edited.
  • the input status such as “Where the input character string is displayed” is displayed. Can be shown.
  • the input position can be indicated only by the area where the input field is displayed, so that the display area of the display can be effectively used.
  • the display position for the input character is shown.
  • the number of characters that can be input as attribute information is acquired, and the character width when all the number of characters is displayed is set to aw, and steps 403 to 407 are performed.
  • Relative width Bw, start position pos B First, the background color may be changed from the start position P os B by the width of the relative width B w to indicate where the position in the inputtable character range is displayed, ⁇ Modification 1 ⁇
  • the display method of the input status is different from the above-described embodiment.
  • the other configuration is almost the same, so that the description is omitted.
  • FIG. 13 shows an example in which the color of the frame is changed instead of changing the background color when displaying the input status.
  • the arithmetic processing unit 12 of the present example obtains the relative width B w of the input character and the change start position p 0 s B according to steps 40 0 to 40 6 of the display control procedure shown in FIG.
  • the input field 25 is redrawn so as to change the color of the frame having the relative width Bw from the change start position posB.
  • Fig. 14 shows an example of changing the character format instead of changing the background and frame colors.
  • the input field 25 is redrawn in step 407 so that the characters corresponding to the relative width are changed to bold characters.
  • the number of characters that can be displayed at one time in the input field is 11 characters, so if the change start position is 0% or more and less than 9% of the width of the input field, change from 1st character to 9% and less than 18% If there is, the format of 8 characters is changed by shifting the starting position every 9%, like the third character if it is 18% or more and less than 27%.
  • FIG. 15 simultaneously shows the input amount displayed by the control procedure of FIG. 3 and the position displayed by the control procedure of FIG.
  • the input amount and the position are displayed by the background color.
  • FIG. 16 shows an example in which, when an input character is input over a plurality of lines, the display position is displayed in a rectangular shape in the input field.
  • the height direction is also displayed in the display start position and the input field 28 with respect to the number of input lines.
  • the display position is shown by calculating the ratio of the rows and changing the background color of the corresponding part in the width and height directions.
  • FIG. 17 is an explanatory diagram of a display control procedure of the present modification
  • FIGS. 18 and 19 are explanatory diagrams of input fields displayed in the present modification.
  • the display control unit 12 first performs initialization processing of the character buffer and the input box 29 by the function of the display control means. In the initialization process of the input box 29, an input box 29 in an initial state in which a blank or a default value is described is drawn at a predetermined position of the window 21 (step 500).
  • the arithmetic processing unit 12 acquires the maximum number of characters (maximum number of characters) for which input is valid as an attribute of the input field 25 by the function of the attribute acquisition means (S501).
  • the arithmetic processing unit 12 waits for input (S502), and when a character is input, acquires the number of input characters by referring to the character buffer (S503).
  • the arithmetic processing unit 12 acquires the initial value of the background color (white in this example) and the changed value (red in this example) as the attributes of the input field 25 by the function of the attribute acquisition means.
  • the period value is set (S504).
  • the arithmetic processing unit 12 determines whether or not the number of input characters has exceeded the maximum number of characters (S505), and if so, sets the background color to red (S506). Then, the arithmetic processing unit 12 draws an input field in a state where the background is red and the characters are input (S507). On the other hand, if it is determined in step 505 that the number of input characters does not exceed the maximum number of characters, the arithmetic processing unit 12 draws an input field in which the characters are input while the background is white.
  • whether the number of input characters exceeds the maximum number of characters can be displayed by the background of the input column, and it can be easily grasped whether the number of characters exceeds the maximum number of characters.
  • the maximum number of characters is 15 characters.
  • the user enters 30 characters and presses the send button, the user is prevented from actually being cut off and registered with 15 characters without noticing.
  • the input status such as “whether or not the maximum number of characters has been exceeded” can be indicated only by the area where the input field is displayed, so that the display area of the display can be effectively used.
  • This embodiment is performed simultaneously with the first embodiment.
  • the background color of a portion corresponding to the input amount is changed to a first background color (for example, green).
  • the remaining background may be the initial background color (eg, white), and if the number of input characters exceeds the maximum number of characters, the background color may be changed to the second background color (eg, red).
  • this embodiment is performed simultaneously with the second embodiment. If the number of input characters is equal to or less than the maximum number of characters, the display position is indicated by a first background color (for example, green), and the number of input characters exceeds the maximum number of characters. In this case, the background color may be changed to a second background color (for example, red).
  • the input amount is indicated by the first background color (for example, yellow) and the display position is indicated by the second background color (for example, green).
  • the background color may be changed to a third background color (for example, red).
  • the frame color may be displayed.
  • the input status can be easily grasped.
  • the present invention is not limited to the general-purpose computer described in the above embodiment, but can be similarly applied to a telephone, a FAX, an electronic calculator, and the like as long as the device can input characters while confirming the input characters in an input box.
  • a program (display control program) that causes a computer to realize the above functions can be recorded on a computer-readable recording medium. And con The function can be provided by reading and executing the program on the recording medium in the evening.
  • a computer-readable recording medium is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer.
  • Examples of such a recording medium that can be removed from a computer include a flexible disk, a magneto-optical disk, a CD-R0M, a CD-R / W, a DVD, a DAT, an 8 mm tape, and a memory card.
  • a recording medium fixed to the computer includes a hard disk and a ROM (lead only memory).

Abstract

A display control apparatus and a display control program for performing display control of an input column (input control) displayed on GUI (graphical user interface) such as an input window and an input dialogue for input operation to a computer. An input column is displayed, characters entered in this input column are accepted, and the attribute information of the input column is acquired. When the input of the characters is accepted, the character input state according to the accepted characters and the attribute information is displayed in the input column. Thus, even when the width of the input column is set smaller than the display width of the number of characters that can be input, the input state can easily be grasped.

Description

明細書  Specification
表示制御装置及び表示制御プログラム 技術分野 Display control device and display control program
本発明は、 例えば、 コンピュータへの入力操作を行う際の入力ウィンドウや入 力ダイアログといった G U I (Graph i cal User Inter f ace) 上に表示される入力 欄 (入力コントロール) の表示制御を行う表示制御装置及び表示制御プログラム に関する。 背景技術  The present invention provides a display control that controls display of an input field (input control) displayed on a GUI (Graphical User Interface) such as an input window or an input dialog when performing an input operation to a computer. It relates to a device and a display control program. Background art
従来、 G U Iを用いてコンピュータに入力を行う際には、 ディスプレイ上に表 示するウィンドウ領域内に矩形状の文字入力欄を配置し、 この入力欄に対してキ —ボードなどから入力が行われている。  Conventionally, when inputting to a computer using a GUI, a rectangular character input box is arranged in a window area displayed on a display, and input is performed from a keyboard or the like into this input box. ing.
例えば、 入力する欄をマウス等で選択してキヤレットを置き、 キーボードから 文字を入力すると、 このキヤレツ卜の位置に当該文字が表示される。  For example, when the input field is selected with a mouse or the like, a carriage is placed, and a character is input from the keyboard, the character is displayed at the position of the carriage.
このとき文字列が長くなつて入力欄に収まらない場合には、 入力欄の幅の分だ けを表示し、 ユーザが、 このはみ出した部分について確認したい場合には、 マウ スゃキーボ一ドからの操作によって表示をスクロールさせる手法が多く用いられ ている。  At this time, if the character string is too long to fit in the input field, only the width of the input field is displayed. The method of scrolling the display by the operation of is often used.
この入力欄に入力可能な文字数は、 通常、 使用するメモリの領域等に応じ、 プ ログラムで定義されている。  The number of characters that can be entered in this input field is usually defined in the program according to the memory area to be used.
また、 アンケート調査などでは、 予め入力する文字数を決めて決めておくもの がある。 さらに、 電話番号や、 ソフトウェア製品のライセンス番号の入力のよう に、 入力する文字数が特定されているものも多い。  In some cases, such as questionnaire surveys, the number of characters to be entered is determined in advance. In addition, there are many cases where the number of characters to be entered is specified, such as entering a telephone number or license number of a software product.
しかしながら、 上述のように入力文字の表示幅が入力欄の幅を超えて入力しな ければならない場合、 文字入力欄にどのくらいの文字数が入力可能なのか、 現在 どのくらい入力したのかが、 直感的にはわからないという問題点があった。 このため、 入力文字数が全て表示できるように入力欄の幅を設定することが望 まれるが、 例えばウェブページ上の入力フォームであって、 ページを複数のフレ ームに分割した場合等では、 入力欄の幅を十分にとることができないことがあつ た。 更に、 携帯型のコンピュータのディスプレイに表示させることを想定した場 合にも、 入力欄の幅を十分にとることが困難であった。 However, as described above, when the display width of the input characters must be larger than the width of the input field, intuitively how many characters can be input in the character input field and how much are currently input There was a problem of not knowing. For this reason, it is desirable to set the width of the input field so that the entire number of input characters can be displayed. In some cases, the width of the input field could not be made sufficient when divided into teams. Furthermore, it was difficult to make the input field wide enough even when it was assumed that the data would be displayed on the display of a portable computer.
また、 上述のように入力文字列の一部しか表示されない状態で編集を行おうと する場合では、 現在文字列のどの辺りを編集しているのかが、 文字列を実際にス クロールさせてみなければ分からないという問題点があった。  Also, as described above, if you try to edit with only a part of the input character string displayed, you can actually scroll the character string to find out which part of the character string you are currently editing. There was a problem that he did not know.
そして、 これらの問題点は、 入力文字数が多くなり、 スクロールしなければ確 認できない文字数が増えるほど顕著になる。  These problems become more pronounced as the number of input characters increases and the number of characters that cannot be confirmed without scrolling increases.
本発明は、 このような従来の技術の問題点に鑑みてなされたものである。 すな わち、 本発明の課題は、 入力欄に入力される文字の属性を取得して該属性に基づ き、 入力されたキャラクタの入力状況を表示することにより、 限られた入力欄で あってもキャラクタの入力量や編集位置等の把握を容易とする技術を提供するこ とにある。 発明の開示  The present invention has been made in view of such problems of the conventional technology. That is, an object of the present invention is to obtain an attribute of a character to be input in an input field and display the input status of the input character based on the attribute, thereby enabling the input field to be limited in a limited input field. It is an object of the present invention to provide a technology for easily grasping a character input amount, an editing position, and the like. Disclosure of the invention
本発明は前記課題を解決するために、 以下の構成を採用する。  The present invention adopts the following configuration in order to solve the above problems.
即ち本発明の表示制御装置は、  That is, the display control device of the present invention includes:
入力欄を表示する欄表示制御手段と、  Column display control means for displaying an input column;
前記入力欄に対するキャラクタの入力を受け付ける入力受付手段と、 前記入力欄の属性情報を取得する属性取得手段とを備え、  An input receiving unit that receives an input of a character in the input column, and an attribute obtaining unit that obtains attribute information of the input column,
前記入力受付手段でキャラクタの入力を受け付けた場合に、 前記欄表示制御手 段が、 該入力受付手段で受け付けたキャラクタ及び前記属性情報に基づく該キヤ ラク夕の入力状況を前記入力欄に表示する。  When a character input is received by the input receiving means, the column display control means displays, in the input field, an input state of the character based on the character and the attribute information received by the input receiving means. .
このような構成を採用したことにより、 本発明の表示制御装置は、 入力欄の幅 を入力可能な文字数の表示幅より狭く設定した場合でも、 入力状況を容易に把握 できるようにしている。  By adopting such a configuration, the display control device of the present invention can easily grasp the input situation even when the width of the input field is set smaller than the display width of the number of characters that can be input.
また、 上述の表示制御装置において、 前記属性取得手段が、 前記属性情報とし て前記入力欄に入力可能なキャラクタ数を取得し、  Further, in the display control device described above, the attribute acquisition unit acquires the number of characters that can be input to the input field as the attribute information,
この属性情報に基づく入力状況として、 前記欄表示制御手段が、 入力可能なキ ャラクタ数に対する前記入力受付手段で受け付けたキャラクタ数の割合を表示す る構成としても良い。 As the input status based on the attribute information, the field display control means The ratio of the number of characters received by the input receiving unit to the number of characters may be displayed.
また、 上述の表示制御装置において、 前記属性取得手段が、 前記属性情報とし て前記入力欄に入力されるキャラクタの入力範囲を取得し、  Further, in the display control device described above, the attribute acquisition unit acquires an input range of a character input to the input box as the attribute information,
この属性情報に基づく入力状況として、 前記欄表示制御手段が、 前記キャラク 夕の入力範囲に対する前記入力欄に表示したキャラクタの表示範囲の位置を表示 する構成としても良い。  As the input status based on the attribute information, the field display control means may display the position of the display range of the character displayed in the input field with respect to the input range of the character.
なお、 前記キャラクタの入力範囲とは、 入力受付手段で受け付けた入力文字の 数や、 該入力文字を全て表示した場合の表示幅、 入力可能な文字数、 該入力可能 な文字数を表示した場合の表示幅等である。  Note that the input range of the character is the number of input characters received by the input receiving unit, the display width when all the input characters are displayed, the number of characters that can be input, and the display when the number of characters that can be input are displayed. Width.
また、 上述の表示制御装置において、 前記属性取得手段が、 前記属性情報とし て前記入力欄に入力可能なキャラクタ数及び、 前記入力欄に入力されるキャラク 夕の入力範囲を取得し、  In the display control device described above, the attribute acquisition unit acquires the number of characters that can be input to the input box and the input range of characters input to the input box as the attribute information,
この属性情報に基づく入力状況として、 前記欄表示制御手段が、 入力可能なキ ャラク夕数に対する前記入力受付手段で受け付けたキャラクタ数の割合を表示す ると共に、 前記キャラクタの入力範囲に対する前記入力欄に表示したキャラクタ の表示範囲の位置を表示する構成としても良い。  As the input status based on the attribute information, the column display control means displays the ratio of the number of characters received by the input receiving means to the number of characters that can be input, and displays the input field for the input range of the character. A configuration may be adopted in which the position of the display range of the character displayed in is displayed.
また、 上述の表示制御装置において、 前記属性取得手段が、 前記属性情報とし て前記入力欄に入力可能なキャラクタ数を取得し、  Further, in the display control device described above, the attribute acquisition unit acquires the number of characters that can be input to the input field as the attribute information,
前記入力受付手段で受け付けたキャラクタ数が入力可能なキャラクタ数を超え た場合に、 前記欄表示制御手段が、 前記入力状況として前記入力欄の背景を変更 する構成としても良い。  When the number of characters received by the input receiving unit exceeds the number of characters that can be input, the column display control unit may change the background of the input column as the input status.
また、 本発明の表示制御プログラムは、  The display control program according to the present invention includes:
入力欄を表示するステップと、  Displaying an input field;
前記入力欄に対するキャラクタの入力を受け付けるステップと、  Receiving a character input to the input field;
前記入力欄の属性情報を取得するステップと、  Obtaining attribute information of the input field;
前記キャラクタの入力を受け付けた場合に、 この受け付けたキャラクタ及び前 記属性情報に基づく該キャラクタの入力状況を前記入力欄に表示するステップと をコンピュータに実行させる。 また、 上述の表示制御プログラムは、 前記属性情報を取得するステップにおい て、 前記属性情報として前記入力欄に入力可能なキャラクタ数を取得し、 And displaying the received character and the input status of the character based on the attribute information in the input box when the input of the character is received. Further, in the display control program described above, in the step of acquiring the attribute information, acquiring the number of characters that can be input in the input box as the attribute information,
この属性情報に基づく入力状況として、 前記入力状況を表示するステップにお いて入力可能なキャラクタ数に対する前記入力受付手段で受け付けたキャラクタ 数の割合を表示するものでも良い。  As the input status based on the attribute information, a ratio of the number of characters received by the input receiving unit to the number of characters that can be input in the step of displaying the input status may be displayed.
また、 上述の表示制御プログラムは、 前記属性情報を取得するステップにおい て、前記属性情報として前記入力欄に入力されるキャラクタの入力範囲を取得し、 この属性情報に基づく入力状況として、 前記入力状況を表示するステップにお いて前記キャラクタの入力範囲に対する前記入力欄に表示したキャラクタの表示 範囲の位置を表示するものでも良い。  The display control program may further include, in the step of acquiring the attribute information, acquiring an input range of a character input to the input field as the attribute information; In the displaying step, the position of the display range of the character displayed in the input box with respect to the input range of the character may be displayed.
また、 上述の表示制御プログラムは、 前記属性情報を取得するステップにおい て、 前記属性情報として前記入力欄に入力可能なキャラクタ数及び、 前記入力欄 に入力されるキャラクタの入力範囲を取得し、  Further, in the display control program, in the step of obtaining the attribute information, the number of characters that can be input to the input field and the input range of characters input to the input field as the attribute information are obtained;
この属性情報に基づく入力状況として、 前記入力状況を表示するステップにお いて入力可能なキャラクタ数に対する前記入力受付手段で受け付けたキャラク夕 数の割合を表示すると共に、 前記キャラクタの入力範囲に対する前記入力欄に表 示したキャラクタの表示範囲の位置を表示するものでも良い。  As the input status based on the attribute information, the ratio of the number of characters received by the input receiving unit to the number of characters that can be input in the step of displaying the input status is displayed, and the input to the input range of the character is displayed. The position of the display range of the character displayed in the column may be displayed.
また、 上述の表示制御プログラムは、 前記属性情報を取得するステップにおい て、 前記属性情報として前記入力欄に入力可能なキャラクタ数を取得し、  Further, in the display control program described above, in the step of acquiring the attribute information, acquiring the number of characters that can be input in the input box as the attribute information,
前記入力手段から受け付けたキャラクタ数が前記入力可能なキャラクタ数を超 えた場合に、 前記入力状況を表示するステップにおいて前記入力欄の背景を変更 することで入力状況を表示するものでも良い。 図面の簡単な説明  When the number of characters received from the input means exceeds the number of characters that can be input, the input status may be displayed by changing the background of the input field in the step of displaying the input status. BRIEF DESCRIPTION OF THE FIGURES
図 1は、 本発明の表示制御装置により、 入力欄に入力状況を表示した場合の説 明図。  FIG. 1 is an explanatory diagram when an input state is displayed in an input field by the display control device of the present invention.
図 2は、 本発明に係る表示制御装置のブロック図。  FIG. 2 is a block diagram of a display control device according to the present invention.
図 3は、 本発明に係る実施形態 1の表示制御手順の説明図。  FIG. 3 is an explanatory diagram of a display control procedure according to the first embodiment of the present invention.
図 4は、 実施形態 1に係る変形例の説明図。 図 5は、 実施形態 1に係る変形例の説明図。 FIG. 4 is an explanatory diagram of a modification according to the first embodiment. FIG. 5 is an explanatory diagram of a modification according to the first embodiment.
図 6は、 実施形態 1に係る変形例の制御手順の説明図。  FIG. 6 is an explanatory diagram of a control procedure according to a modification of the first embodiment.
図 7は、 実施形態 1に係る変形例の制御手順の説明図。  FIG. 7 is an explanatory diagram of a control procedure according to a modification of the first embodiment.
図 8は、 実施形態 1に係る変形例の制御手順の説明図。  FIG. 8 is an explanatory diagram of a control procedure according to a modification of the first embodiment.
図 9は、 実施形態 1に係る変形例の説明図。  FIG. 9 is an explanatory diagram of a modification according to the first embodiment.
図 1 0は、 本発明に係る実施形態 2の表示制御手順の説明図。  FIG. 10 is an explanatory diagram of a display control procedure according to the second embodiment of the present invention.
図 1 1は、 実施形態 2における入力状況の表示例を示す図。  FIG. 11 is a diagram illustrating a display example of an input state according to the second embodiment.
図 1 2は、 実施形態 2に係る変形例の説明図。  FIG. 12 is an explanatory diagram of a modification according to the second embodiment.
図 1 3は、 実施形態 2に係る変形例の説明図。  FIG. 13 is an explanatory diagram of a modification according to the second embodiment.
図 1 4は、 実施形態 2に係る変形例の説明図。  FIG. 14 is an explanatory diagram of a modification according to the second embodiment.
図 1 5は、 実施形態 2に係る変形例の説明図。  FIG. 15 is an explanatory diagram of a modification according to the second embodiment.
図 1 6は、 実施形態 2に係る変形例の説明図。  FIG. 16 is an explanatory view of a modification according to the second embodiment.
図 1 7は、 本発明に係る実施形態 3の表示制御手順の説明図。  FIG. 17 is an explanatory diagram of a display control procedure according to the third embodiment of the present invention.
図 1 8は、 実施形態 3における入力欄の表示例を示す図。  FIG. 18 is a diagram showing a display example of an input field in the third embodiment.
図 1 9は、 実施形態 3における入力状況の表示例を示す図。 発明を実施するための最良の形態  FIG. 19 is a diagram showing a display example of an input status in the third embodiment. BEST MODE FOR CARRYING OUT THE INVENTION
以下、 図面を参照して本発明の実施形態を説明する。 実施形態の構成は例示で あり、 本発明は実施形態の構成に限定されない。  Hereinafter, embodiments of the present invention will be described with reference to the drawings. The configuration of the embodiment is an exemplification, and the present invention is not limited to the configuration of the embodiment.
《実施形態 1》  << Embodiment 1 >>
図 1は、 本発明の表示制御装置による表示制御の説明図である。  FIG. 1 is an explanatory diagram of display control by the display control device of the present invention.
同図では、 コンピュータのディスプレイ上に表示させた入力用のウィンドウ 2 1の入力欄(コントロール) 2 2にキャラクタを入力する例を示している。なお、 入力欄 2 2に入力されるキャラクタは、 文字に限らず符号や記号、 絵文字、 絵記 号等の表示単位であれば良い。 なお、 後述の説明では、 このキャラクタを単に文 字と呼ぶこともある。  The figure shows an example in which a character is input to an input field (control) 22 of an input window 21 displayed on a computer display. The characters input to the input box 22 are not limited to characters, but may be any display units such as codes, symbols, pictograms, and pictograms. In the following description, this character may be simply called a character.
キーボード等の入力デバイスから文字が入力されると、 本実施形態のコンビュ 一夕 (表示制御装置) は、 この入力された文字を入力欄 2 2に表示する。 これと 同時に、 該コンピュータは、 この入力状況として、 入力量に相当する分だけ背景 色を変更する。 When a character is input from an input device such as a keyboard, the display (display control device) of the present embodiment displays the input character in the input box 22. At the same time, the computer sets the input status to the background corresponding to the input amount. Change color.
即ち、 該入力欄 22に入力されるキャラクタ数の上限 (文字バッファの量) が 15文字であるとき、 10文字が入力された場合、入力欄 22の左側から約 67 % の位置までの背景を変更する。  That is, when the upper limit of the number of characters (the amount of the character buffer) to be input to the input box 22 is 15 characters, and when 10 characters are input, the background from the left side of the input box 22 to a position about 67% from the left is input. change.
このように本実施形態では、 入力欄 22の幅が、 入力可能な文字の表示幅より 短い場合であっても、 入力した文字と同時に、 文字バッファ量に対する入力文字 量 (入力状況) を表示できるようにしている。  As described above, in the present embodiment, even if the width of the input field 22 is shorter than the display width of the characters that can be input, the input character amount (input state) with respect to the character buffer amount can be displayed simultaneously with the input characters. Like that.
〈表示制御装置の構成〉  <Configuration of display control device>
図 2は、 本発明の表示制御装置の概略構成図である。 本実施形態では、 汎用の コンピュータに表示制御プログラムを実行させることで表示制御装置を構成して いる。  FIG. 2 is a schematic configuration diagram of the display control device of the present invention. In the present embodiment, a display control device is configured by causing a general-purpose computer to execute a display control program.
本例の表示制御装置 1は、 図 2に示すように、 本体 1 1内に、 CPU (central processing unit)やメインメモリ等よりなる演算処理部 12、 演算処理の為のソ フトウェアを記憶したハードディスク (記憶手段) 13、 データの入出力部であ る入出力ポート 14、 ネットワークに接続して通信を行う為の通信制御手段 (C CU: Communication Control Unit) 15等を備えている。  As shown in FIG. 2, the display control device 1 of the present embodiment includes, in a main body 11, an arithmetic processing unit 12 including a CPU (central processing unit) and a main memory, and a hard disk in which software for arithmetic processing is stored. (Storage means) 13, an input / output port 14 as a data input / output unit, a communication control unit (CCU: Communication Control Unit) 15 for connecting to a network for communication.
本体 1 1のハードディスク 13には、 オペレーティングシステム (OS) ゃァ プリケ一ションソフ卜がインストールされている。  An operating system (OS) application software is installed on the hard disk 13 of the main body 11.
入出力ポート 14には、 キーボードやマウス等の入力手段、 及びディスプレイ ゃスピー力等の出力手段が接続されている。  The input / output port 14 is connected to input means such as a keyboard and a mouse, and output means such as a display speed.
演算処理部 12は、 周辺機器からの情報やアプリケーションソフトに基づく処 理により、 欄表示制御手段や、 入力受付手段、 属性取得手段等の機能を実現して いる。 また、 演算処理部 12は、 アプリケーションソフトに基づいてメインメモ リ内に文字バッファを確保し、入力中の文字をこのバッファに一時的に記憶する。 前記演算処理部 12は、 欄表示制御手段の機能として、 ハードディスク 13に 記憶された表示用データや、 CCU1 5を介して他のコンピュータからダウン口 ードした表示用データに基づいて、 ウィンドウ 21や入力欄 22をディスプレイ 上に表示する。 また、 演算処理部 12は、 表示手段の機能として、 キーボードや マウス等から入力されたキャラクタを該入力欄 22中に描画すると同時に、 この 入力状況の描画を行う。 The arithmetic processing unit 12 realizes functions such as a column display control unit, an input receiving unit, and an attribute acquiring unit by processing based on information from peripheral devices and application software. Further, the arithmetic processing unit 12 secures a character buffer in the main memory based on the application software, and temporarily stores the character being input in this buffer. The arithmetic processing unit 12 functions as a column display control unit, based on display data stored in the hard disk 13 or display data downloaded from another computer via the CCU 15, based on the window 21 or the like. Display input box 22 on the display. In addition, the arithmetic processing unit 12 draws a character input from a keyboard, a mouse, or the like in the input box 22 at the same time as the function of the display unit. Draw input status.
また、 演算処理部 1 2は、 入力受付手段の機能として、 前記キーボードやマウ ス等の入力手段から前記入力欄 2 2に対するキャラクタの入力を受け付け、 メイ ンメモリの文字バッファに記憶させる。  In addition, as a function of the input receiving unit, the arithmetic processing unit 12 receives a character input to the input field 22 from the input unit such as the keyboard or the mouse, and stores the input into the character buffer of the main memory.
また、 演算処理部 1 2は、 属性取得手段の機能として、 前記入力欄 2 2に入力 可能なキャラクタ数や、 入力欄 2 2に表示可能なキャラクタ数等の属性情報を取 得する。  Further, the arithmetic processing unit 12 acquires attribute information such as the number of characters that can be input in the input box 22 and the number of characters that can be displayed in the input box 22 as a function of the attribute obtaining unit.
このように本実施形態では、 汎用コンピュータの演算処理部 1 2が、 表示制御 プログラムに従って所定のステップを実行することで上記手段の機能を実現し、 表示制御装置を構成した例を示したが、これに限らず、本発明の表示制御装置は、 欄表示制御手段や、 入力受付手段、 属性取得手段等を専用の電子回路とし、 これ らで構成した電子機器であっても良い。  As described above, in the present embodiment, the example in which the arithmetic processing unit 12 of the general-purpose computer executes the predetermined steps according to the display control program to realize the function of the above-described means and configures the display control device has been described. The present invention is not limited to this, and the display control device of the present invention may be an electronic device configured with dedicated electronic circuits for the column display control means, the input receiving means, the attribute acquiring means, and the like.
〈表示制御手順〉  <Display control procedure>
図 3は、上記表示制御プログラムによって実行されるステップの説明図である。 先ず、 表示制御部 1 2は、 欄表示制御手段の機能により、 文字バッファ及び入 力欄 2 2の初期化処理を行う。 該入力欄 2 2の初期化処理では、 ウィンドウ 2 1 の所定の個所に空欄或いはデフォルト値を記載した初期状態の入力欄 2 2を描画 する (ステップ 1 0 0、 以下 S 1 0 0のように略記する) 。  FIG. 3 is an explanatory diagram of steps executed by the display control program. First, the display controller 12 initializes the character buffer and the input column 22 by the function of the column display controller. In the initialization process of the input box 22, the input box 22 in the initial state in which a blank or a default value is described is drawn at a predetermined position in the window 21 (step 100, hereinafter, as in S 100 0). Abbreviated).
次に、 演算処理部 1 2は、 属性取得手段の機能により入力欄 2 2の属性を取得 する (S 1 0 1 ) 。 本実施形態では、 該属性として文字バッファに入力可能な最 大文字数や、 フォント、 文字サイズ等を取得している。  Next, the arithmetic processing unit 12 acquires the attribute of the input box 22 by the function of the attribute acquiring means (S101). In this embodiment, the maximum number of characters that can be input to the character buffer, the font, the character size, and the like are acquired as the attributes.
また、 演算処理部 1 2は、 この属性に基づいて最大文字数を実際に表示した場 合の幅 m xを算出する (S 1 0 2 ) 。  Further, the arithmetic processing unit 12 calculates the width mx when the maximum number of characters is actually displayed based on this attribute (S102).
そして演算処理部 1 2は、 文字の入力待ちを行う (S 1 0 3 ) 。  Then, the arithmetic processing unit 12 waits for a character to be input (S103).
キーボードやマウスから文字が入力された場合、 演算処理部 1 2は、 入力受付 手段の機能により入力文字を文字バッファに記憶し、 該バッファを参照して入力 文字数を取得する (S 1 0 4 ) 。  When a character is input from a keyboard or a mouse, the arithmetic processing unit 12 stores the input character in a character buffer by the function of the input receiving means, and obtains the number of input characters by referring to the buffer (S104) .
該演算処理部 1 2は、 この入力文字数と使用フォントとから入力した文字を全 て表示した場合の幅 (表示幅) a wを算出する (S 1 0 5 ) 。 また、演算処理部 1 2は次式により、入力欄の幅を最大文字数の幅に見立てて、 入力文字の相対幅 B wを算出する (S 1 0 6 ) 。 The arithmetic processing unit 12 calculates a width (display width) aw when all the input characters are displayed based on the number of input characters and the font to be used (S105). Further, the arithmetic processing unit 12 calculates the relative width Bw of the input character by using the width of the input field as the width of the maximum number of characters according to the following equation (S106).
B w= 入力欄の幅 X ( a w/m x )  B w = width of input field X (a w / m x)
そして、 演算処理部 1 2は、 攔表示制御手段の機能により、 算出した相対幅に 相当する部分の背景色を変更するように入力欄 2 2を再描画する (S 1 0 7 ) 。 図 1では、 入力可能な文字数 (1 5文字) に対して 1 0文字が入力された場合を 示しており、 左側から約 6 7 %の背景 (網掛け部分) の色が変更され、 残りの約 3 3 %の背景が初期状態の白色となっている。  Then, the arithmetic processing unit 12 redraws the input field 22 by using the function of the display control means so as to change the background color of the portion corresponding to the calculated relative width (S107). Fig. 1 shows the case where 10 characters are input for the number of characters that can be input (15 characters), and the color of the background (shaded area) of about 67% is changed from the left side, and the remaining About 33% of the background is white in the initial state.
従って 1 1文字目が入力された場合には、 この 1 1文字目の文字が表示される と同時に左側から約 7 3 %の背景色が変更される。 これにより現在約 7 3 %が入 力され、 残り約 2 7 %の入力が可能であることが示される。  Therefore, when the first character is input, the first character is displayed and at the same time, the background color of about 73% from the left is changed. This indicates that approximately 73% is currently input, and that approximately 27% can be input.
このように本実施形態の表示制御装置を用いれば、 背景色の割合によつて入力 状況を確認できるので、 入力欄の幅が入力文字の表示幅よりも狭い場合であって も、現時点でどのくらい入力しているのかや、あとどのくらい入力できるのかが、 直感的に把握できる。  As described above, when the display control device of the present embodiment is used, the input status can be confirmed based on the ratio of the background color. Therefore, even if the width of the input field is smaller than the display width of the input characters, You can intuitively understand what you are typing and how much you can enter.
また、 本実施形態によれば、 入力欄を表示する領域だけで、 入力量を示すこと ができるので、 ディスプレイの表示領域を有効利用することができる。  Further, according to the present embodiment, the input amount can be indicated only by the area where the input column is displayed, so that the display area of the display can be effectively used.
〈変形例 1〉  <Modification 1>
本変形例は、上述の形態と比べて入力状況の表示手法を異ならせている。なお、 その他の構成は、 ほぼ同じであるので、 再度の説明を省略している。  In this modification, the display method of the input status is different from the above-described embodiment. The other configuration is almost the same, so that the description is omitted.
図 4は、 入力状況を表示する際に背景色を変更するのに代えて枠の色を変更し た例を示している。  FIG. 4 shows an example in which the background color is changed when displaying the input status, instead of changing the background color.
本例の演算処理部 1 2は、 前述と同様に図 3に示す表示制御手順のステップ 1 0 0から 1 0 6に従って入力文字の相対幅を求め、 ステップ 7でこの相対幅に相 当する部分の枠の色を変更するように入力欄 2 2を再描画する。  The arithmetic processing unit 12 of this example calculates the relative width of the input character according to steps 100 to 106 of the display control procedure shown in FIG. Redraw the input box 22 to change the color of the frame.
図 4では、 入力可能な文字数 (1 5文字) に対して 1 0文字が入力された場合 を示しており、 左側から約 6 7 %の枠 (網掛け部分) の色が変更され、 残りの約 3 3 %の枠が初期状態の白色となっている。  Fig. 4 shows the case where 10 characters are entered for the number of characters that can be entered (15 characters). The color of the frame (shaded area) of about 67% from the left is changed, and the remaining About 33% of the frame is white in the initial state.
また、 図 5は、 背景や枠の色を変更する代わりに文字の書式を変更した例を示 している。 Figure 5 shows an example of changing the text format instead of changing the background and frame colors. are doing.
同図の例では、 ステップ 7で相対幅に相当する部分の文字を太文字に変更する ように入力欄 22を再描画している。  In the example shown in the figure, the input box 22 is redrawn so that the characters corresponding to the relative widths are changed to bold characters in step 7.
本例では入力欄に一度に表示できる文字が 10文字であるので、 最大入力文字 数に対する入力文字の割合が 1 %以上 10 %未満であれば 1文字目までを太文字 とし、 10 %以上 20 %未満であれば 2文字目までを太文字とするように 10 % 毎に文字の書式を変更している。  In this example, 10 characters can be displayed in the input field at one time.If the ratio of the input characters to the maximum number of input characters is 1% or more and less than 10%, the first character is bold and 10% or more If it is less than%, the character format is changed every 10% so that the second character becomes bold.
〈変形例 2 )  <Variation 2)
本変形例は、 ウェブブラウザにおける文字入力時の表示制御に適用した場合で あって、 本発明の表示制御プログラムをアブレット (例えば JAVA (商標) 等 の〇 Sに依存しないプログラムモジュール)として備えた例を示している。なお、 その他の構成は、 前述の実施形態と同じである。  This modified example is a case where the present invention is applied to display control at the time of character input in a web browser, in which the display control program of the present invention is provided as an ablet (for example, a program module that does not depend on ΔS such as JAVA (trademark)). Is shown. Other configurations are the same as those of the above-described embodiment.
図 6〜8は、 本変形例の表示制御手順の説明図であり、 図 9は、 本変形例にお いて表示される入力欄の説明図である。  6 to 8 are explanatory diagrams of a display control procedure of the present modification, and FIG. 9 is an explanatory diagram of an input field displayed in the present modification.
ユーザによってウェブブラウザの起動が指示されると、 演算処理部 12は、 ハ —ドディスク 13から対応するアプリケ一ションソフトを呼び出してウェブブラ ゥザを起動する。 該ウェブブラウザが起動されると、 演算処理部 12は、 閲覧す るウェブページについての処理のループを開始する (S 1 10) 。  When the user instructs the activation of the web browser, the arithmetic processing unit 12 invokes the corresponding application software from the hard disk 13 to activate the web browser. When the web browser is started, the arithmetic processing unit 12 starts a processing loop for the web page to be browsed (S110).
ユーザが閲覧するウェブページの URLを入力すると、 演算処理部 12は、 こ の URLに基づき、 ウェブサーバに当該ウェブページを要求する (S 1 1 1) 。  When the user inputs the URL of the web page to be browsed, the arithmetic processing unit 12 requests the web page from the web server based on the URL (S111).
該ウェブページ (HTML等によって記述されたウェブページのデータ、 以下 単にページとも称する) をウェブサーバから受信すると (S 1 12) 、 演算処理 部 12は、 このページの HTMLを解析し (S 1 13) 、 該ウェブページが表示 制御用のアブレットの生成要求を含んでいるか否かを判定する (S 1 14) 。  When the web page (data of the web page described in HTML or the like, hereinafter simply referred to as a page) is received from the web server (S112), the arithmetic processing unit 12 analyzes the HTML of the page (S113). ), It is determined whether or not the web page includes a request to generate an ablet for display control (S114).
該ァプレットの生成要求が含まれていない場合、 ページの表示が完了し (S 1 16) 、 要求されたページ毎のループが終了する (S 1 1 7) 。  If the applet generation request is not included, the display of the page is completed (S116), and the loop for each requested page ends (S117).
また、 ステップ 1 14でアブレットの生成要求が含まれていた場合、 演算処理 部 12は、 アブレットの生成処理として、 要求されたアブレットをハードデイス ク 13読み出す或はウェブサーバからダウンロードすると共に、 該ァプレットを 実行するためのソフトウェア (例えば J AVA仮想マシン) を起動する (S 1 1 5) 。 演算処理部 12は、 このアブレットに基づいて演算処理を行うことで、 前 述の、 欄表示制御手段や、 入力受付手段、 属性取得手段等の機能を実現し、 後述 のステップを実行する。 If an ablet generation request is included in step 114, the arithmetic processing unit 12 reads out the requested ablet on the hard disk 13 or downloads the ablet from the web server as the ablet generation process, and also downloads the ablet from the web server. Start the software to be executed (for example, a Java virtual machine) (S115). The arithmetic processing unit 12 performs the arithmetic processing based on this ablet, thereby realizing the above-described functions of the column display control unit, the input receiving unit, the attribute acquiring unit, and the like, and executes the later-described steps.
なお、 本例では、 認証処理を行うために、 ユーザに I Dとパスワードを入力さ せるダイアログを表示した場合を示している。  Note that this example shows a case where a dialog for prompting the user to input an ID and a password is displayed in order to perform an authentication process.
先ず、 演算処理部 1 2は初期化処理を行う (S 200) 。 該初期化処理では、 所定のメモリ領域に文字バッファを確保すると共に、 描画領域を初期化する。 次に、 演算処理部 1 2は、 属性取得手段の機能により、 表示に必要なデ一夕、 即ち入力欄 22の属性をサーバから取得する (S 20 1) 。 本変形例では、 該属 性として文字バッファに入力可能な最大文字数や、 通常の背景色、 入力量を示す 塗りつぶし背景色等の情報を取得している。  First, the arithmetic processing unit 12 performs an initialization process (S200). In the initialization processing, a character buffer is secured in a predetermined memory area, and a drawing area is initialized. Next, the arithmetic processing unit 12 acquires, from the server, data necessary for display, that is, the attribute of the input box 22, by the function of the attribute acquiring means (S201). In the present modification, information such as the maximum number of characters that can be input to the character buffer, a normal background color, and a solid background color indicating the input amount is acquired as the attribute.
演算処理部 12は、 前記ウェブページの指定個所に空欄或いはデフォルト値を 記載した初期状態の入力欄 24を描画し (S 202) 、 ユーザ I Dの決定するま での処理のループを開始する (S 203) 。  The arithmetic processing unit 12 draws an input box 24 in an initial state in which a blank or a default value is described in a designated place on the web page (S202), and starts a processing loop until the user ID is determined (S202). 203).
該処理のループにおいて、 演算処理部 12は、 入力欄 24に最大文字数 n、 通 常背景色 (colorl) 、 塗りつぶし背景色 (color2) を設定し (S 300) 、 入力 待ちを行う (S 301) 。  In the processing loop, the arithmetic processing unit 12 sets the maximum number of characters n, the normal background color (colorl), and the painted background color (color2) in the input field 24 (S300), and waits for input (S301). .
入力が行われた場合、 En t e rキーや確定ボタン (不図示) による処理の終 了であるか否かを判定し、 終了であればユーザ I D決定の処理のループを終了し (S 204) 、 ユーザ I Dの認証処理(S 205)や、 最終的なページの取得 (S 206) を行う。  If an input is made, it is determined whether or not the processing by the Enter key or the confirmation button (not shown) has been completed. If the processing has been completed, the user ID determination processing loop ends (S204). It performs user ID authentication processing (S205) and final page acquisition (S206).
また、 終了でなければ、 演算処理部 12は、 入力受付手段の機能により入力文 字を受け付けて文字バッファに記憶し、 この文字バッファに記憶された文字を入 力欄 24に描画する (S 303) 。  If not, the arithmetic processing unit 12 receives the input character by the function of the input receiving unit, stores the character in the character buffer, and draws the character stored in the character buffer in the input box 24 (S303). ).
また、 演算処理部 1 2は、 前記属性に基づいて最大文字数を実際に表示した場 合の幅 mxを算出する (S 304) 。  Further, the arithmetic processing unit 12 calculates the width mx when the maximum number of characters is actually displayed based on the attribute (S304).
そして演算処理部 12は、 前記バッファに記憶させた入力文字数を取得し (3 05) 、 この入力文字数と使用フォントとから入力した文字を全て表示した場合 の幅 (表示幅) a wを算出する (S 3 0 6 ) 。 Then, the arithmetic processing unit 12 obtains the number of input characters stored in the buffer (305), and displays all the characters input from the number of input characters and the font to be used. Width (display width) aw is calculated (S306).
また、 演算処理部 1 2は次式により入力欄の幅に対する入力文字の表示幅の割 合 (入力文字の相対幅) B wを算出する (S 3 0 7 ) 。  Further, the arithmetic processing unit 12 calculates the ratio (the relative width of the input character) Bw of the display width of the input character to the width of the input field according to the following equation (S307).
B w= 入力欄の幅 X ( a w/m x )  B w = width of input field X (a w / m x)
そして、 演算処理部 1 2は、 欄表示制御手段の機能により、 算出した相対幅に 相当する部分の背景色を変更するように入力欄 2 4を再描画する (S 3 0 8 ) 。 図 9では、 入力可能な文字数 (1 5文字) に対して 1 0文字が入力された場合を 示しており、 左側から約 6 7 %の背景 (網掛け部分) の色が塗りつぶし背景色に 変更され、 残りの約 3 3 %の背景が通常背景色となっている。  Then, the arithmetic processing unit 12 redraws the input column 24 by using the function of the column display control means so as to change the background color of the portion corresponding to the calculated relative width (S 308). Fig. 9 shows a case where 10 characters are input for the number of characters that can be input (15 characters), and the color of the background (shaded area) of about 67% from the left is changed to a solid background color The remaining 33% of the background is the normal background color.
このように、 本変形例によればウェブページ上の入力欄においても前述の実施 形態と同様に入力欄の幅を短く設定しても入力状況を容易に把握できる。  As described above, according to the present modification, even in the input field on the web page, the input status can be easily grasped even if the width of the input field is set short as in the above-described embodiment.
《実施形態 2》  << Embodiment 2 >>
本実施形態は、 前述の実施形態 1と比べ、 入力状況として表示範囲 (入力位置) を表示する制御が異なり、 その他の構成は略同じである。 なお、 前述の実施形態 と同一の要素には同符号を付すなどして再度の説明を省略する。  The present embodiment is different from the above-described first embodiment in control for displaying a display range (input position) as an input state, and other configurations are substantially the same. The same elements as those in the above-described embodiment are denoted by the same reference numerals, and the description thereof will not be repeated.
図 1 0は、 本変形例の表示制御手順の説明図であり、 図 1 1は、 本変形例にお いて表示される入力欄の説明図である。  FIG. 10 is an explanatory diagram of a display control procedure according to the present modification, and FIG. 11 is an explanatory diagram of an input field displayed in the present modification.
同図に示すように、 表示制御部 1 2は、 先ず欄表示制御手段の機能により、 文 字バッファ及び入力欄 2 5の初期化処理を行う。該入力欄 2 5の初期化処理では、 ウィンドウ 2 1の所定の個所に空欄或いはデフォルト値を記載した初期状態の入 力欄 2 5を描画する (ステップ 4 0 0 ) 。  As shown in the figure, the display control unit 12 first performs a process of initializing the character buffer and the input column 25 by the function of the column display control unit. In the initialization process of the input field 25, an input field 25 in an initial state in which a blank field or a default value is described is drawn at a predetermined position of the window 21 (step 400).
次に、 演算処理部 1 2は、 スクロールしたか否かを判定する (S 4 0 1 ) 。 該 スクロールは、 入力欄 2 5の幅を超えて文字を入力した場合、 新しい文字を右端 に加えて、それ以前の文字を左側にずらすように表示することで行われる。また、 該スクロールは、 入力棚 2 5の幅を超えて文字を入力されている場合に、 キヤレ ット 3 1を入力欄 2 5の左端側或は右端側に移動させ、 その方向の文字を順次表 示させることによつても行なわれる。  Next, the arithmetic processing unit 12 determines whether or not scrolling has been performed (S401). The scrolling is performed by, when a character is input beyond the width of the input field 25, adding a new character to the right end and shifting the previous character to the left. In addition, when characters are input beyond the width of the input shelf 25, the scroll moves the cursor 31 to the left end or the right end of the input box 25, and the characters in that direction are moved. This is also done by displaying them sequentially.
該スクロールが行われたと判定した場合、 演算処理部 1 2は、 文字バッファを 参照して入力文字数を取得する (S 4 0 2 ) 。 また、 演算処理部 12は、 属性取得手段の機能により入力欄 25の属性として 入力欄の幅や使用フォントや文字サイズ等を取得し、 この属性に基づいて入力文 字を全て表示した場合の横幅 awを算出する (S 403) 。 If it is determined that the scroll has been performed, the arithmetic processing unit 12 acquires the number of input characters by referring to the character buffer (S402). Also, the arithmetic processing unit 12 obtains the width of the input field, the font used, the character size, and the like as attributes of the input field 25 by the function of the attribute obtaining means, and based on this attribute, the width when all the input characters are displayed. aw is calculated (S403).
また、 演算処理部 12は、 スクロールした入力文字列の先頭から入力欄 25の 左端までの距離 p o s Xを取得する (S 404) 。 例えば図 1 1では、 入力欄左 端に入力文字列の 3文字目が表示されているので、 それ以前の 2文字分の文字幅 力、 p O S Xとなる。  Further, the arithmetic processing unit 12 acquires a distance p os X from the top of the scrolled input character string to the left end of the input box 25 (S404). For example, in FIG. 11, since the third character of the input character string is displayed at the left end of the input field, the character width of the previous two characters, pOSX, is obtained.
次に演算処理部 12は、 ステップ 403で求めた入力文字の表示幅 awに対す る入力欄 25の幅の割合(相対文字幅) Bwを次式によって求める(S 405)。  Next, the arithmetic processing unit 12 obtains the ratio (relative character width) Bw of the width of the input box 25 to the display width aw of the input character obtained in step 403 by the following formula (S405).
Bw= 入力欄幅 X (入力欄幅 aw)  Bw = input field width X (input field width aw)
また、 演算処理部 12は、 背景色の変更開始位置 p o s Bを次式によって求め る (S 406) 。  Further, the arithmetic processing unit 12 obtains the background color change start position p os B by the following equation (S406).
p o s B = p o s x X (入力欄幅/ aw)  p os B = p os x X (input field width / aw)
そして、 演算処理部 12は、 欄表示制御手段の機能により、 算出した位置 p o s Bから相対文字幅 Bwだけ入力欄 25の背景色を変更するように描画する (S 407) 。 図 1 1では、 入力された 15文字のうち 3文字目から 13文字目まで が表示された場合を示している。  Then, the arithmetic processing unit 12 performs drawing by using the function of the column display control means so as to change the background color of the input column 25 from the calculated position p os B by the relative character width Bw (S407). FIG. 11 shows a case where the third to thirteenth characters of the inputted fifteen characters are displayed.
また、 図 12は、 スクロールして 5文字目から 15文字目までが表示された場 合を示している。  FIG. 12 shows a case where the fifth to fifteenth characters are displayed by scrolling.
これによりユーザは、 入力された文字のうち、 何処の位置が表示されているの 力 即ちどこを編集しょうとしているのかを容易に把握することができる。 このように本実施形態によれば、 入力欄の幅が入力文字の表示幅よりも狭い場 合であっても、 「入力した文字列のうち何処が表示されているのか」 といった入 力状況を示すことができる。  As a result, the user can easily grasp the position of the displayed character, that is, the position of the displayed character, that is, the position to be edited. As described above, according to the present embodiment, even when the width of the input field is smaller than the display width of the input characters, the input status such as “Where the input character string is displayed” is displayed. Can be shown.
また、 本実施形態によれば、 入力欄を表示する領域だけで、 入力位置を示すこ とができるので、 ディスプレイの表示領域を有効利用することができる。  Further, according to the present embodiment, the input position can be indicated only by the area where the input field is displayed, so that the display area of the display can be effectively used.
なお、 本実施形態では、 入力された文字に対する表示位置を示したが、 属性情 報として入力可能な文字数を取得し、 この文字数を全て表示した場合の文字幅を awとしてステップ 403〜407を行い、 相対幅 Bw、 開始位置 p o s Bを求 めて開始位置 P o s Bから相対幅 B wの幅だけ背景色を変更するようにし、 入力 可能な文字範囲のうち何処の位置が表示されているのかを示す構成としても良い, 〈変形例 1〉 In the present embodiment, the display position for the input character is shown. However, the number of characters that can be input as attribute information is acquired, and the character width when all the number of characters is displayed is set to aw, and steps 403 to 407 are performed. , Relative width Bw, start position pos B First, the background color may be changed from the start position P os B by the width of the relative width B w to indicate where the position in the inputtable character range is displayed, <Modification 1 〉
本変形例は、上述の形態と比べて入力状況の表示手法を異ならせている。なお、 その他の構成は、 ほぼ同じであるので、 再度の説明を省略している。  In this modification, the display method of the input status is different from the above-described embodiment. The other configuration is almost the same, so that the description is omitted.
図 1 3は、 入力状況を表示する際に背景色を変更するのに代えて枠の色を変更 した例を示している。  FIG. 13 shows an example in which the color of the frame is changed instead of changing the background color when displaying the input status.
本例の演算処理部 1 2は、 前述と同様に図 1 0に示す表示制御手順のステップ 4 0 0から 4 0 6に従って入力文字の相対幅 B wや変更開始位置 p 0 s Bを求め, ステップ 7でこの変更開始位置 p o s Bから相対幅 B wの枠の色を変更するよう に入力欄 2 5を再描画する。  The arithmetic processing unit 12 of the present example obtains the relative width B w of the input character and the change start position p 0 s B according to steps 40 0 to 40 6 of the display control procedure shown in FIG. In step 7, the input field 25 is redrawn so as to change the color of the frame having the relative width Bw from the change start position posB.
また、 図 1 4は、 背景や枠の色を変更する代わりに文字の書式を変更した例を 示している。  Fig. 14 shows an example of changing the character format instead of changing the background and frame colors.
同図の例では、 ステップ 4 0 7で相対幅に相当する部分の文字を太文字に変更 するように入力欄 2 5を再描画している。  In the example shown in the figure, the input field 25 is redrawn in step 407 so that the characters corresponding to the relative width are changed to bold characters.
本例では入力欄に一度に表示できる文字が 1 1文字であるので、 変更開始位置 が入力欄の幅の 0 %以上 9 %未満であれば 1文字目から、 9 %以上 1 8 %未満で あれば 2文字目から、 1 8 %以上 2 7 %未満であれば 3文字目からのように、 9 % 毎に開始位置をずらして 8文字分の書式を変更している。  In this example, the number of characters that can be displayed at one time in the input field is 11 characters, so if the change start position is 0% or more and less than 9% of the width of the input field, change from 1st character to 9% and less than 18% If there is, the format of 8 characters is changed by shifting the starting position every 9%, like the third character if it is 18% or more and less than 27%.
〈変形例 2 )  <Variation 2)
図 1 5は、 図 3の制御手順によって表示する入力量と、 図 1 0の制御手順によ つて表示する位置を同時に表したものである。  FIG. 15 simultaneously shows the input amount displayed by the control procedure of FIG. 3 and the position displayed by the control procedure of FIG.
同図中の入力欄 2 6は、 入力量と位置を背景色によって表示している。  In the input field 26 in the figure, the input amount and the position are displayed by the background color.
また、同図中の入力欄 2 7では、入力量と位置を枠の色によって表示している。 〈変形例 3 )  In the input field 27 in the figure, the input amount and the position are displayed by the color of the frame. <Modification 3)
図 1 6は、 入力文字が複数行にわたって入力される場合に、 その表示位置を入 力欄内に矩形状に表示した例である。  FIG. 16 shows an example in which, when an input character is input over a plurality of lines, the display position is displayed in a rectangular shape in the input field.
本変形例では、 入力欄 2 8の幅方向における表示位置に加え、 高さ方向につい ても同様に、 入力されている行数に対し、 表示開始位置と入力欄 2 8に表示され る行の割合を求めて、 幅方向と高さ方向について対応する部分の背景色を変更し て表示位置を表している。 In this modified example, in addition to the display position in the width direction of the input field 28, the height direction is also displayed in the display start position and the input field 28 with respect to the number of input lines. The display position is shown by calculating the ratio of the rows and changing the background color of the corresponding part in the width and height directions.
《実施形態 3》  << Embodiment 3 >>
本実施形態は、 前述の実施形態 1と比べ、 入力状況として入力文字数の最大値 を超えたことを表示する制御が異なり、 その他の構成は略同じである。 なお、 前 述の実施形態と同一の要素には同符号を付すなどして再度の説明を省略する。 図 1 7は、 本変形例の表示制御手順の説明図であり、 図 1 8, 1 9は、 本変形 例において表示される入力欄の説明図である。  The present embodiment is different from the above-described first embodiment in control for displaying that the number of input characters has exceeded the maximum value of the number of input characters, and other configurations are substantially the same. The same elements as those in the above-described embodiment are denoted by the same reference numerals, and the description thereof will not be repeated. FIG. 17 is an explanatory diagram of a display control procedure of the present modification, and FIGS. 18 and 19 are explanatory diagrams of input fields displayed in the present modification.
表示制御部 1 2は、 先ず櫊表示制御手段の機能により、 文字バッファ及び入力 欄 2 9の初期化処理を行う。 該入力欄 2 9の初期化処理では、 ウィンドウ 2 1の 所定の個所に空欄或いはデフォルト値を記載した初期状態の入力欄 2 9を描画す る (ステップ 5 0 0 ) 。  The display control unit 12 first performs initialization processing of the character buffer and the input box 29 by the function of the display control means. In the initialization process of the input box 29, an input box 29 in an initial state in which a blank or a default value is described is drawn at a predetermined position of the window 21 (step 500).
次に、 演算処理部 1 2は、 属性取得手段の機能により入力欄 2 5の属性として 入力が有効となる最大の文字数 (最大文字数) を取得する (S 5 0 1 ) 。  Next, the arithmetic processing unit 12 acquires the maximum number of characters (maximum number of characters) for which input is valid as an attribute of the input field 25 by the function of the attribute acquisition means (S501).
そして演算処理部 1 2は、 入力待ちを行い (S 5 0 2 ) 、 文字が入力された場 合には、 文字バッファを参照して入力文字数を取得する (S 5 0 3 ) 。  Then, the arithmetic processing unit 12 waits for input (S502), and when a character is input, acquires the number of input characters by referring to the character buffer (S503).
また、 演算処理部 1 2は、 属性取得手段の機能により入力欄 2 5の属性として 背景色の初期値 (本例では白) 及び変更後の値 (本例では赤) を取得し、 先ず初 期値に設定する (S 5 0 4 ) 。  Further, the arithmetic processing unit 12 acquires the initial value of the background color (white in this example) and the changed value (red in this example) as the attributes of the input field 25 by the function of the attribute acquisition means. The period value is set (S504).
次いで演算処理部 1 2は、入力文字数が最大文字数を超えたか否かを判断し(S 5 0 5 ) 、 超えていれば、 背景色を赤に設定する (S 5 0 6 ) 。 そして演算処理 部 1 2は、背景が赤で前記文字が入力された状態の入力欄を描画する(S 5 0 7 )。 一方ステップ 5 0 5で入力文字数が最大文字数を超えていないと判断した場合、 演算処理部 1 2は、 背景が白のままで前記文字が入力された状態の入力欄を描画 する。  Next, the arithmetic processing unit 12 determines whether or not the number of input characters has exceeded the maximum number of characters (S505), and if so, sets the background color to red (S506). Then, the arithmetic processing unit 12 draws an input field in a state where the background is red and the characters are input (S507). On the other hand, if it is determined in step 505 that the number of input characters does not exceed the maximum number of characters, the arithmetic processing unit 12 draws an input field in which the characters are input while the background is white.
このように本実施形態によれば、 入力文字数が最大文字数を超えているか否か (入力状況) を入力欄の背景によって表示でき、 この最大文字数を超えたか否か を容易に把握できる。  As described above, according to the present embodiment, whether the number of input characters exceeds the maximum number of characters (input status) can be displayed by the background of the input column, and it can be easily grasped whether the number of characters exceeds the maximum number of characters.
従って、 アンケートの入力欄などにおいて、 最大文字数が 1 5文字の項目に対 し、 3 0文字を入力して送信ボタンを押し、 ユーザが気が付かないまま、 実際に は 1 5文字で切り落とされて登録されてしまうことが防止される。 Therefore, in fields such as questionnaire input fields, the maximum number of characters is 15 characters. However, if the user enters 30 characters and presses the send button, the user is prevented from actually being cut off and registered with 15 characters without noticing.
また、 本実施形態によれば、 入力欄を表示する領域だけで、 「最大文字数を超 えたか否か」 といった入力状況を示すことができるので、 ディスプレイの表示領 域を有効利用することができる。  Further, according to the present embodiment, the input status such as “whether or not the maximum number of characters has been exceeded” can be indicated only by the area where the input field is displayed, so that the display area of the display can be effectively used. .
なお、 本実施形態は、 前述の実施形態 1と同時に実施し、 入力文字数が最大文 字数以下の場合は、 入力量に相当する部分の背景色を第 1の背景色 (例えば緑) に変更し、 残りの背景を初期の背景色 (例えば白) とし、 入力文字数が最大文字 数を超えた場合には、 背景色を第 2の背景色 (例えば赤) に変更しても良い。 また、 本実施形態は、 前述の実施形態 2と同時に実施し、 入力文字数が最大文 字数以下の場合は、 表示位置を第 1の背景色 (例えば緑) で示し、 入力文字数が 最大文字数を超えた場合には、 背景色を第 2の背景色 (例えば赤) に変更しても 良い。 更に入力文字数が最大文字数以下の場合は、 入力量を第 1の背景色 (例え ば黄色) 、 表示位置を第 2の背景色 (例えば緑) で示し、 入力文字数が最大文字 数を超えた場合には、 背景色を第 3の背景色 (例えば赤) に変更しても良い。 ま た、 この背景色に代えて枠の色で表示しても良い。  This embodiment is performed simultaneously with the first embodiment. When the number of input characters is equal to or less than the maximum number of characters, the background color of a portion corresponding to the input amount is changed to a first background color (for example, green). The remaining background may be the initial background color (eg, white), and if the number of input characters exceeds the maximum number of characters, the background color may be changed to the second background color (eg, red). In addition, this embodiment is performed simultaneously with the second embodiment. If the number of input characters is equal to or less than the maximum number of characters, the display position is indicated by a first background color (for example, green), and the number of input characters exceeds the maximum number of characters. In this case, the background color may be changed to a second background color (for example, red). If the number of input characters is less than the maximum number of characters, the input amount is indicated by the first background color (for example, yellow) and the display position is indicated by the second background color (for example, green). For example, the background color may be changed to a third background color (for example, red). Further, instead of the background color, the frame color may be displayed.
尚、 本発明の表示制御装置及び表示制御プログラムは、 上記した実施の形態に 限定されるものではなく、 本発明の要旨を逸脱しない範囲内において種々変更を 加え得ることは勿論である。 産業上の利用可能性  It should be noted that the display control device and the display control program of the present invention are not limited to the above-described embodiment, and it is needless to say that various changes can be made without departing from the gist of the present invention. Industrial applicability
以上、 説明したように本発明によれば、 入力欄の幅を入力可能な文字数の表示 幅より狭く設定した場合でも、 入力状況を容易に把握できる。  As described above, according to the present invention, even when the width of the input field is set smaller than the display width of the number of characters that can be input, the input status can be easily grasped.
なお、 本発明は、 上記実施形態で示した汎用コンピュータに限らず、 入力した キャラクタを入力欄で確認しながら入力できる装置であれば、 電話や F A X、 電 子計算機などにも同様に適用できる。  The present invention is not limited to the general-purpose computer described in the above embodiment, but can be similarly applied to a telephone, a FAX, an electronic calculator, and the like as long as the device can input characters while confirming the input characters in an input box.
《コンピュータ読み取り可能な記録媒体》  《Computer readable recording medium》
コンピュータに上記の機能を実現させるプログラム(表示制御プログラム)は、 コンピュータが読み取り可能な記録媒体に記録することができる。 そして、 コン ピュー夕に、 この記録媒体のプログラムを読み込ませて実行させることにより、 その機能を提供させることができる。 A program (display control program) that causes a computer to realize the above functions can be recorded on a computer-readable recording medium. And con The function can be provided by reading and executing the program on the recording medium in the evening.
ここで、 コンピュータ読み取り可能な記録媒体とは、 データやプログラム等の 情報を電気的、 磁気的、 光学的、 機械的、 または化学的作用によって蓄積し、 コ ンピュー夕から読み取ることができる記録媒体をいう。 このような記録媒体の内 コンピュータから取り外し可能なものとしては、 例えばフレキシブルディスク、 光磁気ディスク、 CD-R0M、 CD-R/W、 DVD, DAT、 8 mmテープ、 メモリカード等があ る。  Here, a computer-readable recording medium is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer. Say. Examples of such a recording medium that can be removed from a computer include a flexible disk, a magneto-optical disk, a CD-R0M, a CD-R / W, a DVD, a DAT, an 8 mm tape, and a memory card.
また、 コンピュータに固定された記録媒体としてハードディスクや R O M (リ —ドオンリーメモリ) 等がある。  In addition, a recording medium fixed to the computer includes a hard disk and a ROM (lead only memory).

Claims

請求の範囲 The scope of the claims
1 . 入力欄をディスプレイ上に表示させる欄表示制御手段と、  1. Column display control means for displaying an input column on a display;
前記入力欄に対して入力手段から入力されたキャラクタを受け付ける入力受付 手段と、 .  Input receiving means for receiving a character input from the input means in the input field;
前記入力欄の属性情報を取得する属性取得手段とを備え、  Attribute acquiring means for acquiring attribute information of the input field,
前記入力受付手段でキャラクタの入力を受け付けた場合に、 前記欄表示制御手 段が、 該入力受付手段で受け付けたキャラクタ及び前記属性情報に基づく該キヤ ラク夕の入力状況を前記入力欄に表示する表示制御装置。  When a character input is received by the input receiving means, the column display control means displays, in the input field, the character input status based on the character and the attribute information received by the input receiving means. Display control device.
2 . 前記属性取得手段が、 前記属性情報として前記入力欄に入力可能なキャラク タ数を取得し、  2. The attribute acquisition unit acquires the number of characters that can be input in the input field as the attribute information,
この属性情報に基づく入力状況として、 前記欄表示制御手段が、 入力可能なキ ャラク夕数に対する前記入力受付手段で受け付けたキャラクタ数の割合を表示す る請求項 1記載の表示制御装置。  2. The display control device according to claim 1, wherein, as the input status based on the attribute information, the column display control means displays a ratio of the number of characters received by the input receiving means to the number of characters that can be input.
3 . 前記属性取得手段が、 前記属性情報として前記入力欄に入力されるキャラク 夕の入力範囲を取得し、  3. The attribute acquiring means acquires an input range of characters to be input in the input field as the attribute information,
この属性情報に基づく入力状況として、 前記欄表示制御手段が、 前記キャラク 夕の入力範囲に対する前記入力欄に表示したキャラクタの表示範囲の位置を表示 する請求項 1記載の表示制御装置。  2. The display control device according to claim 1, wherein, as an input state based on the attribute information, the column display control means displays a position of a display range of a character displayed in the input column with respect to an input range of the character.
4 . 前記属性取得手段が、 前記属性情報として前記入力欄に入力可能なキャラク 夕数及び、 前記入力欄に入力されるキャラクタの入力範囲を取得し、  4. The attribute acquiring means acquires the number of characters and characters that can be entered in the input box as the attribute information, and an input range of a character input in the input box,
この属性情報に基づく入力状況として、 前記欄表示制御手段が、 入力可能なキ ャラク夕数に対する前記入力受付手段で受け付けたキャラクタ数の割合を表示す ると共に、 前記キャラクタの入力範囲に対する前記入力欄に表示したキャラクタ の表示範囲の位置を表示する請求項 1記載の表示制御装置。  As the input status based on the attribute information, the column display control means displays the ratio of the number of characters received by the input receiving means to the number of characters that can be input, and displays the input field with respect to the input range of the character. The display control device according to claim 1, wherein a position of a display range of the character displayed on the display is displayed.
5 . 前記属性取得手段が、 前記属性情報として前記入力欄に入力可能なキャラク タ数を取得し、  5. The attribute acquisition unit acquires the number of characters that can be input in the input box as the attribute information,
前記入力受付手段で受け付けたキャラクタ数が入力可能なキャラクタ数を超え た場合に、 前記欄表示制御手段が、 前記入力状況として前記入力欄の背景を変更 する請求項 1記載の表示制御装置。 2. The display control device according to claim 1, wherein when the number of characters received by the input receiving unit exceeds the number of characters that can be input, the column display control unit changes the background of the input column as the input status.
6 . 入力欄をディスプレイ上に表示するステップと、 6. Displaying an input field on the display;
前記入力欄に対して入力手段から入力されたキャラクタを受け付けるステップ と、  Receiving a character input from the input means with respect to the input field;
前記入力欄の属性情報を取得するステップと、  Obtaining attribute information of the input field;
前記キャラクタの入力を受け付けた場合に、 この受け付けたキャラクタ及び前 記属性情報に基づく該キャラクタの入力状況を前記入力欄に表示するステップと を、  Displaying an input state of the character based on the received character and the attribute information in the input box when the input of the character is received,
コンピュータに実行させる表示制御プログラム。 A display control program to be executed by a computer.
7 . 前記属性情報を取得するステップにおいて、 前記属性情報として前記入力欄 に入力可能なキャラクタ数を取得し、  7. In the step of acquiring the attribute information, acquiring the number of characters that can be input in the input field as the attribute information;
この属性情報に基づく入力状況として、 前記入力状況を表示するステップにお いて入力可能なキャラクタ数に対する前記入力受付手段で受け付けたキャラクタ 数の割合を表示する請求項 6記載の表示制御プログラム。  7. The display control program according to claim 6, wherein a ratio of the number of characters accepted by the input accepting unit to the number of characters that can be entered in the step of displaying the input situation is displayed as the input situation based on the attribute information.
8 . 前記属性情報を取得するステップにおいて、 前記属性情報として前記入力欄 に入力されるキャラクタの入力範囲を取得し、  8. In the step of acquiring the attribute information, acquiring an input range of a character input to the input box as the attribute information;
この属性情報に基づく入力状況として、 前記入力状況を表示するステップにお いて前記キャラクタの入力範囲に対する前記入力欄に表示したキャラクタの表示 範囲の位置を表示する請求項 6記載の表示制御プログラム。  7. The display control program according to claim 6, wherein, as the input status based on the attribute information, a position of a display range of the character displayed in the input box with respect to the input range of the character is displayed in the step of displaying the input status.
9 . 前記属性情報を取得するステップにおいて、 前記属性情報として前記入力欄 に入力可能なキャラクタ数及び、 前記入力欄に入力されるキャラクタの入力範囲 を取得し、  9. In the step of acquiring the attribute information, acquiring the number of characters that can be entered in the input field as the attribute information and the input range of the character that is entered in the input field;
この属性情報に基づく入力状況として、 前記入力状況を表示するステップにお いて入力可能なキャラクタ数に対する前記入力受付手段で受け付けたキャラクタ 数の割合を表示すると共に、 前記キャラクタの入力範囲に対する前記入力欄に表 示したキャラクタの表示範囲の位置を表示する請求項 6記載の表示制御プログラ ム。  As the input status based on the attribute information, a ratio of the number of characters received by the input receiving unit to the number of characters that can be input in the step of displaying the input status is displayed, and the input field for the input range of the character is displayed. 7. The display control program according to claim 6, wherein the position of the display range of the character displayed on the screen is displayed.
1 0 . 前記属性情報を取得するステップにおいて、 前記属性情報として前記入力 欄に入力可能なキャラクタ数を取得し、  10. In the step of acquiring the attribute information, acquiring the number of characters that can be input in the input field as the attribute information;
前記入力手段から受け付けたキャラクタ数が前記入力可能なキャラクタ数を超 えた場合に、 前記入力状況を表示するステップにおいて前記入力欄の背景を変更 することで入力状況を表示する請求項 6記載の表示制御プログラム。 The number of characters received from the input means exceeds the number of characters that can be input. 7. The display control program according to claim 6, wherein when the input status is obtained, the input status is displayed by changing a background of the input field in the displaying the input status.
PCT/JP2002/007003 2002-07-10 2002-07-10 Display control apparatus and display control program WO2004008302A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2002/007003 WO2004008302A1 (en) 2002-07-10 2002-07-10 Display control apparatus and display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2002/007003 WO2004008302A1 (en) 2002-07-10 2002-07-10 Display control apparatus and display control program

Publications (1)

Publication Number Publication Date
WO2004008302A1 true WO2004008302A1 (en) 2004-01-22

Family

ID=30022637

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2002/007003 WO2004008302A1 (en) 2002-07-10 2002-07-10 Display control apparatus and display control program

Country Status (1)

Country Link
WO (1) WO2004008302A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601882B2 (en) 2009-02-20 2013-12-10 Halliburton Energy Sevices, Inc. In situ testing of mechanical properties of cementitious materials
US8783091B2 (en) 2009-10-28 2014-07-22 Halliburton Energy Services, Inc. Cement testing
US8794078B2 (en) 2012-07-05 2014-08-05 Halliburton Energy Services, Inc. Cement testing
US8960013B2 (en) 2012-03-01 2015-02-24 Halliburton Energy Services, Inc. Cement testing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6341977A (en) * 1986-08-08 1988-02-23 Nec Corp Table form data display system
JPH0246256U (en) * 1988-09-22 1990-03-29
JPH05342205A (en) * 1992-06-09 1993-12-24 Sharp Corp Number of characters checking system in document preparing device
JPH0624051A (en) * 1992-07-07 1994-02-01 Matsushita Electric Ind Co Ltd Printing device
JPH0721288A (en) * 1993-06-22 1995-01-24 P C Ee Kk Accounting processor
JPH08287054A (en) * 1996-05-07 1996-11-01 Casio Comput Co Ltd Method for displaying layout
JP2000242606A (en) * 1999-02-24 2000-09-08 Kokusai Electric Co Ltd Portable terminal
JP2000311191A (en) * 1999-04-27 2000-11-07 Aisin Seiki Co Ltd Vehicle allocation management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6341977A (en) * 1986-08-08 1988-02-23 Nec Corp Table form data display system
JPH0246256U (en) * 1988-09-22 1990-03-29
JPH05342205A (en) * 1992-06-09 1993-12-24 Sharp Corp Number of characters checking system in document preparing device
JPH0624051A (en) * 1992-07-07 1994-02-01 Matsushita Electric Ind Co Ltd Printing device
JPH0721288A (en) * 1993-06-22 1995-01-24 P C Ee Kk Accounting processor
JPH08287054A (en) * 1996-05-07 1996-11-01 Casio Comput Co Ltd Method for displaying layout
JP2000242606A (en) * 1999-02-24 2000-09-08 Kokusai Electric Co Ltd Portable terminal
JP2000311191A (en) * 1999-04-27 2000-11-07 Aisin Seiki Co Ltd Vehicle allocation management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601882B2 (en) 2009-02-20 2013-12-10 Halliburton Energy Sevices, Inc. In situ testing of mechanical properties of cementitious materials
US8783091B2 (en) 2009-10-28 2014-07-22 Halliburton Energy Services, Inc. Cement testing
US9594009B2 (en) 2009-10-28 2017-03-14 Halliburton Energy Services, Inc. Cement testing
US8960013B2 (en) 2012-03-01 2015-02-24 Halliburton Energy Services, Inc. Cement testing
US9500573B2 (en) 2012-03-01 2016-11-22 Halliburton Energy Services, Inc. Cement testing
US8794078B2 (en) 2012-07-05 2014-08-05 Halliburton Energy Services, Inc. Cement testing

Similar Documents

Publication Publication Date Title
JP2006260065A (en) Document browsing device and document browsing program
JP4888502B2 (en) Graph display control device and program
JP4435011B2 (en) Input coordinate processing program and input coordinate processing apparatus
JP4181584B2 (en) Trajectory information processing apparatus, trajectory information processing method, and program
JP4888254B2 (en) Geometric learning auxiliary device and control program therefor
US20100171706A1 (en) Information processor, user interface control method and program
JP2007226571A (en) Electronic equipment device depending on touch panel input, and program performing input operation of touch panel
WO2004008302A1 (en) Display control apparatus and display control program
JP5564232B2 (en) Information processing apparatus, information processing method, and program
JP2002288581A (en) Document processing method, document processing program and document processor
JP7230982B1 (en) electronics, programs
JP6528400B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, CONTROL METHOD OF INFORMATION PROCESSING APPARATUS, AND PROGRAM
US20030052881A1 (en) Graphical value display program, graphical value display method and recording medium
JP2001005911A (en) Character input device and display controlling method
JP3988604B2 (en) Graphic display control apparatus and program
JP2010108243A (en) Keyboard input device
JP2011008633A (en) Information processor and electronic file operation program
US20180276858A1 (en) Digital Ink Based Visual Components
JP5692317B2 (en) Calculation apparatus and calculation program
JPH11194756A (en) Image display device, image display method and computer-readable program product
JP3969301B2 (en) Graph display control device and graph display control program
CN110012089B (en) Control method and electronic equipment
JP6122331B2 (en) Information processing apparatus, information processing system, information processing apparatus control method, and program
TWI315040B (en) Method for controlling system machine
JP6577731B2 (en) Terminal device, display control method, and program

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

NENP Non-entry into the national phase

Ref country code: JP