JavaTM 2 Platform
Standard Ed. 6

类 javax.swing.text.StyledEditorKit.StyledTextAction
的使用

使用 StyledEditorKit.StyledTextAction 的软件包
javax.swing.text 提供类 HTMLEditorKit 和创建 HTML 文本编辑器的支持类。 
javax.swing.text.html 提供类 HTMLEditorKit 和创建 HTML 文本编辑器的支持类。 
 

javax.swing.textStyledEditorKit.StyledTextAction 的使用
 

javax.swing.textStyledEditorKit.StyledTextAction 的子类
static class StyledEditorKit.AlignmentAction
          设置段落对齐的操作。
static class StyledEditorKit.BoldAction
          切换粗体属性的操作。
static class StyledEditorKit.FontFamilyAction
          在相关的 JEditorPane 中设置字体系列的操作。
static class StyledEditorKit.FontSizeAction
          设置关联的 JEditorPane 中字体大小的操作。
static class StyledEditorKit.ForegroundAction
          设置前景色的操作。
static class StyledEditorKit.ItalicAction
          切换斜体属性的一种操作。
static class StyledEditorKit.UnderlineAction
          切换下划线属性的操作。
 

javax.swing.text.htmlStyledEditorKit.StyledTextAction 的使用
 

javax.swing.text.htmlStyledEditorKit.StyledTextAction 的子类
static class HTMLEditorKit.HTMLTextAction
          提供某些便捷方法的抽象 Action,这些便捷方法对于将 HTML 插入现有文档可能很有用。
static class HTMLEditorKit.InsertHTMLTextAction
          InsertHTMLTextAction 可用于将任意 HTML 字符串插入现有 HTML 文档。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only