インタフェース
javax.swing.text.MutableAttributeSetの使用
MutableAttributeSetを使用するパッケージ
パッケージ
説明
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
HTMLテキスト・エディタを作成するためのクラス
HTMLEditorKitとサポート・クラスを提供します。-
javax.swingでのMutableAttributeSetの使用
MutableAttributeSetを返すjavax.swingのメソッド -
javax.swing.textでのMutableAttributeSetの使用
javax.swing.textのMutableAttributeSetのサブインタフェースMutableAttributeSetを実装しているjavax.swing.textのクラス修飾子と型クラス説明class要素の抽象部分を実装します。classほかの要素を含む複合要素を実装します。classある種のコンテンツを直接表す要素を実装します。protected classドキュメントのデフォルト・ルート要素で、含まれる段落や行をマッピングします。classハッシュ・テーブルを使用する、MutableAttributeSetの直接の実装です。class通常、文字および段落の書式を表すために使用される属性のコレクションです。修飾子と型メソッド説明protected MutableAttributeSetStyleContext.createLargeAttributeSet(AttributeSet a)メモリー効率より処理時間を優先する、大きいサイズの属性セットを作成します。StyledEditorKit.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のクラス修飾子と型クラス説明classHTMLの構造ブロックを表す要素です。classHTML文字レベル属性のセットが割り当てられているテキストのチャンクを表す要素です。MutableAttributeSetとして宣言されたjavax.swing.text.htmlのフィールド修飾子と型メソッド説明protected MutableAttributeSetStyleSheet.createLargeAttributeSet(AttributeSet a)メモリー効率より処理時間を優先する、大きいサイズの属性セットを作成します。HTMLEditorKit.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)開始タグが見つかり、この種のタグのためにアクションが登録されていれば、呼び出されます。