Method for controlling display of a context toolbar
First Claim
1. A method for controlling display of a context toolbar, comprising:
- (1) receiving a screen touch signal for displaying the context toolbar;
(2) determining a selected object according to the screen touch signal;
(3) selecting function buttons corresponding to the selected object, and obtaining an overall display width by summating display widths of selected function buttons;
(4) comparing the overall display width with a preset value,when the overall display width≦
the preset value, displaying the context toolbar, and displaying all the selected function buttons and a close button for closing the context toolbar in the context toolbar; and
when the overall display width>
the preset value, displaying the context toolbar, and displaying some of the selected function buttons and a close button for closing the context toolbar in the context toolbar, and in response to slide touch information, adjusting the displayed selected function buttons by rightward or leftward sliding action in the context toolbar of a user;
(5) the context toolbar has a variable display length, whereinwhen the overall display width≦
the preset value, the display length of the context toolbar is in a linear relationship with the overall display width; and
when the overall display width>
the preset value, the display length of the context toolbar is fixed.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a method for controlling display of a context toolbar, comprising: receiving a screen touch signal for displaying the context toolbar; determining a selected object according to the screen touch signal; selecting function buttons corresponding to the selected object, and obtaining an overall display width by summating the display width of the selected function buttons; comparing the overall display width with a preset value, when the overall display width≦the preset value, displaying the context toolbar, and displaying all the selected function buttons and a close button for closing the context toolbar in the context toolbar; and when the overall display width>the preset value, displaying the context toolbar, and displaying some of the selected function buttons and a close button for closing the context toolbar in the context toolbar, and in response to slide touch information.
17 Citations
1 Claim
-
1. A method for controlling display of a context toolbar, comprising:
-
(1) receiving a screen touch signal for displaying the context toolbar; (2) determining a selected object according to the screen touch signal; (3) selecting function buttons corresponding to the selected object, and obtaining an overall display width by summating display widths of selected function buttons; (4) comparing the overall display width with a preset value, when the overall display width≦
the preset value, displaying the context toolbar, and displaying all the selected function buttons and a close button for closing the context toolbar in the context toolbar; andwhen the overall display width>
the preset value, displaying the context toolbar, and displaying some of the selected function buttons and a close button for closing the context toolbar in the context toolbar, and in response to slide touch information, adjusting the displayed selected function buttons by rightward or leftward sliding action in the context toolbar of a user;(5) the context toolbar has a variable display length, wherein when the overall display width≦
the preset value, the display length of the context toolbar is in a linear relationship with the overall display width; andwhen the overall display width>
the preset value, the display length of the context toolbar is fixed.
-
Specification