The Spec UI framework

Spec is the default UI framework for Pharo. To build UI's in Spec existing widgets or even complete UI's are reused and configured to form a new UI. This book first shows the basics of Spec and how it enables reuse of UIs. It then treats UI layout in detail before moving on to explaining t...

Full description

Saved in:
Bibliographic Details
Main Authors: Fabry, Johan (Author), Ducasse, Stephane (Author)
Format: Electronic eBook
Language:English
Published: [Place of publication not identified] Square Bracket Associates [2017]
Series:Open textbook library.
Subjects:
Online Access:Access online version
Tags: Add Tag
No Tags, Be the first to tag this record!

MARC

LEADER 00000nam a2200000 i 4500
001 OTLid0000523
003 MnU
005 20240122145222.0
006 m o d s
007 cr
008 180907s2017 mnu o 0 0 eng d
020 |a 9781326927462 
040 |a MnU  |b eng  |c MnU 
050 4 |a QA76 
100 1 |a Fabry, Johan  |e author 
245 0 4 |a The Spec UI framework  |c Johan Fabry 
264 2 |a Minneapolis, MN  |b Open Textbook Library 
264 1 |a [Place of publication not identified]  |b Square Bracket Associates  |c [2017] 
264 4 |c ©2017. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 0 |a Open textbook library. 
505 0 |a Illustrations1 Introduction2 First Contact With Examples -- 2.1 A customer satisfaction UI -- 2.2 Fun with Lists -- 2.3 Conclusion -- 3 Reusing and composing elements -- 3.1 First requirements -- 3.2 Creating a basic UI to be reused as a widget -- 3.3 Combining two basic widgets into a reusable UI -- 3.4 Managing three widgets and their interactions -- 3.5 Changing the layout of a reused widget -- 3.6 Considerations about a public configuration API -- 3.7 Conclusion -- 4 The fundamentals of Spec -- 4.1 User interface building: a composition -- 4.2 The initializeWidgets method -- 4.3 Defining UI Layouts -- 4.4 The initializePresenter method -- 4.5 Conclusion -- 5 Layout Construction -- 5.1 About layouts -- 5.2 Row and column layouts -- 5.3 Combining rows and columns -- 5.4 Setting row and column size -- 5.5 Layouts without rows or columns -- 5.6 Conclusion -- 6 Managing windows -- 6.1 Opening a window or a dialog box -- 6.2 Modal windows and the closing of windows -- 6.3 Window size and decoration -- 6.4 The final details: title, icon and about text -- 6.5 Conclusion -- 7 Advanced Widgets -- 7.1 TextModel -- 7.2 RadioButtonModel -- 7.3 TabModel -- 7.4 Toolbars and Pop-up Menus -- 7.5 Conclusion -- 8 Dynamic Spec -- 8.1 Dynamically changing an already opened UI -- 8.2 Dynamically populating a UI with widgets -- 8.3 Hacking together a UI in the Playground -- 8.4 Conclusion -- 9 Tips and Tricks -- 9.1 Integrating the different UI frameworks -- 9.2 Lists, trees and tables -- 9.3 Using the underlying widget library -- 9.4 Testing the functionality of a Spec UI 
520 0 |a Spec is the default UI framework for Pharo. To build UI's in Spec existing widgets or even complete UI's are reused and configured to form a new UI. This book first shows the basics of Spec and how it enables reuse of UIs. It then treats UI layout in detail before moving on to explaining the management of windows. Some of the more advanced widgets are also discussed as well as the dynamic features of Spec. Lastly, the book also contains a chapter with tips and tricks. 
542 1 |f Attribution-ShareAlike 
546 |a In English. 
588 0 |a Description based on print resource 
650 0 |a Computer Science  |v Textbooks 
700 1 |a Ducasse, Stephane  |e author 
710 2 |a Open Textbook Library  |e distributor 
856 4 0 |u https://open.umn.edu/opentextbooks/textbooks/523  |z Access online version