|
Java プラットフォーム 1.2 |
|||||||||
前 次 | フレームあり フレームなし |
JEditorPane を使用するパッケージ | |
javax.swing | 可能な限りすべてのプラットフォームで同じように機能する「軽量」コンポーネント (Java 言語全体で共通) のセットを提供します。 |
javax.swing.text | 編集可能/編集不能テキストコンポーネントを処理するクラスとインタフェースを提供します。 |
javax.swing.text.html | HTML テキストエディタを作成するための HTMLEditorKit クラスとサポートクラスを提供します。
|
javax.swing における JEditorPane の使用方法 |
javax.swing における JEditorPane のサブクラス | |
class |
JTextPane
グラフィックで表現される属性でマークアップできるテキストコンポーネントです。 |
型 JEditorPane のパラメータを持つ javax.swing におけるコンストラクタ | |
JEditorPane.AccessibleJEditorPane.JEditorPane.AccessibleJEditorPane()
|
|
JEditorPane.AccessibleJEditorPaneHTML.JEditorPane.AccessibleJEditorPaneHTML()
|
|
JEditorPane.JEditorPaneAccessibleHypertextSupport.JEditorPane.JEditorPaneAccessibleHypertextSupport()
ハイパーテキストドキュメントを 1 つ作成します。 |
javax.swing.text における JEditorPane の使用方法 |
JEditorPane を返す javax.swing.text におけるメソッド | |
protected JEditorPane |
StyledEditorKit.StyledTextAction.getEditor(ActionEvent e)
アクションのターゲットエディタを取得します。 |
型 JEditorPane のパラメータを持つ javax.swing.text におけるメソッド | |
void |
EditorKit.install(JEditorPane c)
キットを JEditorPane にインストールしている時に呼び出されます。 |
void |
EditorKit.deinstall(JEditorPane c)
キットを JEditorPane から削除している時に呼び出されます。 |
void |
StyledEditorKit.install(JEditorPane c)
キットが JEditorPane にインストールされているときに呼び出されます。 |
void |
StyledEditorKit.deinstall(JEditorPane c)
キットが JEditorPane から削除されているときに呼び出されます。 |
protected StyledDocument |
StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e)
エディタ区画に関連付けられているドキュメントを取得します。 |
protected StyledEditorKit |
StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e)
エディタ区画に関連付けられているエディタキットを取得します。 |
protected void |
StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor,
AttributeSet attr,
boolean replace)
指定された属性を文字コンテンツに適用します。 |
protected void |
StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor,
AttributeSet attr,
boolean replace)
指定された属性を段落に適用します。 |
javax.swing.text.html における JEditorPane の使用方法 |
型 JEditorPane のパラメータを持つ javax.swing.text.html におけるメソッド | |
void |
HTMLEditorKit.install(JEditorPane c)
キットが JEditorPane にインストールされるときに呼び出されます。 |
void |
HTMLEditorKit.deinstall(JEditorPane c)
キットが JEditorPane から削除されるときに呼び出されます。 |
protected void |
HTMLEditorKit.LinkController.activateLink(int pos,
JEditorPane html)
位置がリンクを表す場合は、対応する JEditorPane の linkActivated を呼び出します。 |
protected HTMLDocument |
HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e)
|
protected HTMLEditorKit |
HTMLEditorKit.HTMLTextAction.getHTMLEditorKit(JEditorPane e)
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor,
HTMLDocument doc,
int offset,
String html,
int popDepth,
int pushDepth,
HTML.Tag addTag)
HTMLEditorKit.insertHTML のためのカバーです。 |
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
境界に挿入するときに、このメソッドが呼び出されます。 |
|
Java プラットフォーム 1.2 |
|||||||||
前 次 | フレームあり フレームなし |