반응형
- Button
- Canvas
- Caret
- CCombo
- Clipboard
- Color and RGB
- Combo
- Composite
- Control
- detect mouse enter, exit and hover events
- prevent Tab from traversing out of a control
- allow a multi-line text to process the default button
- perform custom traversals
- print key state, code and character
- print mouse state and button (down, move, up)
- print mouse events (all)
- set a background image (a dynamic gradient)
- CoolBar
- CTabFolder, CTabItem
- Cursor
- DateTime
- DirectoryDialog
- Display
- create two one shot timers (5000 ms, 2000 ms)
- create one repeating timer (every 500 ms)
- stop a repeating timer when a button is pressed
- get the bounds and client area of a display
- fill a table from a background thread (sync exec)
- post mouse events (UI testing tools only)
- post key events (UI testing tools only)
- post key events to simulate CTRL+END (UI testing tools only)
- post mouse wheel events (UI testing tools only)
- detect a system settings change
- map from control-relative to display-relative coordinates
- use application menu bar, if platform supports it
- more complex example using application menu bar to provide better platform behavior
- Drag and Drop
- drag text between two labels
- drag leaf items in a tree
- define my own data transfer type
- define a second data transfer type that subclasses the first
- define a default operation (in this example, Copy)
- determine data types available (win32 only)
- determine data types available (motif only)
- make a dropped data type depend on a target item in table
- drag text between two StyledText widgets
- drag text within a StyledText widget (with drag image)
- detect drag in a custom control
- drag and drop a URL
- drag and drop text between SWT and Swing
- drag and drop an object with a custom data transfer type from SWT to AWT/Swing
반응형
'Program Language > JAVA' 카테고리의 다른 글
Java Object메모리 와 String Class고찰 (0) | 2011.08.02 |
---|---|
SWT Snippets : Accessibility.. (Updating..) (0) | 2011.07.15 |
SWT Snippets : ExpandBar.. (Updating..) (0) | 2011.07.15 |
SWT Snippets : Path.. (Updating..) (0) | 2011.07.15 |
SWT Snippets : TabFolder.. (Updating..) (0) | 2011.07.15 |
댓글