类的用途
javax.swing.text.StyledEditorKit.StyledTextAction
包
描述
提供处理可编辑和不可编辑文本组件的类和接口。
提供用于创建 HTML 文本编辑器的类
HTMLEditorKit 和支持类。
-
StyledEditorKit.StyledTextAction 在 javax.swing.text 中的用法
修饰符和类型类描述static class设置段落对齐的操作。static class切换粗体属性的操作。static class在关联的 JEditorPane 中设置字体系列的操作。static class在关联的 JEditorPane 中设置字体大小的操作。static class设置前景色的动作。static class切换斜体属性的动作。static class切换下划线属性的动作。 -
StyledEditorKit.StyledTextAction 在 javax.swing.text.html 中的用法
修饰符和类型类描述static class一个抽象的 Action 提供了一些方便的方法,这些方法可能对将 HTML 插入到现有文档中很有用。static classInsertHTMLTextAction 可用于将任意 HTML 字符串插入现有的 HTML 文档中。