Premium
Creating a reusable GUI component
Author(s) -
Stoecklin Sara,
Allen Clement
Publication year - 2002
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.439
Subject(s) - component (thermodynamics) , validator , graphical user interface , computer science , set (abstract data type) , field (mathematics) , consistency (knowledge bases) , process (computing) , interface (matter) , programming language , user interface , abstraction , data dictionary , human–computer interaction , software engineering , data mining , operating system , artificial intelligence , world wide web , physics , mathematics , bubble , maximum bubble pressure method , pure mathematics , thermodynamics , philosophy , epistemology , metadata
Application development of a large number of graphical user interface (GUI) screens and reports requires a labor‐intensive process. In the typical scenario, a GUI developer drags each component, such as the textfield, label, and error messages, on each of the new GUI screens or reports. They then set the component properties and perhaps write any validation routines for input data. Using the proposed Observation Panel Bean (OPB), the developer drags only one component per field, and the OPB dynamically builds the GUI components with consistent properties and links the observation field to the needed validation routine. With little development effort these fields are simply selected from the data dictionary and placed on the GUI. The proposed OPB uses Fowler's observation pattern as a high‐level abstraction representing attributes observed about information in the application domain. The panel collaborates with the observation pattern to set the label, error message, and properties of the various components. Yoder's validator pattern collaborates with the observation pattern and the data dictionary to validate the observations. The proposed OPB decreases GUI development time, adds adaptability to GUI design, and increases consistency in GUI component presentation. Copyright © 2002 John Wiley & Sons, Ltd.