|
Java プラットフォーム 1.2 |
|||||||||
前 次 | フレームあり フレームなし |
EditorKit を使用するパッケージ | |
javax.swing | 可能な限りすべてのプラットフォームで同じように機能する「軽量」コンポーネント (Java 言語全体で共通) のセットを提供します。 |
javax.swing.plaf | 1 つのインタフェースおよび多くの抽象クラスを提供しており、Swing は、プラグイン可能な Look & Feel 機能を実現するためにこれらのクラスを利用します。 |
javax.swing.plaf.basic | Basic 仕様 Look & Feel に従って作成されたユーザインタフェースオブジェクトを提供します。 |
javax.swing.plaf.multi | 多重 Look & Feel を利用すると、デフォルトの Look & Feel に補助的な Look & Feel を結合できます。 |
javax.swing.text | 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 |
javax.swing.text.html | HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。
|
javax.swing.text.rtf | Rich-Text-Format テキストエディタを作成するためのクラス (RTFEditorKit) を提供します。 |
javax.swing における EditorKit の使用方法 |
EditorKit を返す javax.swing におけるメソッド | |
protected EditorKit |
JEditorPane.createDefaultEditorKit()
コンポーネントが初めて作成されたときに、デフォルトのエディタキット (PlainEditorKit) を作成します。 |
EditorKit |
JEditorPane.getEditorKit()
コンテンツの処理のために現在インストールされているキットを取得します。 |
EditorKit |
JEditorPane.getEditorKitForContentType(String type)
指定されたコンテンツタイプで使用するエディタキットを取得します。 |
static EditorKit |
JEditorPane.createEditorKitForContentType(String type)
デフォルトのエディタキットのレジストリから、指定されたコンテンツタイプのハンドラを作成します。 |
protected EditorKit |
JTextPane.createDefaultEditorKit()
デフォルトで使う EditorKit を作成します。 |
型 EditorKit のパラメータを持つ javax.swing におけるメソッド | |
void |
JEditorPane.setEditorKit(EditorKit kit)
コンテンツの処理のために現在インストールされているキットを設定します。 |
void |
JEditorPane.setEditorKitForContentType(String type,
EditorKit k)
指定されたコンテンツタイプで使用できるようにエディタキットを直接設定します。 |
void |
JTextPane.setEditorKit(EditorKit kit)
コンテンツを処理するために現在インストールされているキットを設定します。 |
javax.swing.plaf における EditorKit の使用方法 |
EditorKit を返す javax.swing.plaf におけるメソッド | |
abstract EditorKit |
TextUI.getEditorKit(JTextComponent t)
編集中のドキュメントのタイプで使用するポリシーを設定するサービスのバインディングを取得します。 |
javax.swing.plaf.basic における EditorKit の使用方法 |
EditorKit を返す javax.swing.plaf.basic におけるメソッド | |
EditorKit |
BasicTextUI.getEditorKit(JTextComponent tc)
UI の EditorKit を取得します。 |
EditorKit |
BasicEditorPaneUI.getEditorKit(JTextComponent tc)
UI が使う EditorKit を取得します。 |
EditorKit |
BasicTextPaneUI.getEditorKit(JTextComponent tc)
UI の EditorKit を取得します。 |
javax.swing.plaf.multi における EditorKit の使用方法 |
EditorKit を返す javax.swing.plaf.multi におけるメソッド | |
EditorKit |
MultiTextUI.getEditorKit(JTextComponent a)
この MultiUI が扱う各 UI で、getEditorKit を呼び出します。 |
javax.swing.text における EditorKit の使用方法 |
javax.swing.text における EditorKit のサブクラス | |
class |
DefaultEditorKit
特定のタイプのテキストドキュメントに対して適切なテキストエディタとして機能するために、テキストコンポーネントが必要とするもののセットです。 |
class |
StyledEditorKit
特定のタイプのテキストドキュメントに対して適切なエディタとして機能するために、テキストコンポーネントが必要とするもののセットです。 |
javax.swing.text.html における EditorKit の使用方法 |
javax.swing.text.html における EditorKit のサブクラス | |
class |
HTMLEditorKit
Swing の JEditorPane テキストコンポーネントは、EditorKit と呼ばれるプラグイン機構により、さまざまな種類のコンテンツをサポートしています。 |
javax.swing.text.rtf における EditorKit の使用方法 |
javax.swing.text.rtf における EditorKit のサブクラス | |
class |
RTFEditorKit
RTF 編集機能のデフォルトの実装です。 |
|
Java プラットフォーム 1.2 |
|||||||||
前 次 | フレームあり フレームなし |