key binding事件,StyledText类 : 格式文本动作 « SWT « Java 教程

En
Java 教程
1. 语言基础
2. 数据类型
3. 操作符
4. 流程控制
5. 类定义
6. 开发相关
7. 反射
8. 正则表达式
9. 集合
10. 线
11. 文件
12. 泛型
13. 本土化
14. Swing
15. Swing事件
16. 二维图形
17. SWT
18. SWT 二维图形
19. 网络
20. 数据库
21. Hibernate
22. JPA
23. JSP
24. JSTL
25. Servlet
26. Web服务SOA
27. EJB3
28. Spring
29. PDF
30. 电子邮件
31. 基于J2ME
32. J2EE应用
33. XML
34. 设计模式
35. 日志
36. 安全
37. Apache工具
38. 蚂蚁编译
39. JUnit单元测试
Java
Java 教程 » SWT » 格式文本动作 
17. 44. 1. key binding事件,StyledText类
ConstantDescription
static int COLUMN_NEXTMoves the caret to the next column.
static int COLUMN_PREVIOUSMoves the caret to the previous column.
static int COPYCopies the currently selected text to the clipboard.
static int CUTCuts the currently selected text to the clipboard.
static int DELETE_NEXTDeletes the next character.
static int DELETE_PREVIOUSDeletes the previous character.
static int DELETE_WORD_NEXTDeletes the next word.
static int DELETE_WORD_PREVIOUSDeletes the previous word.
static int LINE_DOWNMoves the caret down one line.
static int LINE_ENDMoves the caret to the end of the current line.
static int LINE_STARTMoves the caret to the start of the current line.
static int LINE_UPMoves the caret up one line.
static int PAGE_DOWNMoves the caret down one page.
static int PAGE_UPMoves the caret up one page.
static int PASTEPastes the text from the clipboard to the current caret position.
static int SELECT_COLUMN_NEXTSelects the character in the next column and moves the caret to the next column.
static int SELECT_COLUMN_PREVIOUSSelects the character in the previous column and moves the caret to the previous column.
static int SELECT_LINE_DOWNMoves the caret down one line, selecting the text between the previous caret position and the new caret position.
static int SELECT_LINE_ENDMoves the caret to the end of the current line, selecting the text between the previous caret position and the new caret position.
static int SELECT_LINE_STARTMoves the caret to the start of the current line, selecting the text between the previous caret position and the new caret position.
static int SELECT_LINE_UPMoves the caret up one line, selecting the text between the previous caret position and the new caret position.
static int SELECT_PAGE_DOWNMoves the caret down one page, selecting the text between the previous caret position and the new caret position.
static int SELECT_PAGE_UPMoves the caret up one page, selecting the text between the previous caret position and the new caret position.
static int SELECT_TEXT_ENDMoves the caret to the end of the text, selecting the text between the previous caret position and the new caret position.
static int SELECT_TEXT_STARTMoves the caret to the start of the text, selecting the text between the previous caret position and the new caret position.
static int SELECT_WINDOW_ENDMoves the caret to the end of the text currently displayed in the window, selecting the text between the previous caret position and the new caret position.
static int SELECT_WINDOW_STARTMoves the caret to the start of the text currently displayed in the window, selecting the text between the previous caret position and the new caret position.
static int SELECT_WORD_NEXTMoves the caret to the next word, selecting the text between the previous caret position and the new caret position.
static int SELECT_WORD_PREVIOUSMoves the caret to the previous word, selecting the text between the previous caret position and the new caret position.
static int TEXT_ENDMoves the caret to the end of the text.
static int TEXT_STARTMoves the caret to the start of the text.
static int TOGGLE_OVERWRITEToggles the insert/overwrite flag.
static int WINDOW_ENDMoves the caret to the end of the text currently displayed in the window.
static int WINDOW_STARTMoves the caret to the start of the text currently displayed in the window.
static int WORD_NEXTMoves the caret to the next word.
static int WORD_PREVIOUSMoves the caret to the previous word.


17. 44. 格式文本动作
17. 44. 1. key binding事件,StyledText类
17. 44. 2. Get the action bound to Alt+EGet the action bound to Alt+E
17. 44. 3. Passing a modifier constant isn't necessaryPassing a modifier constant isn't necessary
17. 44. 4. 设置键盘绑定设置键盘绑定
17. 44. 5. 清除任何键盘操作清除任何键盘操作
www.java2java.com | Contact Us
Copyright 2010 - 2030 Java Source and Support. All rights reserved.
All other trademarks are property of their respective owners.