クラス
javax.swing.JEditorPaneの使用
- 
JEditorPaneを使用しているパッケージ パッケージ 説明 javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する軽量(Java共通言語)コンポーネントのセットを提供します。javax.swing.text 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。javax.swing.text.html HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。
- 
- 
javax.swingでのJEditorPaneの使用javax.swing内のJEditorPaneのサブクラス 修飾子と型 クラス 説明 classJTextPaneグラフィックで表現される属性でマークアップできるテキスト・コンポーネントです。
- 
javax.swing.textでのJEditorPaneの使用JEditorPaneを返すjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 protected JEditorPaneStyledEditorKit.StyledTextAction. getEditor(ActionEvent e)アクションのターゲット・エディタを取得します。JEditorPane型のパラメータを持つjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 voidEditorKit. deinstall(JEditorPane c)キットがJEditorPaneから削除されているときに呼び出されます。voidStyledEditorKit. deinstall(JEditorPane c)キットがJEditorPaneから削除されているときに呼び出されます。protected StyledDocumentStyledEditorKit.StyledTextAction. getStyledDocument(JEditorPane e)このエディタ・ペインに関連したドキュメントを取得します。protected StyledEditorKitStyledEditorKit.StyledTextAction. getStyledEditorKit(JEditorPane e)このエディタ・ペインに関連したエディタ・キットを取得します。voidEditorKit. install(JEditorPane c)キットがJEditorPaneにインストールされるときに呼び出されます。voidStyledEditorKit. install(JEditorPane c)キットがJEditorPaneにインストールされているときに呼び出されます。protected voidStyledEditorKit.StyledTextAction. setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace)指定された属性を文字コンテンツに適用します。protected voidStyledEditorKit.StyledTextAction. setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace)指定された属性を段落に適用します。
- 
javax.swing.text.htmlでのJEditorPaneの使用JEditorPane型のパラメータを持つjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 protected voidHTMLEditorKit.LinkController. activateLink(int pos, JEditorPane editor)指定された位置がリンクを表す場合は、対応するJEditorPaneのlinkActivatedを呼び出します。voidHTMLEditorKit. deinstall(JEditorPane c)キットがJEditorPaneから削除されているときに呼び出されます。protected HTMLDocumentHTMLEditorKit.HTMLTextAction. getHTMLDocument(JEditorPane e)protected HTMLEditorKitHTMLEditorKit.HTMLTextAction. getHTMLEditorKit(JEditorPane e)protected voidHTMLEditorKit.InsertHTMLTextAction. insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)境界に挿入するときに呼び出されます。protected voidHTMLEditorKit.InsertHTMLTextAction. insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)非推奨。Java 2プラットフォームv1.3以降は、insertAtBoundaryを使用してください。protected voidHTMLEditorKit.InsertHTMLTextAction. insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)HTMLEditorKit.insertHTMLのためのカバーです。voidHTMLEditorKit. install(JEditorPane c)キットがJEditorPaneにインストールされるときに呼び出されます。
 
-