站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.text.EditorKit - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
javax.swing.text.EditorKit

Packages that use EditorKit
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.text.html Provides the class HTMLEditorKit and supporting classes for creating HTML text editors. 
javax.swing.text.rtf Provides a class (RTFEditorKit) for creating Rich-Text-Format text editors. 
 

Uses of EditorKit in javax.swing
 

Methods in javax.swing that return EditorKit
protected  EditorKit JEditorPane.createDefaultEditorKit()
          Creates the default editor kit (PlainEditorKit) for when the component is first created.
 EditorKit JEditorPane.getEditorKit()
          Fetches the currently installed kit for handling content.
 EditorKit JEditorPane.getEditorKitForContentType(String type)
          Fetches the editor kit to use for the given type of content.
static EditorKit JEditorPane.createEditorKitForContentType(String type)
          Create a handler for the given type from the default registry of editor kits.
protected  EditorKit JTextPane.createDefaultEditorKit()
          Creates the EditorKit to use by default.
 

Methods in javax.swing with parameters of type EditorKit
 void JEditorPane.setEditorKit(EditorKit kit)
          Sets the currently installed kit for handling content.
 void JEditorPane.setEditorKitForContentType(String type, EditorKit k)
          Directly set the editor kit to use for the given type.
 void JTextPane.setEditorKit(EditorKit kit)
          Sets the currently installed kit for handling content.
 

Uses of EditorKit in javax.swing.plaf
 

Methods in javax.swing.plaf that return EditorKit
abstract  EditorKit TextUI.getEditorKit(JTextComponent t)
          Fetches the binding of services that set a policy for the type of document being edited.
 

Uses of EditorKit in javax.swing.plaf.basic
 

Methods in javax.swing.plaf.basic that return EditorKit
 EditorKit BasicTextUI.getEditorKit(JTextComponent tc)
          Fetches the EditorKit for the UI.
 EditorKit BasicEditorPaneUI.getEditorKit(JTextComponent tc)
          Fetches the EditorKit for the UI.
 EditorKit BasicTextPaneUI.getEditorKit(JTextComponent tc)
          Fetches the EditorKit for the UI.
 

Uses of EditorKit in javax.swing.plaf.multi
 

Methods in javax.swing.plaf.multi that return EditorKit
 EditorKit MultiTextUI.getEditorKit(JTextComponent a)
          Call getEditorKit on each UI handled by this MultiUI.
 

Uses of EditorKit in javax.swing.text
 

Subclasses of EditorKit in javax.swing.text
 class DefaultEditorKit
          This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.
 class StyledEditorKit
          This is the set of things needed by a text component to be a reasonably functioning editor for some type of text document.
 

Uses of EditorKit in javax.swing.text.html
 

Subclasses of EditorKit in javax.swing.text.html
 class HTMLEditorKit
          The Swing JEditorPane text component supports different kinds of content via a plug-in mechanism called an EditorKit.
 

Uses of EditorKit in javax.swing.text.rtf
 

Subclasses of EditorKit in javax.swing.text.rtf
 class RTFEditorKit
          This is the default implementation of RTF editing functionality.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.