SWT
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > SWT: The Standard Widget Toolkit, Volume 1
SWT: The Standard Widget Toolkit, Volume 1

SWT: The Standard Widget Toolkit, Volume 1


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

The Standard Widget Toolkit (SWT) is a new class library for creating graphical user interfaces (GUIs) in Java. Created as part of the Eclipse project, SWT allows developers to build efficient, portable applications that directly access the user-interface facilities of the operating systems it is implemented on. This revolutionary technology makes it possible to create Java-based applications that are indistinguishable from a platform's native applications. SWT: The Standard Widget Toolkit, Volume 1, will show you how to: Get SWT, install it, and invoke it from your programs. Understand widgets--the building blocks of GUI--and how they interact with users and compose a GUI. Use graphics routines to configure the appearance of native widgets and draw application-specific graphics. Apply best practices from real-world uses of SWT. Appreciate what makes a quality SWT program. In this book--the first definitive guide to SWT--two of the technology's lead designers and implementers show you how to break the task of building a GUI-based application into components. They then show how these components are modeled in SWT and provide a series of graded examples. The result is a guided tour of the essential aspects of this exciting toolkit, ranging from mouse and keyboard handling to user-interface controls for native operating systems. If you want to build modern GUI-based application, SWT: The Standard Widget Toolkit, Volume 1, will prove an invaluable guide and reference.

Table of Contents:
Foreword by Erich Gamma. Preface. Introduction. I. WIDGETS. If You Don't Read Anything Else…. 1. Widget Fundamentals. What Is a Widget? Widget Hierarchy. Events and Listeners. Application Data. Querying the Display. Summary. 2. The Keyboard. When a Key Is Typed, Where Does It Go? Keyboard Events and the Focus Control. Traversal. Accelerators. Window System Keys. Summary. 3. The Mouse. Mouse Events. Selection. Summary. 4. Control Fundamentals. Bounds. Client Area. Moving and Resizing. Visibility. Z-Order. Enabling and Disabling. Preferred Size. Painting. Repainting and Resizing. Filling the Background. Summary. 5. Display. Naming Your Application. Display Life Cycle. Events and Listeners. Event Filters. Runnable "Execs". The Event Loop. Multithreaded Programming. Timers. Putting It All Together: Multithreading, Timers, Events, and the Event Loop. Monitors, Bounds, and Client Area. The Active Shell, All Shells, and Focus Control. Cursor Control and Location. Display Depth and DPI. Updating the Display. Application Data. Coordinate Mapping and Mirroring. Miscellaneous. Summary. 6. Native Widgets. Native Widgets Summary. 7. Basic Controls. Class Label. Class Button. Class Text. Class List. Class Combo. Summary. 8. Tool Bars and Menus. Classes ToolBar and ToolItem. Classes Menu and MenuItem. Summary. 9. Advanced Controls. Classes Tree and TreeItem. Classes Table, TableItem, and TableColumn. Classes TabFolder and TabItem. Summary. 10. Range-Based Controls. Class ProgressBar. Class Scale. Classes ScrollBar and Slider. Summary. 11. Controls, Composites, Groups, and Shells. Class Control. Class Composite. Class Group. Class Shell. Summary. 12. Canvas and Caret. Class Canvas. Class Caret. Summary. 13. Draggable Controls. Classes CoolBar and CoolItem. Class Sash. Class Tracker. Summary. 14. Dialogs. Creation. Opening a Dialog. Setting the Title. MessageBox. FileDialog. DirectoryDialog. ColorDialog. FontDialog. Summary. 15. Layout. When Are Layouts Invoked? Class Layout. Layout Data. Class FillLayout. Classes RowLayout and RowData. Class GridLayout. Defining the Grid. Class FormLayout. Assigning Width and Height Hints. Which Layout Should I Use? Forcing a Layout. Forcing Controls to Wrap. Summary. II. GRAPHICS. 16. Graphics Fundamentals. Points and Rectangles. Class Point. Class Rectangle. The Graphics Context. Graphics and Threads. Line and Figure Drawing. Clipping and Regions. 17. Colors. Class RGB. Class Color. System Colors. 18. Fonts. Class FontData. Class Font. Drawing Text. Class FontMetrics. 19. Images. Class ImageData. Class Image. Animation. Loading Images. 20. Cursors. System Cursors. Custom Cursors. III. APPLICATIONS. 21. Minesweeper. How to Play. Implementation Notes. 22. FileExplorer. Features. Implementation Notes. IV. NEXT TIME. Index.

About the Author :
The principal architect of the Standard Widget Toolkit (SWT), Steve Northover joined IBM OTI Labs in 1990. He is an expert on performance, programming for operating systems, and native user interface toolkits. He is the lead of the Eclipse SWT team and is one of the few people who understands the implementation of the toolkit on every platform. Mike Wilson has been a part of IBM OTI Labs since its inception in 1987 as Object Technology International, Inc. Over the years he has played a major part in many of the company's most significant successes, including contributing to the design, implementation, and maintenance of SWT. Currently, he is active in many aspects of the Eclipse Platform, including the Core and Team teams.


Best Sellers


Product Details
  • ISBN-13: 9780321256638
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Height: 235 mm
  • No of Pages: 592
  • Sub Title: The Standard Widget Toolkit, Volume 1
  • Width: 178 mm
  • ISBN-10: 0321256638
  • Publisher Date: 22 Jul 2004
  • Binding: Paperback
  • Language: English
  • Spine Width: 27 mm
  • Weight: 870 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
SWT: The Standard Widget Toolkit, Volume 1
Pearson Education (US) -
SWT: The Standard Widget Toolkit, Volume 1
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

SWT: The Standard Widget Toolkit, Volume 1

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!