Uses of Interface
javax.swing.text.Style
-
Packages that use Style 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit和支持类创建HTML文本编辑器。 -
-
Uses of Style in javax.swing
Methods in javax.swing that return Style Modifier and Type 方法 描述 StyleJTextPane. addStyle(String nm, Style parent)在逻辑样式层次结构中添加新样式。StyleJTextPane. getLogicalStyle()获取分配给由插入符号的当前位置表示的段落的逻辑样式,或null。StyleJTextPane. getStyle(String nm)null以前添加的名称非null样式。Methods in javax.swing with parameters of type Style Modifier and Type 方法 描述 StyleJTextPane. addStyle(String nm, Style parent)在逻辑样式层次结构中添加新样式。voidJTextPane. setLogicalStyle(Style s)设置用于当前插入符位置的段落的逻辑样式。 -
Uses of Style in javax.swing.text
Classes in javax.swing.text that implement Style Modifier and Type Class 描述 classStyleContext.NamedStyle属性集合,通常用于表示字符和段落样式。Methods in javax.swing.text that return Style Modifier and Type 方法 描述 StyleDefaultStyledDocument. addStyle(String nm, Style parent)在逻辑样式层次结构中添加新样式。StyleStyleContext. addStyle(String nm, Style parent)在样式层次结构中添加新样式。StyleStyledDocument. addStyle(String nm, Style parent)在逻辑样式层次结构中添加新样式。StyleDefaultStyledDocument. getLogicalStyle(int p)获取分配给由给定位置表示的段落的逻辑风格。StyleStyledDocument. getLogicalStyle(int p)获取段落中给定位置的逻辑风格。StyleDefaultStyledDocument. getStyle(String nm)获取先前添加的命名样式。StyleStyleContext. getStyle(String nm)获取先前添加到文档的命名样式StyleStyledDocument. getStyle(String nm)获取先前添加的命名样式。Methods in javax.swing.text with parameters of type Style Modifier and Type 方法 描述 StyleDefaultStyledDocument. addStyle(String nm, Style parent)在逻辑样式层次结构中添加新样式。StyleStyleContext. addStyle(String nm, Style parent)在样式层次结构中添加新样式。StyleStyledDocument. addStyle(String nm, Style parent)在逻辑样式层次结构中添加新样式。voidDefaultStyledDocument. setLogicalStyle(int pos, Style s)设置用于给定位置的段落的逻辑样式。voidStyledDocument. setLogicalStyle(int pos, Style s)设置用于给定位置的段落的逻辑样式。protected voidDefaultStyledDocument. styleChanged(Style style)当本文档的任何样式发生变化时调用。Constructors in javax.swing.text with parameters of type Style Constructor 描述 NamedStyle(String name, Style parent)创建一个新的命名样式。NamedStyle(Style parent)创建一个新的命名样式。 -
Uses of Style in javax.swing.text.html
Methods in javax.swing.text.html that return Style Modifier and Type 方法 描述 StyleStyleSheet. getRule(String selector)获取与字符串形式给出的选择器最匹配的规则。StyleStyleSheet. getRule(HTML.Tag t, Element e)获取用于呈现给定类型的HTML标签的样式。
-