| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 MutableAttributeSet 的软件包 | |
|---|---|
| javax.swing | 提供一组“轻量级”(全部是 Java 语言)组件,尽量让这些组件在所有平台上的工作方式都相同。 | 
| javax.swing.text | 提供类 HTMLEditorKit和创建 HTML 文本编辑器的支持类。 | 
| javax.swing.text.html | 提供类 HTMLEditorKit和创建 HTML 文本编辑器的支持类。 | 
| javax.swing 中 MutableAttributeSet 的使用 | 
|---|
| 返回 MutableAttributeSet 的 javax.swing 中的方法 | |
|---|---|
|  MutableAttributeSet | JTextPane.getInputAttributes()获取窗格的输入属性。 | 
| javax.swing.text 中 MutableAttributeSet 的使用 | 
|---|
| javax.swing.text 中 MutableAttributeSet 的子接口 | |
|---|---|
|  interface | Style与文档中某个元素相关的属性集合。 | 
| 实现 MutableAttributeSet 的 javax.swing.text 中的类 | |
|---|---|
|  class | AbstractDocument.AbstractElement实现元素的抽象部分。 | 
|  class | AbstractDocument.BranchElement实现一个包含其他元素的复合元素。 | 
|  class | AbstractDocument.LeafElement实现可直接表示某类内容的元素。 | 
| protected  class | DefaultStyledDocument.SectionElement文档的默认根元素... 与所包含的段落/行对应。 | 
|  class | SimpleAttributeSet使用哈希表的 MutableAttributeSet 的直接实现。 | 
|  class | StyleContext.NamedStyle通常用于表示字符和段落样式的属性集合。 | 
| 返回 MutableAttributeSet 的 javax.swing.text 中的方法 | |
|---|---|
| protected  MutableAttributeSet | StyleContext.createLargeAttributeSet(AttributeSet a)创建一个以空间来换取时间的大属性集合。 | 
|  MutableAttributeSet | StyledEditorKit.getInputAttributes()获取该窗格的输入属性。 | 
| 参数类型为 MutableAttributeSet 的 javax.swing.text 中的方法 | |
|---|---|
| protected  void | StyledEditorKit.createInputAttributes(Element element,
                      MutableAttributeSet set)将 element的 AttributeSet 键/值复制到set中。 | 
|  void | StyleContext.readAttributes(ObjectInputStream in,
               MutableAttributeSet a)读入属性的特定于上下文的处理。 | 
| static void | StyleContext.readAttributeSet(ObjectInputStream in,
                 MutableAttributeSet a)从以前通过 writeAttributeSet写出的给定对象输入流中读取一个属性集。 | 
| static void | StyleConstants.setAlignment(MutableAttributeSet a,
             int align)设置对齐方式。 | 
| static void | StyleConstants.setBackground(MutableAttributeSet a,
              Color fg)设置背景色。 | 
| static void | StyleConstants.setBidiLevel(MutableAttributeSet a,
             int o)设置 BidiLevel。 | 
| static void | StyleConstants.setBold(MutableAttributeSet a,
        boolean b)设置粗体属性。 | 
| static void | StyleConstants.setComponent(MutableAttributeSet a,
             Component c)设置组件属性。 | 
| static void | StyleConstants.setFirstLineIndent(MutableAttributeSet a,
                   float i)设置首行缩进。 | 
| static void | StyleConstants.setFontFamily(MutableAttributeSet a,
              String fam)设置字体属性。 | 
| static void | StyleConstants.setFontSize(MutableAttributeSet a,
            int s)设置字体大小属性。 | 
| static void | StyleConstants.setForeground(MutableAttributeSet a,
              Color fg)设置前景色。 | 
| static void | StyleConstants.setIcon(MutableAttributeSet a,
        Icon c)设置图标属性。 | 
| static void | StyleConstants.setItalic(MutableAttributeSet a,
          boolean b)设置斜体属性。 | 
| static void | StyleConstants.setLeftIndent(MutableAttributeSet a,
              float i)设置左边缩进。 | 
| static void | StyleConstants.setLineSpacing(MutableAttributeSet a,
               float i)设置行间距。 | 
| static void | StyleConstants.setRightIndent(MutableAttributeSet a,
               float i)设置右边缩进。 | 
| static void | StyleConstants.setSpaceAbove(MutableAttributeSet a,
              float i)设置上部空间。 | 
| static void | StyleConstants.setSpaceBelow(MutableAttributeSet a,
              float i)设置下部空间。 | 
| static void | StyleConstants.setStrikeThrough(MutableAttributeSet a,
                 boolean b)设置删除线属性。 | 
| static void | StyleConstants.setSubscript(MutableAttributeSet a,
             boolean b)设置下标属性。 | 
| static void | StyleConstants.setSuperscript(MutableAttributeSet a,
               boolean b)设置上标属性。 | 
| static void | StyleConstants.setTabSet(MutableAttributeSet a,
          TabSet tabs)设置 TabSet。 | 
| static void | StyleConstants.setUnderline(MutableAttributeSet a,
             boolean b)设置下标属性。 | 
| javax.swing.text.html 中 MutableAttributeSet 的使用 | 
|---|
| 实现 MutableAttributeSet 的 javax.swing.text.html 中的类 | |
|---|---|
|  class | HTMLDocument.BlockElement表示结构性 HTML 块 的元素。 | 
|  class | HTMLDocument.RunElement表示文本块的元素,该文本块具有一个分配给它的 HTML 字符级的属性集。 | 
| 声明为 MutableAttributeSet 的 javax.swing.text.html 中的字段 | |
|---|---|
| protected  MutableAttributeSet | HTMLDocument.HTMLReader.charAttr | 
| 返回 MutableAttributeSet 的 javax.swing.text.html 中的方法 | |
|---|---|
| protected  MutableAttributeSet | StyleSheet.createLargeAttributeSet(AttributeSet a)创建一个以空间来换取时间的大属性集合。 | 
|  MutableAttributeSet | HTMLEditorKit.getInputAttributes()获取该样式编辑动作的输入属性。 | 
| 参数类型为 MutableAttributeSet 的 javax.swing.text.html 中的方法 | |
|---|---|
|  void | StyleSheet.addCSSAttribute(MutableAttributeSet attr,
                CSS.Attribute key,
                String value)将 CSS 属性添加到给定的集合。 | 
|  boolean | StyleSheet.addCSSAttributeFromHTML(MutableAttributeSet attr,
                        CSS.Attribute key,
                        String value)将 CSS 属性添加到给定的集合。 | 
| protected  void | HTMLDocument.HTMLReader.addSpecialElement(HTML.Tag t,
                  MutableAttributeSet a)添加基本上完全是在属性集中指定的内容。 | 
| protected  void | HTMLDocument.HTMLReader.blockOpen(HTML.Tag t,
          MutableAttributeSet attr)向解析器缓冲区添加一条指令,以创建具有给定属性的块元素。 | 
| protected  void | HTMLEditorKit.createInputAttributes(Element element,
                      MutableAttributeSet set)将 element的 AttributeSet 键/值复制到set中。 | 
|  void | HTMLDocument.HTMLReader.handleSimpleTag(HTML.Tag t,
                MutableAttributeSet a,
                int pos)从解析器回调。 | 
|  void | HTMLEditorKit.ParserCallback.handleSimpleTag(HTML.Tag t,
                MutableAttributeSet a,
                int pos) | 
|  void | HTMLDocument.HTMLReader.handleStartTag(HTML.Tag t,
               MutableAttributeSet a,
               int pos)从解析器回调。 | 
|  void | HTMLEditorKit.ParserCallback.handleStartTag(HTML.Tag t,
               MutableAttributeSet a,
               int pos) | 
|  void | HTMLDocument.HTMLReader.TagAction.start(HTML.Tag t,
      MutableAttributeSet a)当发现此动作所注册的标记类型的开始标记时调用。 | 
|  void | HTMLDocument.HTMLReader.BlockAction.start(HTML.Tag t,
      MutableAttributeSet attr) | 
|  void | HTMLDocument.HTMLReader.ParagraphAction.start(HTML.Tag t,
      MutableAttributeSet a) | 
|  void | HTMLDocument.HTMLReader.SpecialAction.start(HTML.Tag t,
      MutableAttributeSet a) | 
|  void | HTMLDocument.HTMLReader.IsindexAction.start(HTML.Tag t,
      MutableAttributeSet a) | 
|  void | HTMLDocument.HTMLReader.HiddenAction.start(HTML.Tag t,
      MutableAttributeSet a) | 
|  void | HTMLDocument.HTMLReader.PreAction.start(HTML.Tag t,
      MutableAttributeSet attr) | 
|  void | HTMLDocument.HTMLReader.CharacterAction.start(HTML.Tag t,
      MutableAttributeSet attr) | 
|  void | HTMLDocument.HTMLReader.FormAction.start(HTML.Tag t,
      MutableAttributeSet attr) | 
| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。