|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
javax.swing.text.rtf.RTFEditorKit
public class RTFEditorKit
RTF 編集機能のデフォルトの実装です。RTF サポートは Swing チームにより作成されたものではありません。将来、RTF サポートに対応できるようにしていく予定です。
| 入れ子のクラスの概要 |
|---|
| フィールドの概要 |
|---|
| コンストラクタの概要 | |
|---|---|
RTFEditorKit()
RTFEditorKit を構築します。 |
|
| メソッドの概要 | |
|---|---|
String |
getContentType()
このキットがサポートする MIME タイプのデータを返します。 |
void |
read(InputStream in,
Document doc,
int pos)
このタイプのコンテンツハンドラに適合した書式であることが要求されるストリームに、コンテンツを挿入します。 |
void |
read(Reader in,
Document doc,
int pos)
指定されたストリームからコンテンツを挿入します。 |
void |
write(OutputStream out,
Document doc,
int pos,
int len)
このタイプのコンテンツハンドラに適合した書式であることが要求されるストリームに、ドキュメントのコンテンツを適した形式でストリームに挿入します。 |
void |
write(Writer out,
Document doc,
int pos,
int len)
ドキュメントのコンテンツをプレーンテキストとしてストリームに書き込みます。 |
| クラス javax.swing.text.StyledEditorKit から継承されたメソッド |
|---|
clone, createDefaultDocument, createInputAttributes, deinstall, getActions, getCharacterAttributeRun, getInputAttributes, getViewFactory, install |
| クラス javax.swing.text.DefaultEditorKit から継承されたメソッド |
|---|
createCaret |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public RTFEditorKit()
| メソッドの詳細 |
|---|
public String getContentType()
text/rtf タイプをサポートします。
DefaultEditorKit 内の getContentType
public void read(InputStream in,
Document doc,
int pos)
throws IOException,
BadLocationException
DefaultEditorKit 内の readin - 読み込み元のストリームdoc - 挿入先pos - コンテンツを配置するドキュメント内の位置
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
public void write(OutputStream out,
Document doc,
int pos,
int len)
throws IOException,
BadLocationException
DefaultEditorKit 内の writeout - 書き込み先のストリームdoc - 書き込み元pos - コンテンツを取得するドキュメント内の位置len - 書き出す量
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
public void read(Reader in,
Document doc,
int pos)
throws IOException,
BadLocationException
DefaultEditorKit 内の readin - 読み込み元のストリームdoc - 挿入先pos - コンテンツを配置するドキュメント内の位置
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
public void write(Writer out,
Document doc,
int pos,
int len)
throws IOException,
BadLocationException
DefaultEditorKit 内の writeout - 書き込み先のストリームdoc - 書き込み元pos - コンテンツを取得するドキュメント内の位置len - 書き出す量
IOException - 入出力エラーが発生した場合
BadLocationException - pos がドキュメント内の無効な位置を示す場合
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。