CN1191516C - 管理图形用户界面的方法和包括该界面的系统 - Google Patents

管理图形用户界面的方法和包括该界面的系统 Download PDF

Info

Publication number
CN1191516C
CN1191516C CN01119240.2A CN01119240A CN1191516C CN 1191516 C CN1191516 C CN 1191516C CN 01119240 A CN01119240 A CN 01119240A CN 1191516 C CN1191516 C CN 1191516C
Authority
CN
China
Prior art keywords
key
keyevent
graphic element
tabulation
tree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN01119240.2A
Other languages
English (en)
Other versions
CN1325053A (zh
Inventor
赛尔文·查福
欧马·马奏基
杰罗姆·姆里纳兹科
琳达·H·哈乌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alcatel Lucent SAS
Alcatel Lucent NV
Original Assignee
Alcatel NV
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 Alcatel NV filed Critical Alcatel NV
Publication of CN1325053A publication Critical patent/CN1325053A/zh
Application granted granted Critical
Publication of CN1191516C publication Critical patent/CN1191516C/zh
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

一种管理键盘事件的方法,用以导航以图形元素(EGi)树的形式配置的图形用户界面,其特征在于树中的每个图形元素(EGi)均与键(TGj)的列表(LEGi)相关联,其特征还在于所述列表中列出的每个键(TGj)均与一个在接收到与所述键和所述图形元素相关联的键盘事件时要发出的操作(Aj)相关联。本发明还涉及配置有图形用户界面的系统。

Description

管理图形用户界面的方法和包括该界面的系统
技术领域
本发明涉及一种管理图形用户界面的键盘事件的方法,其中图形用户界面是以图形元素树的形式配置的。
本发明还涉及一个包括这种界面的系统。
背景技术
本发明涉及的领域是导航一个有键盘但没有定点工具或鼠标的系统(如,移动电话或袖珍管理器)的图形界面。
在这类系统上执行的图形应用程序可以使用各种编程语言进行开发,特别是使用诸如Java这类面向对象的编程语言。
在面向对象的编程中,定义了不同的类,每个类都有其自身的特征。这些类通过父子关系相关,子类继承其父类的特征。
用Java环境开发的大多数图形应用程序均会定义代表可以嵌套的图形元素(或说组件)的类。图形元素的示例包括:窗口、输入字段、“确定”按钮、标签等。程序员还可以定义新的组件。
图1a)显示了以此方式构成的屏幕E的示例。屏幕E包括简单的图形元素,如输入字段、标签和按钮。它还包括一个较为复杂的组件(容器)C,即”一个含有组件嵌套的组件。首先选择了窗口类型的图形元素“窗口1”。“窗口1”组件中嵌套了三个组件:一个输入字段“输入1”、一个“确定”按钮和一个容器C,容器C中嵌套了输入字段“输入2”和标签“标签1”。
图1b)显示了与上述结构相对应的图形元素的树,父图形元素“窗口1”有三个子图形元素:“输入1”、“确定”和容器C,容器C本身也有两个子组件:“输入2”和“标签1”。
如采能为这类系统的用户提供键盘快捷方式,则会十分有用。键盘快捷方式由一个键或几个键的组合构成,当按下这个键或同时按下这几个键时,就会发出一个特定的操作,而不考虑其所在的图形元素的情况如何。例如,键盘快捷方式“Ctrl Z”需要同时按“Ctrl”键和“Z”键。这样,在本示例中,当活动的组件(即,等待键盘事件的组件)是“输入2”组件时,用户可以要求键盘快捷方式发出“返回前一屏幕”的操作。如果活动的组件是“确定”按钮,用户可能还希望使用同一键盘快捷方式,发出同一操作。
但是,用Java开发的图形应用程序的导航过程并不提供键盘快捷方式。
发明内容
本发明的目标是通过允许这样的应用程序的开发人员定义键盘快捷方式,从而回避对在没有鼠标的系统上执行的应用程序的这一限制。
本发明提供一种管理键盘事件的方法,用于对以图形元素EGi树的形式配置的图形用户界面进行导航,其主要特征在于树中的每个图形元素EGi均与键TGj的一个列表LEGi相关联,其特征还在于所述表中列出的每个键TGj均与一个操作Aj相关联,该操作将在收到与所述键和所述图形元素相对应的键盘事件时执行。
如果图形元素EGi活动,且界面检测到键盘事件,则本方法包括下列步骤:
-将所述键盘事件与所述列表LEGi中列出的键TGj进行比较,比较从活动组件EGi的列表开始,沿所述的树向上进行,以及
-发出与第一个同所述键盘事件相对应的键相关联的操作。
本发明还涉及一种具有图形界面的便携式系统,用以导航以图形元素树的形式配置的图形用户界面,该系统包括一个键盘、一个屏幕和一个界面管理单元,其特征在于所述界面管理单元包括下述装置:将所述树中的每个图形元素与键盘上的各个键的列表相关联,所述列表中列出的每个键均与一个在接收到与所述键和所述图形元素相关联的键盘事件时要发出的操作相关联的装置;当一个图形元素活动时,检测是否发生键盘事件的装置;如果发生键盘事件,则将所述的键盘事件与所述列表中列出的键进行比较,比较从所述活动的图形元素的列表开始,沿所述树向上进行,直到找到与所述键盘事件相对应的键为止的装置;发出与所述找到的键相关联的操作的装置。
所述系统可以是移动电话或袖珍管理器。
附图说明
通过依照附图阅读本说明中的无限制示例,将更明确地了解本发明的其他功能和优点,在附图中:
-图1a)显示了现有技术中由图形元素构成的屏幕的一个示例,
-图1b)显示了与上述示例相关联的树结构;
-图2a)显示了本发明中的图形元素的树,
-图2b)更详细地显示了一个图形元素,它依据本发明与一个键盘快捷方式对的列表以及相对应的操作相关联,
-图3显示了本发明的工作流程图,以及
-图4显示了采用本发明中的键盘事件管理方法的便携式系统。
具体实施例
图2a)显示了一个依据本发明的图形元素的树,其中每个图形元素EGi(其中, i的取值范围是从1到N,表示构成一个屏幕的图形元素数量)均与快捷方式对的列表LEGi相关联,如图2b)所示,其中每个对包括一个键盘快捷方式TG j以及一个与之相关联的要执行的操作Ai,这里 i的取值范围是从1到M,表示在树中定义的对。
在如图3所示的操作模式中,即,如采在组件EGi活动时发生键盘事件,则会针对活动的组件EGi将键盘事件与列表LEGi中的每个键盘快捷方式TGj相比较。如果事件不在该列表中,则重复进行比较,但这时是使用树中位于活动组件之前的那个组件(即,父组件)的列表。因此,该过程以这种方式沿树向上进行,直到找到与键盘事件相对应的键盘快捷方式TGj为止。然后,则会发出与该键盘快捷方式TGj相关联的操作。
有了沿着树向上比较的这条路径,就无须在一个组件的列表中定义对(TGj,Ai)来使该对与那个组件相关联了:在其中一个“父”组件的列表中进行定义就足够了。于是,列表LEGi可以为空。如采沿着该路径完成比较后,仍没有与键盘事件相对应的键盘快捷方式,则不发出任何操作;可以向用户给出错误信息。
这种全局定义对(TGj,Ai)的方式有几个优点如果此后再向树中引入新的组件EGi(甚至可以是新的容器)时,它们将自动从父组件那里继承对(TGj,Ai),而无须再在其列表LEGi中使其与父相关联。这可缩短列表长度。
这种基于沿树的路径的操作模式可以提供很好的灵活性。对于组件EGi而言,可能要更改列表LEGi中的对(例如与已有的全局快捷方式TGk相关联的操作Ak)。那么,在列表LEGi中定义一个使新操作Ak与键盘快捷方式TGk相关联的新对即可。
如图4所示,采用这类图形界面的系统DP通常包括一个键盘CL、一个屏幕E和一个包含在控制电子设备EC中的用户界面控制单元GI。负责管理界面的开发人员将建议的解决方案集成到管理单元GI中。

Claims (4)

1.一种管理键盘事件的方法,用以导航以图形元素树的形式配置的图形用户界面,该方法包括下述步骤:
将所述树中的每个图形元素与键盘上的各个键的列表相关联,所述列表中列出的每个键均与一个在接收到与所述键和所述图形元素相关联的键盘事件时要发出的操作相关联;
当一个图形元素活动时,检测是否发生键盘事件;
如果发生键盘事件,则将所述的键盘事件与所述列表中列出的键进行比较,比较从所述活动的图形元素的列表开始,沿所述树向上进行,直到找到与所述键盘事件相对应的键为止;
发出与所述找到的键相关联的操作。
2.一种具有图形界面的便携式系统,用以导航以图形元素树的形式配置的图形用户界面,该系统包括一个键盘、一个屏幕和一个界面管理单元,其特征在于所述界面管理单元包括下述装置:
将所述树中的每个图形元素与键盘上的各个键的列表相关联,所述列表中列出的每个键均与一个在接收到与所述键和所述图形元素相关联的键盘事件时要发出的操作相关联的装置;
当一个图形元素活动时,检测是否发生键盘事件的装置;
如果发生键盘事件,则将所述的键盘事件与所述列表中列出的键进行比较,比较从所述活动的图形元素的列表开始,沿所述树向上进行,直到找到与所述键盘事件相对应的键为止的装置;
发出与所述找到的键相关联的操作的装置。
3.根据权利要求2所述的系统,其特征在于所述系统是一个移动电话。
4.根据权利要求2所述的系统,其特征在于所述系统是一个袖珍管理器。
CN01119240.2A 2000-05-18 2001-05-18 管理图形用户界面的方法和包括该界面的系统 Expired - Fee Related CN1191516C (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FR0006356A FR2809203B1 (fr) 2000-05-18 2000-05-18 Procede de gestion d'une interface homme-machine graphique
FR0006356 2000-05-18

Publications (2)

Publication Number Publication Date
CN1325053A CN1325053A (zh) 2001-12-05
CN1191516C true CN1191516C (zh) 2005-03-02

Family

ID=8850366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN01119240.2A Expired - Fee Related CN1191516C (zh) 2000-05-18 2001-05-18 管理图形用户界面的方法和包括该界面的系统

Country Status (6)

Country Link
US (1) US6989821B2 (zh)
EP (1) EP1156407A1 (zh)
JP (1) JP2002014759A (zh)
CN (1) CN1191516C (zh)
AU (1) AU4603601A (zh)
FR (1) FR2809203B1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844905B2 (en) * 2005-03-31 2010-11-30 Michael Bateman Information display system
US20060282771A1 (en) * 2005-06-10 2006-12-14 Tad Vinci Verifying document compliance to a subsidiary standard
US9753605B2 (en) 2010-05-27 2017-09-05 Oracle International Corporation Action tool bar for mobile applications

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4330845A (en) * 1979-12-31 1982-05-18 International Business Machines Corporation Guess-ahead feature for a keyboard-display terminal data input system
CA2003687C (en) * 1989-03-13 1999-11-16 Richard Edward Shelton Forms manager
EP0672277B1 (en) * 1992-12-01 1998-05-13 Microsoft Corporation A method and system for in-place interaction with embedded objects
US5548703A (en) * 1993-11-30 1996-08-20 International Business Machines Corporation Navigation within a compound graphical object in a graphical user interface
DE69523593T2 (de) * 1994-06-17 2002-09-26 Intel Corp Vorrichtung und verfahren zur aufteilung der anwendung in einer graphischen benutzerschnittstelle
JP2771951B2 (ja) * 1994-11-10 1998-07-02 インターナショナル・ビジネス・マシーンズ・コーポレイション リアクティブ・システムのためのプログラム作成装置
JPH09190267A (ja) * 1995-08-23 1997-07-22 Toshiba Corp 外部イベントに基づきキーボード割当を動的に構成し直すシステムおよび方法
US5815153A (en) * 1996-11-20 1998-09-29 International Business Machines Corporation Multifunction control with changeable appearance
US6128016A (en) * 1996-12-20 2000-10-03 Nec Corporation Graphic user interface for managing a server system
US6633313B1 (en) * 1997-05-08 2003-10-14 Apple Computer, Inc. Event routing mechanism in a computer system
ATE221222T1 (de) * 1997-09-25 2002-08-15 Tegic Communications Inc System zur unterdrückung der vieldeutigkeit in einer verringerten tastatur
US6272537B1 (en) * 1997-11-17 2001-08-07 Fujitsu Limited Method for building element manager for a computer network element using a visual element manager builder process
US6247020B1 (en) * 1997-12-17 2001-06-12 Borland Software Corporation Development system with application browser user interface
US6249284B1 (en) * 1998-04-01 2001-06-19 Microsoft Corporation Directional navigation system in layout managers
US6396522B1 (en) * 1999-03-08 2002-05-28 Dassault Systemes Selection navigator
US6415298B1 (en) * 1999-07-15 2002-07-02 American Management Systems, Inc. Effective dated tree control in a component based-object oriented convergent customer care and billing system
US6559871B1 (en) * 1999-09-29 2003-05-06 International Business Machines Corporation Asynchronous tree navigator graphical user interface and associated methods

Also Published As

Publication number Publication date
FR2809203A1 (fr) 2001-11-23
EP1156407A1 (fr) 2001-11-21
FR2809203B1 (fr) 2003-10-03
AU4603601A (en) 2001-11-22
JP2002014759A (ja) 2002-01-18
US6989821B2 (en) 2006-01-24
CN1325053A (zh) 2001-12-05
US20010043195A1 (en) 2001-11-22

Similar Documents

Publication Publication Date Title
Fogarty et al. Examining task engagement in sensor-based statistical models of human interruptibility
RU2336557C2 (ru) Классы структур автоматизации пользовательского интерфейса и интерфейсы
US6993706B2 (en) Method, apparatus, and program for a state machine framework
US7934162B2 (en) Running state migration of platform specific graphical user interface widgets between heterogeneous device platforms
US7895522B2 (en) Layout of platform specific graphical user interface widgets migrated between heterogeneous device platforms
US20030081003A1 (en) System and method to facilitate analysis and removal of errors from an application
US7735021B2 (en) Shortcut system for use in a mobile electronic device and method thereof
US7392483B2 (en) Transformation of platform specific graphical user interface widgets migrated between heterogeneous device platforms
US20090327888A1 (en) Computer program for indentifying and automating repetitive user inputs
Hamon et al. Formal description of multi-touch interactions
WO2006078316A1 (en) Assigning shortcut keys
US7010778B2 (en) Method, apparatus, and program for a state machine framework
WO2014190219A1 (en) Accessibility compliance testing using code injection
CN109388468B (zh) 多程序窗口管理方法及装置
JP2008282392A (ja) コンテキストに基づくソフトウェア層を確立するための方法、システム、および媒体(コンテキストに基づくソフトウェア層)
US20060136870A1 (en) Visual user interface for creating multimodal applications
CN1191516C (zh) 管理图形用户界面的方法和包括该界面的系统
Hudson et al. Extensible input handling in the subArctic toolkit
US20060064649A1 (en) Systems and methods for navigation of a graphical user environment
Paternò et al. Model-based design of multi-device interactive applications based on web services
CN113010059B (zh) 应用程序图标管理方法、装置及电子设备
CN112578961B (zh) 应用标识显示方法及装置
CN114089885A (zh) 应用图标管理方法、装置、电子设备及可读存储介质
US20070124686A1 (en) Locating graphical elements for an object
CN117591438B (zh) 一种ui组件原子化的自动化测试方法及相关装置

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1082909

Country of ref document: HK

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050302

Termination date: 20100518