| |
| |
| |
|
|
|
Advanced Graphics with SWT and JFace
|
|
Duration:
4 Days
|
|
|
This course is for developers who already know Java and SWT, and want to master the advanced topics in SWT and JFace platform.
-
Java developers
-
Architects
| |
Attendees must be proficient in Java in order to do the labs.
|
|
|
Description
|
The Standard Widget Toolkit (SWT) enables the development of portable
graphical user interface development in Java. SWT includes a set of standard
GUI widgets and components and is an improvement over AWT and Swing
(the core Java APIs for GUI development); it is efficient as it uses the native
graphics support as much as it can. SWT was created as part of the Eclipse project
to help build GUI interface to Eclipse plugins. But SWT can be used even for normal
(i.e. non plugins) Java applications.
JFace is higher leverl GUI API compared to SWT and includes a set of
higher level user interface components such as Viewers for creating
advanced and richer GUI applications.
This course is designed for advanced GUI developers seeking to build applications
using SWT and JFace. The course includes coverage of all the SWT basics, SWT components
and tricks such as double buffering and drag-and-drop.
In this course you will also learn about the best-practices to build applications
using SWT and JFace. Various design patterns are introduced such as the
Model-View-Controller (MVC) and the Command Pattern.
The coverage of JFace includes a comprehensive treatment of various Viewers
such as List Viewer, Tree Viewer, Table Viewer etc.
Advanced topics include the creation of dynamic interfaces where the interface changes based
on what a user clicks or chooses on the screen. For example, clicking on a checkbox to
hide part of the dialogbox.
This course teaches attendees a set of advanced skills in using the SWT and the JFace
framework. It covers the whole spectrum
of designing and developong GUI applications using this platform. This is
a highly hands-on course, with programming labs constituting about 60% of
the course.
|
|
Objectives
|
Upon completion of this course, attendees will be able to:
-
Understand the SWT and JFace framework
-
Use SWT to build GUI applications
-
Master the SWT widget set
-
Master the SWT event model
-
Create new SWT widgets
-
Use the MVC design pattern to develop SWT based applications
-
Use the SWT layout mechanism
-
Use the JFace UI framework
-
Master the JFace viewer components
-
Use Drag-and-Drop in SWT/JFace applications
-
Apply best practices and design patterns
|
|
Course Outline
|
SWT - The Standard Widget Toolkit
-
SWT widget architecture (advanced topics)
-
Designing custom SWT widgets
-
SWT Layout Managers (builtin)
-
Grid Layout
-
Developing custom layout managers
-
SWT event model
-
Property Change Listeners
-
Graphics
-
Color model
-
Thread model
-
SWT Dialog framework
-
Building Custom Dialogs
-
Best practices
Design Patterns
-
Command Pattern
-
Observer-Observable Pattern
Drag and Drop
-
Architecture
-
Modeling Drag Sources
-
Modeling Drop Targets
-
Assigning semantics
| |
JFace - The User Interface Framework
-
JFace overview
-
Viewer Architecture
-
Using the Tree Viewer
-
Using the Table Viewer
-
Using the Text Viewer
-
Editors
-
JFace resource module
-
JFace wizard module
-
Progress indicators
-
JFace Dialog Framework
-
Best practices
Advanced Topics
-
Painting and Double Buffering
-
Keyboard Navigation
-
Advanced SWT Graphics
-
Building dynamic and context sensitive interfaces
-
Performance considerations in efficiently loading data in UI components
-
Inline text editing in Canvas
-
New SWT Features
|
|
|
|