130 likes | 235 Vues
Explore the Multiple Device Markup Language (MDML) schema - a versatile markup language for Graphical User Interface (GUI) development based on XUL. Learn about widget mapping strategies for various platforms like Swing, SWT, and J2ME, as well as the architecture comprising layout managers, rule engines, and code generation processes.
E N D
Multiple Device Graphical User Interface Generation Jinesh Parekh and Paul D. Johnson SE690 & SE696 Supervised by Dr. Jia October 17, 2003http://shrike.edu.depaul/~pjohnso2
Agenda • Process • Architecture • Phase Development • Questions
Process - MDML • Define The Multiple Device Markup Language (MDML) Schema • General Purpose Markup Language for Graphical User Interface Development • Based on XUL with intent to produce a cross platform GUI.
Process – Widget Mapping • Widget Mapping Table • <BUTTON> • Swing – JButton • SWT – Button(shell, SWT.Push) • J2ME – Command
Process – Attribute Mapping • Attribute Mapping Table • <Button text=“OK”> • Swing – setText(“OK”); • SWT – setText(“OK”); • J2ME – Command(“OK”, Command.SCREEN, 2)
Process – Composition Table • Composition Table • Swing - add/remove or Constructor • SWT - Constructor • J2ME - Constructor/addCommand
Phases Development • Phase 1 • Swing (Desktop) • Phase 2 • J2ME (Mobile) • Extend the Layout Manager to handle: • Transitions between screens • Grouping of widgets • Display (i.e. size of screen)