The disclosure of Japanese Patent Application No. 2011-276804 filed on Dec. 19, 2011 is incorporated herein by reference.
1. Field of the Invention
The present invention relates to electronic equipment, a storage medium and a deletion controlling method, and more specifically, electronic equipment provided with a pointing device such as a touch panel, and a storage medium and a deletion controlling method.
2. Description of the Related Art
An example of a related art is disclosed in Japanese Patent Application Laying-Open No. 2003-248546 [G06F 3/03, G06F 3/00, G06F 3/033] laid-open on Sep. 5, 2003 (document 1). In a displaying apparatus with touch panel disclosed in the document, if an operator wishes to delete a character string, the operator designates an area to be deleted after “area setting” button is selected. Then, if the operator selects “tightening leading” button, the deletion area is deleted and a displaying is made in a manner that a character string following the deletion area is shifted to fill the deletion area having been deleted.
In the above-described displaying apparatus with touch panel disclosed in the document, if the character string is to be deleted, the operator must select a deletion mode, select “area setting” button, designates the deletion area, and select “tightening leading” button. The operation is troublesome.
Therefore, it is a primary object of the present invention to provide novel electronic equipment, a storage medium and a deletion controlling method.
Another object of the present invention is to provide electronic equipment, a storage medium and a deletion controlling method, capable of easily deleting a displayed object with an intuitive operation.
A first aspect according to an embodiment is electronic equipment with a display portion which displays an object including at least a character, comprising: an operation detecting portion which detects a touch operation to a touch panel provided on a surface of the display portion; a determining portion which determines whether a touch operation detected by the operation detecting portion is an operation to draw a predetermined locus; and a deleting portion which deletes, when it is determined by the determining portion that the touch operation is an operation to draw the predetermined locus, a part or all of the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation.
A second aspect according to an embodiment is a non-transitory storage medium storing a deleting program for electronic equipment with a display portion which displays an object including at least a character, wherein the deleting program causes a processor of the electronic equipment to: detect a touch operation to a touch panel provided on a surface of the display portion; determine whether a touch operation detected is an operation to draw a predetermined locus; and delete, when it is determined that the touch operation is an operation to draw the predetermined locus, a part or all of the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation.
A third aspect according to an embodiment is a deletion controlling method of electronic equipment with a display portion which displays an object including at least a character, a processor of the electronic equipment performing steps of: detecting a touch operation to a touch panel provided on a surface of the display portion; determining whether a touch operation detected is an operation to draw a predetermined locus; and deleting, when it is determined that the touch operation is an operation to draw the predetermined locus, a part or all the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation.
The above described objects and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
With referring to
For example, the user can input a telephone number by making a touch operation on the touch panel 16 with respect to a dial key (not shown) displayed on the display 14, and start a telephone conversation by operating the call key 22. If and when the end key 24 is operated, the telephone conversation can be ended. In addition, by long-depressing the end key 24, it is possible to turn-on/-off a power of the mobile phone 10.
If the menu key 26 is operated, a menu screen is displayed on the display 14, and in such a state, by making a touch operation on the touch panel 16 with respect to a software key, a menu icon (both, not shown) or the like being displayed on the display 14, it is possible to select a menu, and to decide such a selection.
In addition, it is pointed out in advance that in this embodiment shown, a description is made on a mobile phone such as a smartphone which is an example of electronic equipment, but the present invention is applicable to various kinds of electronic equipment provided with a pointing device such as a touch panel. An arbitrary mobile terminal such as a feature phone, a tablet terminal, a PDA, etc. and further a note PC, a desktop PC or the like come within examples of other electronic equipment. In a case of the note PC or the desktop PC, instead of the touch panel, a touch pad, a computer mouse or the like may be used. That is, it is not necessary to limit a pointing device to the touch panel.
With referring to
The processor 30 is called as a computer or a CPU and in charge of a whole control of the mobile phone 10. All or a part of a program set in advance in the flash memory 44 is, in use, developed or loaded into the RAM 46, and the processor 30 performs various kinds of processing in accordance with the program developed in the RAM 46. In addition, the RAM 46 is further used as a working area or buffer area for the processor 30.
The input device 40 includes the hardware keys (22, 24, 26) shown in
The wireless communication circuit 32 is a circuit for transmitting and receiving a radio wave for a telephone conversation, a mail, etc. via an antenna 34. In this embodiment, the wireless communication circuit 32 is a circuit for performing a wireless communication with a CDMA system. For example, if the user designates a telephone dispatch (telephone call) using the input device 40, the wireless communication circuit 32 performs a telephone call processing under instructions from the processor 30 and outputs a telephone call signal via the antenna 34. The telephone call signal is transmitted to a telephone at the other end of the line through a base station and a communication network. Then, an incoming processing is performed in the telephone at the other end of the line, a communication-capable state is established and the processor 30 performs the telephonic communication processing.
Specifically describing a normal telephonic communication processing, a modulated sound signal sent from a telephone at the other end of the line is received by the antenna 34. The modulated sound signal received is subjected to demodulation processing and decode processing by the wireless communication circuit 32. A received sound signal obtained through such processing is converted into a sound signal by the D/A converter 38 to be output from the speaker 18. On the other hand, a sending sound signal taken-in through the microphone 20 is converted into sound data by the A/D converter 36 to be applied to the processor 30. The sound data is subjected to an encode processing and a modulation processing by the wireless communication circuit 32 under instructions by the processor 30 to be output via the antenna 34. Therefore, the modulated sound signal is transmitted to the telephone at the other end of the line via the base station and the communication network.
When the telephone call signal from a telephone at the other end of the line is received by the antenna 34, the wireless communication circuit 32 notifies the processor 30 of the incoming call. In response thereto, the processor 30 displays on the display 14 sender information (telephone number and so on) described in the incoming call notification by controlling the display driver 42. In addition, the processor 30 outputs from the speaker 18 a ringtone (may be also called as a ringtone melody, a ringtone voice).
Then, if the user performs an answering operation by using the call key 22 (
If the telephone communication ending operation is performed by the end key 24 (
In addition, the processor 30 adjusts, in response to an operation of a volume by the user, a sound volume of the sound output from the speaker 18 by controlling an amplification factor of the amplifier connected to the D/A converter 38.
The display driver 42 controls a displaying by the display 14 which is connected to the display driver 42 under instructions by the processor 30. In addition, the display driver 42 includes a video memory temporarily storing image data to be displayed. The display 14 is provided with a backlight which includes a light source of an LED or the like, for example, and the display driver 42 controls, according to the instructions of the processor 30, brightness, light-on/-off of the backlight.
The touch panel 16 shown in
In the embodiment, the touch panel 16 is of an electrostatic capacitance system that detects a change of an electrostatic capacitance between electrodes, which occurs when an object such as a finger is in close to a surface of the touch panel 16, and it is detected that one or more fingers is brought into contact with the touch panel 16, for example. The touch panel control circuit 48 functions as a detecting portion, and detects a touch operation within a touch-effective range of the touch panel 16, and outputs coordinates data indicative of a position of the touch operation to the processor 30.
Here, various kinds of touch operations that the touch panel 16 receives are described. An operation that the touch panel 16 is touched, and then, the touch panel (the finger(s)) is released while the position touched is hardly changed, for example is called as “tap”. An operation that the touch panel 16 is touched, and then, the finger is slid and released in a filliped manner is called as “flick”. For example, within a first predetermined time period (500 milliseconds) from a timing that the user touches the touch panel 16, if the finger is released after the finger is slid by a predetermined distance (50 dots) or more, such an operation is determined as “flick”. Hence, if exceeding the first predetermined time period, it is determined as mere “slide”. Furthermore, in a case that “tap” is performed twice continuously within a second predetermined time period (500 milliseconds-2.0 seconds), such an operation is determined as “double tap”.
Hereinafter, if it is not necessary to accurately distinguish the kinds of the operation that the touch panel 16 receives, a term “touch operation” is commonly used.
In addition, for a detection system of the touch panel 16, a surface-type electrostatic capacitance system may be adopted, or a resistance film system, an ultrasonic system, an infrared ray system, an electromagnetic induction system or the like may be adopted. Furthermore, a touch operation is not limited to an operation by a finger, may be performed by a touch pen.
In addition, the above-described wireless communication circuit 32, the A/D converter 34 and the D/A converter 36 may be included within the processor 30.
In the displaying area 56, a text input portion 66 is formed, and a character input key 68 is displayed below the text input portion 66, and button images 70, 72 and 74 are displayed below the character input key 68. In the text input portion 66, a character or the like designated by making a touch operation on the character input key 68 is displayed. The character input key 68 is used for inputting a character or the like that is displayed in the text input portion 66. An example of a case that a character is input to the text input portion 66 is shown in
The button image 70 is provided to transmit an email. The button image 72 is provided to select a converted content or an input symbol from a plurality of candidates when a content being displayed with Japanese “hiragara” is to be converted into Japanese “kanji” or a symbol is to be input. The button image 74 is provided to display a menu screen in a case that various kinds of setting items for an email are to be selected.
Conventionally, in a case that a character is to be deleted during an editing of characters that creates a text of an email, for example, by operations by a user, a deletion mode is selected, a start position and an end position of a character string to be deleted (deletion target) are designated, and an implementation of deletion is designated. In response to such operations, the deletion target is deleted, and a following character or character string is closed forward such that a space that the deletion target was displayed is filled. Alternatively, by operating a key for deleting a character one by one, a character is deleted to return by one character from a position designated by the cursor 80.
In the former case, it is necessary to select a deletion mode, designate a start position and an end position to decide a deletion target, and designate an implementation of a deletion, and therefore, an operation is troublesome. In the latter case, since it is necessary to move the cursor to a position that a character of the deletion target is being displayed, it is troublesome to repeatedly tap the key for moving the cursor, and further, in a case that a character being displayed is small, it is relatively difficult to directly move the cursor to a position that the character of the deletion target is being displayed. Furthermore, in a case that an icon or thumbnail (a displayed image with reduction) is to be deleted, it is necessary to perform an operation different from an operation of the case that a character is deleted. For example, in a case that the icon or the thumbnail is to be deleted, by long-depressing the icon or thumbnail to be deleted (by continuously touching a few seconds or more, for example), the long-depressed of the icon or thumbnail is transited to a deletion-capable state, and further, in such a state, the deletion is designated by tapping a deletion mark or a deletion icon, and the deletion is implemented.
In the above-described conventional arts, in a case that a deleting operation is performed, it is necessary for the user to perform a plurality of times of operations for each deletion target of the character or the image.
Accordingly, in this embodiment shown, in order to easily delete a character or an image (icon, thumbnail) through an intuitive operation irrespective of the character or the image, a designation and a deletion of the deletion target is performed.
For example, as shown in
Furthermore, as shown in
Therefore, as shown in
In addition, in this embodiment shown, the button image 84 is displayed when the deletion target is decided, and if the button image 84 is tapped until the third predetermined time period elapses, the deletion is stopped; however, a stopping method (operation) of the deletion is not limited to such a method. For example, instead of the tapping of the button image 84, the hardware keys (22, 24 and 26) may be operated (turned-on). Furthermore, instead of the tapping of the button image 84, a predetermined character (“C” in alphabet, for example) or a predetermined symbol (a cross (x) mark, for example) may be drawn on the touch panel 16.
As shown in
In addition, it is true for a case that a thumbnail is to be deleted. In a case that the icon 110 or the thumbnail is to be deleted, an icon or a thumbnail not being displayed in the displaying area 104 may be displayed in the displaying area 104 instead of the deleted icon 110 or thumbnail, the space after the deletion may be kept empty.
As shown in
Thus, by sliding a finger to draw a zigzag, a character string within a line and an icon or thumbnail can be deleted, and further, a character string over a plurality of lines or a plurality of icons or thumbnails can be deleted at once by similarly sliding a finger to draw a zigzag.
Next, a method for determining whether or not a finger is slid to draw a zigzag (i.e. a determining method) will be described. As shown in
A two-dimensional coordinate system is set for the touch panel 16, and a Y axis is set in parallel with a vertical direction (longitudinal direction) and an X axis is set in parallel with a horizontal direction (direction orthogonally intersecting to the vertical direction). In a state that the mobile phone 10 is set in the vertical direction, an upper direction is a plus direction of the Y axis and a right direction is a plus direction of the X axis. Furthermore, the origin is set at a point corresponding to a lower left corner (apex) of the display 14 in a state that the mobile phone 10 is held in the vertical direction.
In addition, the two dimensional coordinates system set on the touch panel 16 also corresponds to the display 14. Therefore, the touch coordinates detected in response to a touch operation to the touch panel 16 corresponds to the positional coordinates on the display 14.
In this embodiment, as in the creating screen 50 shown in
In addition, in a case that the mobile phone 10 is set in the horizontal direction, that is, in a case that a horizontally wide screen is displayed, the mountain and the valley can be detected according to a change of the X component of the touch coordinates.
As shown in
In this embodiment, in order to perform a deleting operation as in a case that a character string written on a piece of paper or the like is erased by using an eraser, by sliding a finger to draw a zigzag, a range to be deleted is to be decided and then, the deletion is implemented. However, in order to perform an intuitive operation, a finger may be slid (moved) to write or draw another symbol or figure. In
In a case that the finger is slid to draw “Z”, a spiral or “<”, for example, as similar to a case that the finger is slid to draw a zigzag, the finger is slid on a character(s) and an image(s) such as an icon or thumbnail to be deleted (hereinafter, these may be collectively called as “displayed object”). Furthermore, in a case that a predetermined figure is to be drawn, the finger is slid to surround a displayed object to be deleted. However, even in a case that a predetermined figure is to be drawn, the finger may be slid on a displayed object to be deleted.
In addition, determination on whether or not a locus of slide represents each symbol or figure is performed based on the feature of the symbol or figure as similar to a case of determination of the zigzag. Briefly described, it is determined that the finger is slid to draw “Z” in the case that in the touch coordinates detected according to a time series, a Y component hardly changes while an X component increases, the X component turns over for decrease from increase, the X component and the Y component decrease, the X component turns over for increase from decrease, and then the Y component hardly changes and the X component increases. However, it is determined that the finger is slid to draw “Z” based on a positional relationship of a start point, an end point and two reversed points.
Furthermore, in a case that in the touch coordinates detected according to a time series, a mountain and a valley are detected in turn, it is determined that the finger is slid to draw a spiral. In addition, in a case that a spiral is to be drawn in a direction indicated in
Furthermore, in a case that in the touch coordinates detected according to a time series, an X component is increasing and a Y component also decreases, the X component turns over for increase from decrease, and the X component is increasing while the Y component decreases, it is determined that the finger is slid to draw “<”. In addition, it is possible to determine that the finger is slid to draw “<” based on a positional relationship of a start point, an end point and a reversed point.
Furthermore, in a case that in the touch coordinates detected according to a time series, a vertical line drawn from the upper to the lower, a horizontal line drawn from left to right, a vertical line drawn from the lower to the upper and a horizontal line drawn from right to left are sequentially detected, it is determined that a rectangle or quadrilateral shape is drawn. In addition, it is possible to determine a quadrilateral shape based on a relationship of a start point, an end point and other three points at which a drawing direction is changed.
If and when a deleting operation described above for deleting a displayed object is detected, a displayed object of a deletion target is decided based on the deleting operation. For example, it is possible to decide a displayed object overlapping with a plurality of touch positions (touch coordinates) constituting a locus of slide at a time that the deleting operation is performed as a deletion target.
However, in a case that the finger is slid to draw a zigzag on a character string over a plurality of lines or a plurality of images (icon or thumbnail), there is a possibility that the locus of slide does not pass over a character or an image between the mountains, or between the valleys. This is true for a case that the finger is slid to draw “Z”, the spiral or “<”. Furthermore, in a case that the finger is slid to draw a predetermined figure such as a rectangle, the locus of slide does not pass on a character or figure inside the predetermined figure. That is, in such a case, a character or figure included in a range of a finger slide, but over which the locus of slide does not pass may not be selected as the deletion target.
Therefore, in this embodiment, if a deleting operation is detected, a range of a deleting operation (hereinafter, called as “an operated range”) based on the touch coordinates included in the locus of slide at a time that the deleting operation is performed is decided, and a displayed object overlapping with the operated range is decided as the deletion target.
At first, a method for deciding an operated range E by a locus of slide for a deleting operation is described. Respectively shown in
In addition, in
A deletion target is decided based on the operated range E thus decided.
Furthermore, in
In addition, in a case that the operated range E overlaps a character string or surrounds a character string, a deletion target is decided by a method of
It is noted that the above-described embodiments can be similarly applied to a case that an image(s) such as an icon or thumbnail is to be deleted.
The main process program 302a is a program for processing a main routine for a whole control of the mobile phone 10. The communication program 302b is a program for performing telephone conversation processing with another telephone or for performing data communication processing with another telephone or computer. The touch operation determining program 302c is a program for determining whether a touch operation is “tap”, “flick” or “slide”. The deleting program 302d is a program for deleting a displayed object.
Although not shown, the program storage area 302 is further stored with a program for displaying various kinds of screens, a program for producing and outputting sound, and a program for performing other functions or various kinds of applications.
The data storage area 304 is provided with an input data buffer 304a, and stored with image data 304b. Furthermore, the data storage area 304 is provided with a tap flag 304c, a flick flag 304d and a slide flag 304e. The data storage area 304 is also provided with a deletion timer 304f and a flick timer 304g.
The input data buffer 304a is a region for temporarily storing a key data input from the input device 40 and a touch coordinates data input from the touch panel control circuit 48. The key data or the touch coordinates data stored in the input data buffer 304a are erased after the same are used for processing by the processor 30. The image data 304b is data for depicting (producing) displayed image data corresponding to various kinds of screens.
The tap flag 304c is a flag for determining whether or not the touch operation indicates a tap. The tap flag 304c is constituted by a 1-bit register, and if the flag is turned-on, a data value “1” is set in the register, and if the flag is turned-off, a data value “0” is set in the register. Then, if the touch operation shows a tap, the tap flag 304c is turned-on, and if the touch operation does not show a tap, the tap flag 304c is turned-off. This is true for the flick flag 304d and the slide flag 304e described later.
The flick flag 304d is a flag for determining whether or not the touch operation indicates a flick. The slide flag 304e is a flag for determining whether or not the touch operation indicates a slide.
The deletion timer 304f is a timer for counting a third predetermined time period from a timing that a deletion target is decided to a timing that the deletion is performed. The flick timer 304g is a timer for counting a first predetermined time period for determining whether or not the touch operation is a flick.
Although not shown, the data storage area 304 is further stored with other data necessary for performing the control program, and provided with other flags and other timers (counters).
As shown in
If “NO” is determined in the step S1, that is, if no operation input exists, the process returns to the step S1 with no action. If “YES” is determined in the step S1, that is, if the operation input exists, in a step S3, it is determined whether or not the operation input is a key operation.
If “YES” is determined in the step S3, that is, if the operation input is the key operation, processing according to the key operation is performed in a step S5, and then the process returns to the step S1. For example, if the call key 22 is operated, the calling processing is started through a further task, or a telephone conversation is started in response to an incoming call. If the end key 24 is operated, the conversation processing is terminated. If the menu key 26 is operated, a menu function is performed through a further task. These are only examples, and not to be limited thereto. That is, a function assigned to the hardware keys (22, 24, 26) or the like is performed.
On the other hand, if “NO” is determined in the step S3, that is, if the operation input is not a key operation, it is determined that a touch operation is performed, and in a step S7, touch operation determining process (
On the other hand, if “NO” is determined in the step S9, that is, if the touch operation is not a tap, in a step S13, it is determined whether or not a touch operation is a flick. That is, the processor 30 determines whether or not the flick flag 304d is turned-on. If “YES” is determined in the step S13, that is, if the touch operation is a flick, in a step S15, processing according to the flick is performed, and then the process returns to the step S1. For example, a screen is moved (scrolled) in a direction reverse to a flicked direction. This is only an example, and not to be limited thereto.
If “NO” is determined in the step S13, that is, if the touch operation is not a flick, the slide flag 304e is being turned-on, and thus, it is determined that the touch operation is a slide, and in a step S17, it is determined whether or not a locus of the slide is a predetermined locus (a zigzag, in this embodiment). A determining method on whether or not the locus of the slide is a zigzag, that is, the finger is slid to draw a zigzag is described above.
If “NO” is determined in the step S17, that is, if the locus of the slide is not a predetermined locus, it is determined that the slide is not of a deleting operation, and then, the process returns to the step S1 with no action. However, the process may return to the step S1 after a message that a slide operation for deletion is not correctly performed is displayed, or after a warning sound is output. In such a case, instead of the displaying of the message or the outputting of the warning sound, or after the displaying of the message or the outputting of the warning sound, a screen for showing a correct operation method for deletion, i.e. an operation guide screen may be displayed. Furthermore, the displaying may be scrolled according to a slide input in a further manner.
If “YES” is determined in the step S17, that is, if the locus of the slide is the predetermined locus, it is determined that a deleting operation is performed, and in a step S19 shown in
In a succeeding step S21, a deletion target is notified. In this step, the processor 30 surrounds the deletion target by the rectangular frame 82 as shown in
Subsequently, in a step S25, it is determined whether or not the deletion is to be stopped. In this step, the processor 30 determines whether or not the button image 84 is tapped. If “YES” is determined in the step S25, that is, if the deletion is to be stopped, in a step S27, the deletion target is cancelled, and then, the process returns to the step S1 shown in
On the other hand, if “NO” is determined in the step S25, that is, if the deletion is not to be stopped, in a step S29, it is determined whether or not a third predetermined time period (3 seconds, for example) elapses. In this step, the processor 30 determines whether or not a count value of the deletion timer 304f is equal to or larger than the third predetermined time period.
If “NO” is determined in the step S29, that is, if the third predetermined time period does not elapse, the process returns to the step S25 with no action. If “YES” is determined in the step S29, that is, if the third predetermined time period elapses, in a step S31, the deletion target is deleted, and then the process returns to the step S1. At this time, if the deletion target is a character, a character string following the deletion target is moved forward to fill the space.
Subsequently, in a step S55, it is determined whether or not a touch operation exists. In this step, the processor 30 determines whether or not the touch coordinates data are successively stored in an input data buffer 304a. If “YES” is determined in the step S55, that is, if a touch operation exists, it is determined that the touch operation is continued, and in a step S57, it is determined whether or not a count value of the flick timer 304g reaches a first predetermined time period (500 milliseconds, for example).
If “NO” is determined in the step S57, that is, if the count value of the flick timer 304g does not reach the first predetermined time period, the process returns to the step S55 with no action. On the other hand, if “YES” is determined in the step S57, that is, if the count value of the flick timer 304g reaches a first predetermined time period, the flick flag 304d is turned-off in a step S59, and then the process returns to the step S55.
If “NO” is determined in the step S55, that is, if no touch operation exists, it is determined that the touch is released, and in a step S61, a moving distance of the touch operation is calculated. In this step, the processor 30 calculates a distance between the touch coordinates of the start position of the touch operation (the position starting the touch operation) and the touch coordinates of the end position (the position ending (releasing) the touch operation).
In a next step S63, it is determined whether or not the moving distance is a predetermined distance (50 dots, for example) or more. If “NO” is determined in the step S63, that is, if the moving distance is less than the predetermined distance, it is determined that the touch operation is “tap”, and in a step S65, the tap flag 304c is turned-on, and then, the process returns to the whole process.
On the other hand, if “YES” is determined in the step S63, that is, if the moving distance is equal to or longer than the predetermined distance, in a step S67, it is determined whether or not the flick flag 304d is turned-on. If “YES” is determined in the step S67, that is, if the flick flag 304d is turned-on, it is determined that the touch operation is “flick”, and then, the process returns to the whole process with no action. If “NO” is determined in the step S67, that is, if the flick flag 304d is turned-off, it is determined that the touch operation is “slide”, and in a step S69, the slide flag 304e is turned-on, and thereafter, the process returns to the whole process.
According to this embodiment shown, by sliding the finger to draw a predetermined character, symbol or figure such as a zigzag, the deletion target can be decided, and the deletion is performed, and therefore, the displayed object such as a character or image can be easily deleted with an intuitive operation.
A mobile phone 10 according to other embodiments is similar to the above-described embodiment except that in a case that a symbol or the like drawn by two continuous slides is a predetermined symbol or the like, a deletion target is decided and the deletion is performed, and therefore, a duplicated description is omitted here.
In such other embodiments, it is possible to delete a desired displayed object by sliding the finger to draw a doublet, or to draw a cross (x) mark. In addition, in a case that a time period from a first slide being ended to the second slide being started is within a fourth predetermined time period (500 milliseconds-1.0 second, for example), it is determined that the slide is continuously performed twice.
In a case that by performing a slide twice in a horizontal direction to draw a doublet in the horizontal direction as shown in
Furthermore, in a case that by performing a slide twice in an oblique direction to draw a doublet in the oblique direction as shown in
In addition, although not shown, a doublet that two straight lines downward to the left may be drawn.
Furthermore, in a case that a cross mark is drawn by performing a slide twice in oblique directions different from each other as shown in
As similar to the above-described embodiments, in a case that a doublet or a cross mark is drawn as shown in
In addition, although not shown, a method for deciding a deletion target based on the operated range E is similar to the method in the above-described embodiment.
Furthermore, if the finger is slid to draw a doublet in the horizontal direction as shown in
The whole process by the processor 30 according to other embodiments is similar to the whole process described in the above-described embodiment, except for partial changes. In the following, only a different portion will be described. In the whole process of the above-described embodiment, the step S17 is deleted, and between the step S15 and the step S19, the steps S81, S83, S85, S87, S89 and S91 are added. Furthermore, in the touch operation determining processing of the step S7, the kind of the first operation (first time operation) is determined.
As shown in
As shown in
If “NO” is determined in the step S83, that is, if the count value of the between-operation timer does not reaches the fourth predetermined time period, in a step S85, it is determined whether or not a touch operation exists. That is, it is determined whether or not the touch coordinates data at a current time is stored in the input data buffer 304a. If “NO” is determined in the step S85, that is, if no touch operation exists, the process returns to the step S83 with no action. If “YES” is determined in the step S85, that is, if a touch operation exists, in a step S87, the touch operation determining processing for the second operation (second time operation) is performed. The touch operation determining processing in the step S87 is the same as the touch operation determining processing in
Subsequently, in a step S89, it is determined whether or not the touch operation is a slide. In this step, the processor 30 determines whether or not the slide flag 304e is turned-on. If “NO” is determined in the step S89, that is, if the touch operation is not a slide, it is determined that the touch operation is not of a deleting operation, then the process returns to the step S1. On the other hand, if “YES” is determined in the step S89, that is, if the touch operation is a slide, in a step S91, it is determined whether or not a locus of the two times slides is a predetermined locus. Such a determining method is as just described above.
If “NO” is determined in the step S91, that is, if the two times slides is not the predetermined locus, it is determined that the two times slides is not of a deleting operation, and the process returns to the step S1. If “YES” is determined in the step S91, that is, if the locus of the two times slides is the predetermined locus, it is determined that the two times slides is of a deleting operation, and then, processing in the step S19 shown in
In other embodiments, only by sliding the finger to draw a predetermined symbol or the like such as a doublet or a cross mark, since it is possible to designate a deletion target and thus to perform deletion, the displayed object can be easily deleted with an intuitive operation.
In addition, in the above-described embodiments, by one time slide or two times slides, the deletion target is decided and the deletion is performed, but not limited thereto. For example, it is possible to decide a deletion target and perform the deletion by three times slides. The deletion target is decided by the first and second slides, and in response to the third slide, the deletion is performed.
More specifically, as shown in
As shown in
As shown in
In a further embodiment, it is possible to decide a deletion target and perform the deletion by four or more times slides or continuous tap. For example, as shown in
As shown in
Furthermore, in the above-described embodiments, if the deletion is stopped until the third predetermined time period elapses after the deletion target is decided, the deletion target is cancelled not to perform the deletion, but not limited thereto. For example, if the deletion target is decided, the deletion target is immediately deleted, and a predetermined operation exist until a sixth predetermined time period (3 seconds, for example) elapses after the deletion target is deleted, the deletion target may be undone. The predetermined operation for undoing the deletion target may be the same as that of a case that the deletion is stopped. That is, after the deletion target is deleted, a predetermined button image is displayed on the screen, and if the button image is turned-on (tapped) until the sixth predetermined time period elapses, the deletion target is undone. Furthermore, after the deletion target is deleted, the deletion target may be undone by depressing a predetermined hardware key or by drawing a predetermined character or the like.
In addition, in the above-described case, instead of the deletion timer of the above-described embodiments, a timer (here, called as “an undoing timer”) for counting the sixth predetermined time period for determining whether or not the deletion target is to be undone is provided.
Specifically, since the whole process according to the further embodiment is the same as the whole process shown in
In a step S103, the undoing timer is reset and started. Then, in a step S105, it is determined whether or not the deletion target is to be undone. If “YES” is determined in the step S105, that is, if the deletion target is to be undone, in a step S107, the deletion target is undone, and then, the process returns to the step S1. That is, the deletion target erased from the screen in the step S101 becomes to be displayed at its original position. If “NO” is determined in the step S105, that is, if the deletion target is not to be undone, in a step S109, it is determined whether or not a count value of the undoing timer reaches a sixth predetermined time period.
If “NO” is determined in the step S109, that is, if the count value of the undoing timer does not reach the sixth predetermined time period, the process returns to the step S105. On the other hand, if “YES” is determined in the step S109, that is, if the count value of the undoing timer reaches the sixth predetermined time period, the process returns to the step S1.
Programs utilized in the above-described embodiments may be stored in an HDD of the server for data distribution, and distributed to the mobile phone 10 via the network. The plurality of programs may be stored in a storage medium such as an optical disk of CD, DVD, BD (Blu-ray Disc) or the like, a USB memory, a memory card, etc. and then, such the storage medium may be sold or distributed. In a case that the plurality of programs downloaded via the above-described server or storage medium are installed to a mobile terminal having the structure equal to the structure of the embodiment, it is possible to obtain advantages equal to advantages according to the embodiment.
The specific numerical values mentioned in this specification are only examples, and changeable properly in accordance with the change of product specifications.
An embodiment is electronic equipment with a display portion which displays an object including at least a character, comprising: an operation detecting portion which detects a touch operation to a touch panel provided on a surface of the display portion; a determining portion which determines whether a touch operation detected by the operation detecting portion is an operation to draw a predetermined locus; and a deleting portion which deletes, when it is determined by the determining portion that the touch operation is an operation to draw the predetermined locus, a part or all of the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation.
In the embodiment the electronic equipment (10) is provided with the display portion (14) which displays an object including at least a character. The object is a symbol including a character or an image, for example, and there is a case that these are displayed together. The operation detecting portion (30, S1) detects a touch operation to a touch panel (16) provided on a surface of the display portion. The determining portion (30, S17) determines whether the touch operation detected by the detecting portion is an operation to draw a predetermined locus. It is determined whether or not a locus by the touch operation represents the predetermined locus, for example. Furthermore, it is determined whether a predetermined number of points or more are continuously designated by the touch operation, for example. The deleting portion (30, S31) deletes, when it is determined by the determining portion that the touch operation is an operation to draw the predetermined locus, a part or all of the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation. For example, a part or all of the object is designated by the points included in the locus of the touch operation is deleted.
According to the embodiment, if and when the locus by the touch operation represents a predetermined locus, a part or all of an object being displayed on the display portion is deleted based on the points included in the touch operation, and thus, it is possible to easily delete the object through an intuitive operation.
Another embodiment is the electronic equipment wherein the deleting portion deletes, when a first predetermined time period elapses from a timing that a part or all of the object to be deleted is decided as a deletion target, the deletion target.
In this embodiment, if a part or all of the object to be deleted is decided as a deletion target, displays the deletion target in a manner capable of identifying the deletion target. Then, when a first predetermined time period elapses the deleting portion deletes the deletion target.
According to this embodiment, since the deletion target is automatically deleted when the first predetermined time period elapses, it is possible to save time and effort by a user.
A further embodiment is the electronic equipment further comprising a canceling portion which cancels the deletion target when a first predetermined input exists before the first predetermined time period elapses from a timing that a part or all of the object is decided as the deletion target.
In the further embodiment, the canceling portion (30, S27) cancels the deletion target when a first predetermined input exists before the first predetermined time period elapses from a timing that a part or all of the object is decided as the deletion target. The first predetermined input includes a tapping to a button image displayed on the display portion, a drawing of a predetermined symbol or figure with using the touch panel, and an operation to a predetermined hardware key.
According to the further embodiment, since the deletion target can be canceled, even if the user fails to perform a touch operation representing the predetermined locus, it is possible to try again such an operation for deleting.
A still further embodiment is the electronic equipment further comprising an undoing portion which undoes a part or all of the object having been deleted when a second predetermined input exists before a second predetermined time period elapses from a timing that a part or all of the object is deleted by the deleting portion.
In the still further embodiment, the undoing portion (30, S107) undoes the part of or entire the object having been deleted when a second predetermined input exists before a second predetermined time period elapses from a timing that a part or all of the object is deleted by the deleting portion. That is, a part or all of the object having been deleted once can be restored.
According to the still further embodiment, since a part or all of the object having been deleted once is restored, even if the user fails to perform a touch operation for deleting, it is possible to undo the object. Therefore, it is possible to try again such an operation for deleting.
Another embodiment is the electronic equipment wherein the predetermined relationship includes a condition that a part or all of the points included in the touch operation indicating the predetermined locus and a part or all of the object are overlapped.
In this embodiment, when that a part or all of the points included in the touch operation indicating the predetermined locus and the part of or entire the object are overlapped, a part or all of the object is deleted.
According to this embodiment, by performing a touch operation to draw the predetermined locus on the object to be deleted, it is possible to delete a portion that the touch operation and the object are overlapped. Accordingly, it is possible to easily delete the object by an intuitive operation.
A further another embodiment is the electronic equipment wherein the predetermined relationship includes a condition that a part or all of the points included in the touch operation indicating the predetermined locus surrounds a part or all of the object.
In this embodiment, when a part or all of the points included in the touch operation representing the predetermined locus surrounds a part or all of the object, a part or all of the object is deleted.
According to this embodiment, by performing a touch operation to draw the predetermined locus on the object to be deleted, it is possible to delete a portion where the touch operation surrounds the object. Accordingly, it is possible to easily delete the object by an intuitive operation.
A still further another embodiment is a non-transitory storage medium storing a deleting program for electronic equipment with a display portion which displays an object including at least a character, wherein the deleting program causes a processor of the electronic equipment to: detect a touch operation to a touch panel provided on a surface of the display portion; determine whether a touch operation detected is an operation to draw a predetermined locus; and delete, when it is determined that the touch operation is an operation to draw the predetermined locus, a part or all of the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation.
According to this embodiment, as similar to the above-described embodiment, it is also possible to easily delete the object through an intuitive operation.
The other embodiment is a deletion controlling method of electronic equipment with a display portion which displays an object including at least a character, a processor of the electronic equipment performing steps of: (a) detecting a touch operation to a touch panel provided on a surface of the display portion; (b) determining whether a touch operation detected in the step (a) is an operation to draw a predetermined locus; and (c) deleting, when it is determined that the touch operation is an operation to draw the predetermined locus in the step (b), a part or all of the object being displayed on the display portion and having a predetermined relationship with respect to points included in the locus of the touch operation.
According to the other embodiment, as similar to the above-described embodiment, it is also possible to easily delete the object through an intuitive operation.
Although the present invention has been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, the spirit and scope of the present invention being limited only by the terms of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2011-276804 | Dec 2011 | JP | national |