Many books dealing with SWT/JFace have been published, since great success of Eclipse platform. But a couple of years ago, I could not find any meterials about swt except the articles on the web.
With the eclipse version updated, some content might have problems due to "deprecation" but it would be solved related newletter and swt api doc.
SWT | |
Understanding Layouts in SWT (Revised for 2.0) Carolyn MacLeod (OTI), Shantha Ramachandran (OTI) April 24, 2002 When writing applications in SWT, you may need to use layouts to give your windows a specific look. A layout controls the position and size of children in a Composite. Layout classes are subclasses of the abstract class Layout. This article shows you how to work with standard layouts, and write your own custom layout class. | |
SWT: The Standard Widget Toolkit - Part 2 Carolyn MacLeod (OTI) and Steve Northover (OTI) November 27, 2001 SWT uses operating system resources to deliver its native graphics and widget functionality. Allocating and freeing operating system resources is traditionally an area of programming that is error prone. Languages that include garbage collection, such as the Java™ language, relieve the programmer from the burden of managing memory, but not from the allocation and freeing of operating system resources. This article discusses the simple strategy used by SWT to help application designers manage operating system resources. | |
Getting Your Feet Wet with the SWT StyledText Widget (Revised for 2.0) Lynne Kues (OTI) and Knut Radloff (OTI) September 18, 2002 The StyledText widget is a customizable widget that can be used to display and edit text with different colors and font styles. This article presents an overview of the concepts, issues, and rules that you should be aware of when using the StyledText widget. | |
Into the Deep End of SWT StyledText Widget (Revised for 2.0) Lynne Kues (OTI) and Knut Radloff (OTI) September 18, 2002 | |
SWT Color Model James Moody (OTI) and Carolyn MacLeod (OTI) April 24, 2001 The combination of platforms, display devices and color depth makes providing an easy to use yet powerful and portable color model an interesting challenge. In this article we will examine the color management models of Windows and X/Motif and then dig into the makings of the SWT color model and its implications for client code. | |
SWT: The Standard Widget Toolkit - Part 1 Steve Northover (OTI) March 22, 2001 SWT is the software component that delivers native widget functionality for the Eclipse platform in an operating system independent manner. It is analogous to AWT/Swing in Java with a difference - SWT uses native widgets. This article is the first in series of articles that discuss the SWT widget toolkit. This article discusses the low level implementation techniques used to implement SWT on different platforms. Examples are drawn from the windows and Motif implementations. | |
ActiveX Support in SWT Veronika Irvine (OTI) March 22, 2001 OLE Documents, such as Word, Excel or PowerPoint, and ActiveX Controls such as Internet Explorer are COM objects that can be embedded into other applications running on a Microsoft Windows platform. This article provides an overview of OLE and how to integrate OLE Documents and ActiveX Controls into an application using SWT. | |
Creating Your Own Widgets using SWT Steve Northover (OTI) & Carolyn MacLeod (OTI) March 22, 2001 When writing applications, you typically use the standard widgets provided by SWT. On occasion, you will need to extend the set of base widgets by creating your own custom widgets. For example, you might want to add a new type of widget not provided by the standard widgets, or extend the functionality of an existing widget. This article explains the different SWT extension strategies and shows you how to use them. | |
Graphics Context - Quick on the draw Joe Winchester (IBM) July 3, 2003 The package org.eclipse.swt.graphics contains classes that allows management of graphics resources. Graphics can be drawn on anything that implements org.eclipse.swt.graphics.Drawable, which includes org.eclipse.swt.widgets.Control and org.eclipse.swt.graphics.Image . The class org.eclipse.swt.graphics.GC encapsulates all of the drawing API, including how to draw lines and shapes, draw text and images and fill shapes. This article shows how to use a GC to draw onto an Image, or onto a control through its paintEvent callback. The Canvas control, specifically designed for drawing operations, has a number of constructor style bits that allow you to determine when and how painting occurs, and the article shows how to use these. | |
Drag and Drop - Adding Drag and Drop to an SWT Application Veronika Irvine (IBM) August 25, 2003 Drag and drop provides a quick and easy mechanism for users to re-order and transfer data within an application and between applications. This article is an overview of how to implement Drag and Drop and Clipboard data transfers within an SWT application. | |
Taking a look at SWT Images Joe Winchester (IBM) September 10, 2003 SWT's Image class can be used to display images in a GUI. The most common source of images is to load from a standard file format such as GIF, JPEG, PNG, or BMP. Some controls, including Buttons and TreeItems, are able to display an Image directly through the setImage(Image) method, but any control's paint event allows images to be drawn through the callback's graphic context. SWT's ImageData class represents the raw data making up an SWT Image and determines the color for each pixel coordinate. This article shows the correct uses of ImageData and Image, shows how to load images from files, and how to achieve graphic effects such as transparency, alpha blending, animation, scaling, and custom cursors. | |
A small cup of SWT Christophe Cornu (IBM) September 19, 2003 Are you interested in developing applications for the Microsoft Pocket PC? Are you a desktop developer curious about embedded user interfaces? A well-built embedded application is both user and resource friendly. User expectations are high, but resources are very limited. This article contains a bag of hints, tricks, and recipes for developing SWT apps on the Pocket PC. | |
A Basic Image Viewer Chengdong Li (University of Kentucky) March 15, 2004 This article shows how to extend SWT Canvas to implement a mini image viewer plug-in using Java2D transforms. The extended image canvas can be used to scroll and zoom large images, and can also be extended to apply other transforms. The implementation is based on SWT and the non-UI portions of AWT. The plug-in has been tested on Windows, Linux GTK, and Mac OS X Carbon with Eclipse 2.1 or better. |
'Dev' 카테고리의 다른 글
JavaScript에서 this의 의미 (5) | 2007.12.22 |
---|---|
[ Persistence API ] More simplified than ever, but still difficult (0) | 2007.12.19 |
How To Design A Good API and Why it Matters (0) | 2007.12.11 |