インタフェース
javax.swing.text.MutableAttributeSetの使用
-
MutableAttributeSetを使用しているパッケージ パッケージ 説明 javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。javax.swing.text 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。javax.swing.text.html HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。 -
-
javax.swingでのMutableAttributeSetの使用
MutableAttributeSetを返すjavax.swing内のメソッド 修飾子と型 メソッド 説明 MutableAttributeSetJTextPane. getInputAttributes()ペインの入力属性を返します。 -
javax.swing.textでのMutableAttributeSetの使用
javax.swing.text内のMutableAttributeSetのサブインタフェース 修飾子と型 インタフェース 説明 interfaceStyleドキュメント内の要素に関連した属性のコレクションです。MutableAttributeSetを実装しているjavax.swing.text内のクラス 修飾子と型 クラス 説明 classAbstractDocument.AbstractElement要素の抽象部分を実装します。classAbstractDocument.BranchElementほかの要素を含む複合要素を実装します。classAbstractDocument.LeafElementある種のコンテンツを直接表す要素を実装します。protected classDefaultStyledDocument.SectionElementドキュメントのデフォルト・ルート要素で、含まれる段落や行をマッピングします。classSimpleAttributeSetハッシュ・テーブルを使用する、MutableAttributeSetの直接の実装です。classStyleContext.NamedStyle通常、文字および段落の書式を表すために使用される属性のコレクションです。MutableAttributeSetを返すjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 protected MutableAttributeSetStyleContext. createLargeAttributeSet(AttributeSet a)メモリー効率より処理時間を優先する、大きいサイズの属性セットを作成します。MutableAttributeSetStyledEditorKit. getInputAttributes()ペインの入力属性を返します。MutableAttributeSet型のパラメータを持つjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 protected voidStyledEditorKit. createInputAttributes(Element element, MutableAttributeSet set)elementのAttributeSet内のキーと値のペアをsetにコピーします。voidStyleContext. readAttributes(ObjectInputStream in, MutableAttributeSet a)属性を読み込むコンテキスト固有の処理です。static voidStyleContext. readAttributeSet(ObjectInputStream in, MutableAttributeSet a)指定されたオブジェクト入力ストリームから、writeAttributeSetで以前に書き込まれている属性セットを読み込みます。static voidStyleConstants. setAlignment(MutableAttributeSet a, int align)配置方法を設定します。static voidStyleConstants. setBackground(MutableAttributeSet a, Color fg)バックグラウンド・カラーを設定します。static voidStyleConstants. setBidiLevel(MutableAttributeSet a, int o)BIDIレベルを設定します。static voidStyleConstants. setBold(MutableAttributeSet a, boolean b)ボールド属性を設定します。static voidStyleConstants. setComponent(MutableAttributeSet a, Component c)コンポーネント属性を設定します。static voidStyleConstants. setFirstLineIndent(MutableAttributeSet a, float i)最初の行のインデントを設定します。static voidStyleConstants. setFontFamily(MutableAttributeSet a, String fam)フォントの属性を設定します。static voidStyleConstants. setFontSize(MutableAttributeSet a, int s)フォント・サイズの属性を設定します。static voidStyleConstants. setForeground(MutableAttributeSet a, Color fg)フォアグラウンド・カラーを設定します。static voidStyleConstants. setIcon(MutableAttributeSet a, Icon c)アイコンの属性を設定します。static voidStyleConstants. setItalic(MutableAttributeSet a, boolean b)イタリック属性を設定します。static voidStyleConstants. setLeftIndent(MutableAttributeSet a, float i)左インデントを設定します。static voidStyleConstants. setLineSpacing(MutableAttributeSet a, float i)行間隔を設定します。static voidStyleConstants. setRightIndent(MutableAttributeSet a, float i)右インデントを設定します。static voidStyleConstants. setSpaceAbove(MutableAttributeSet a, float i)上のスペースを設定します。static voidStyleConstants. setSpaceBelow(MutableAttributeSet a, float i)下のスペースを設定します。static voidStyleConstants. setStrikeThrough(MutableAttributeSet a, boolean b)取消し線属性を設定します。static voidStyleConstants. setSubscript(MutableAttributeSet a, boolean b)下付き文字属性を設定します。static voidStyleConstants. setSuperscript(MutableAttributeSet a, boolean b)上付き文字属性を設定します。static voidStyleConstants. setTabSet(MutableAttributeSet a, TabSet tabs)タブ・セットを設定します。static voidStyleConstants. setUnderline(MutableAttributeSet a, boolean b)下線属性を設定します。 -
javax.swing.text.htmlでのMutableAttributeSetの使用
MutableAttributeSetを実装しているjavax.swing.text.html内のクラス 修飾子と型 クラス 説明 classHTMLDocument.BlockElementHTMLの構造ブロックを表す要素です。classHTMLDocument.RunElementHTML文字レベル属性のセットが割り当てられているテキストのチャンクを表す要素です。MutableAttributeSetとして宣言されているjavax.swing.text.html内のフィールド 修飾子と型 フィールド 説明 protected MutableAttributeSetHTMLDocument.HTMLReader. charAttr現在の文字属性セット。MutableAttributeSetを返すjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 protected MutableAttributeSetStyleSheet. createLargeAttributeSet(AttributeSet a)メモリー効率より処理時間を優先する、大きいサイズの属性セットを作成します。MutableAttributeSetHTMLEditorKit. getInputAttributes()書式付き編集アクションに使用される入力属性を返します。MutableAttributeSet型のパラメータを持つjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 voidStyleSheet. addCSSAttribute(MutableAttributeSet attr, CSS.Attribute key, String value)指定されたセットにCSS属性を追加します。booleanStyleSheet. addCSSAttributeFromHTML(MutableAttributeSet attr, CSS.Attribute key, String value)指定されたセットにCSS属性を追加します。protected voidHTMLDocument.HTMLReader. addSpecialElement(HTML.Tag t, MutableAttributeSet a)基本的に属性セット全体で指定されているコンテンツを追加します。protected voidHTMLDocument.HTMLReader. blockOpen(HTML.Tag t, MutableAttributeSet attr)解析バッファに命令を追加して、指定した属性を持つブロック要素を生成します。protected voidHTMLEditorKit. createInputAttributes(Element element, MutableAttributeSet set)elementのAttributeSet内のキーと値のペアをsetにコピーします。voidHTMLDocument.HTMLReader. handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)パーサーからのコールバックです。voidHTMLEditorKit.ParserCallback. handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)パーサーからのコールバックです。voidHTMLDocument.HTMLReader. handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)パーサーからのコールバックです。voidHTMLEditorKit.ParserCallback. handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)パーサーからのコールバックです。voidHTMLDocument.HTMLReader.TagAction. start(HTML.Tag t, MutableAttributeSet a)開始タグが見つかり、この種のタグのためにアクションが登録されていれば、呼び出されます。
-