|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Object
|
+--javax.swing.text.EditorKit
|
+--javax.swing.text.DefaultEditorKit
|
+--javax.swing.text.StyledEditorKit
|
+--javax.swing.text.rtf.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 Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.