DocumentCode
3224128
Title
Modular Specification of GUI Layout Using Constraints
Author
Lutteroth, Christof ; Weber, Gerald
Author_Institution
Univ. of Auckland, Auckland
fYear
2008
fDate
26-28 March 2008
Firstpage
300
Lastpage
309
Abstract
The Auckland layout model (ALM) is a novel technique for specifying layout. It generalizes grid-based layouts as they are widely used for print layout as well as for GUI layout. Qualitatively, in ALM the focus switches from the cells of the grid to the tabstops between cells. Quantitatively, the model permits the specification of constraints based on linear algebra, and an optimal layout is calculated using linear programming. ALM provides several advantages for developers: first, it supports several different levels of abstraction through higher-level layout constructs that are automatically translated into the lower-level primitives of linear programming. The formalism of linear programming defines a clean separation of ALM´s interface and its implementation. Second, the compositional nature of ALM allows developers to group parts of a specification that belong naturally together, resulting in a modular GUI specification. Our experience has shown that it is much harder to achieve a similar separation of concerns when using common GUI layout techniques.
Keywords
formal specification; graphical user interfaces; linear algebra; linear programming; Auckland layout model; GUI layout; grid-based layouts; linear algebra; linear programming; modular specification; Computer science; Engines; Graphical user interfaces; Linear algebra; Linear programming; Runtime; Size control; Software engineering; Software libraries; Switches; constraints; layout; modularity; user interfaces;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2008. ASWEC 2008. 19th Australian Conference on
Conference_Location
Perth, WA
ISSN
1530-0803
Print_ISBN
978-0-7695-3100-7
Type
conf
DOI
10.1109/ASWEC.2008.4483218
Filename
4483218
Link To Document