クラス
javax.swing.JEditorPaneの使用
JEditorPaneを使用するパッケージ
パッケージ
説明
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
HTMLテキスト・エディタを作成するためのクラス
HTMLEditorKitとサポート・クラスを提供します。- 
javax.swingでのJEditorPaneの使用javax.swingのJEditorPaneのサブクラス
- 
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にインストールされるときに呼び出されます。