インタフェース
javax.swing.text.AttributeSetの使用
AttributeSetを使用するパッケージ
パッケージ
説明
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
ユーザー・インタフェース・コンポーネントとそれらのコンポーネントへのアクセスを提供するユーザー補助テクノロジの間の規約を定義します。
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
HTMLテキスト・エディタを作成するためのクラス
HTMLEditorKitとサポート・クラスを提供します。-
java.awtでのAttributeSetの使用
AttributeSetを返すjava.awtのメソッド修飾子と型メソッド説明TextComponent.AccessibleAWTTextComponent.getCharacterAttribute(int i)インデックスで指定された文字のAttributeSetを返します。 -
javax.accessibilityでのAttributeSetの使用
AttributeSetとして宣言されているjavax.accessibility内のフィールドAttributeSetを返すjavax.accessibilityのメソッド型AttributeSetのパラメータを持つjavax.accessibilityのメソッド修飾子と型メソッド説明voidAccessibleEditableText.setAttributes(int startIndex, int endIndex, AttributeSet as)2つのインデックス間のテキストの属性を設定します。型AttributeSetのパラメータを持つjavax.accessibilityのコンストラクタ修飾子コンストラクタ説明AccessibleAttributeSequence(int start, int end, AttributeSet attr)指定されたパラメータを使用してAccessibleAttributeSequenceを構築します。 -
javax.swingでのAttributeSetの使用
AttributeSetを返すjavax.swingのメソッド修飾子と型メソッド説明AbstractButton.AccessibleAbstractButton.getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。JLabel.AccessibleJLabel.getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。JSpinner.AccessibleJSpinner.getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。ProgressMonitor.AccessibleProgressMonitor.getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。JTextPane.getCharacterAttributes()現在のキャレット位置で有効な文字属性がある場合はそれを取得します。ない場合はnullを返します。JTextPane.getParagraphAttributes()キャレット位置で有効な現在の段落属性がある場合はそれを取得します。ない場合はnullを返します。型AttributeSetのパラメータを持つjavax.swingのメソッド修飾子と型メソッド説明voidJSpinner.AccessibleJSpinner.setAttributes(int startIndex, int endIndex, AttributeSet as)2つのインデックス間のテキストの属性を設定します。voidJTextPane.setCharacterAttributes(AttributeSet attr, boolean replace)指定された属性を文字コンテンツに適用します。voidJTextPane.setParagraphAttributes(AttributeSet attr, boolean replace)指定された属性を段落に適用します。 -
javax.swing.textでのAttributeSetの使用
javax.swing.text内のAttributeSetのサブインタフェース修飾子と型インタフェース説明interface一意な属性を集めた可変コレクションのジェネリック・インタフェースです。interfaceドキュメント内の要素に関連した属性のコレクションです。AttributeSetを実装しているjavax.swing.text内のクラス修飾子と型クラス説明class要素の抽象部分を実装します。classほかの要素を含む複合要素を実装します。classある種のコンテンツを直接表す要素を実装します。protected classドキュメントのデフォルト・ルート要素で、含まれる段落や行をマッピングします。classハッシュ・テーブルを使用する、MutableAttributeSetの直接の実装です。class通常、文字および段落の書式を表すために使用される属性のコレクションです。classこのクラスは、少数の属性を配列として格納します。AttributeSetとして宣言されているjavax.swing.text内のフィールド修飾子と型フィールド説明protected AttributeSetDefaultStyledDocument.AttributeUndoableEdit.copy要素に含まれるAttributeSetのコピー。static AttributeSetSimpleAttributeSet.EMPTY空の属性セットです。protected AttributeSetDefaultStyledDocument.AttributeUndoableEdit.newAttributes追加のエントリを含むAttributeSetは、変更不可能でなければなりません!AttributeSetを返すjavax.swing.textのメソッド修飾子と型メソッド説明AbstractDocument.AttributeContext.addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。StyleContext.addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。AbstractDocument.AttributeContext.addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。StyleContext.addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。AbstractDocument.AbstractElement.copyAttributes()属性セットをコピーします。AttributeSet.copyAttributes()時間がたっても変化しないことが保証された属性セットを返します。SimpleAttributeSet.copyAttributes()属性のコピーを作成します。StyleContext.NamedStyle.copyAttributes()属性セットをコピーします。StyleContext.SmallAttributeSet.copyAttributes()属性セットをコピーします。AbstractDocument.AbstractElement.getAttributes()要素の属性を取得します。DefaultStyledDocument.ElementSpec.getAttributes()要素の属性を取得します。Element.getAttributes()この要素が保持する属性のコレクションを取得します。View.getAttributes()レンダリングするときに使用する属性を取得します。JTextComponent.AccessibleJTextComponent.getCharacterAttribute(int i)インデックスで指定された文字のAttributeSetを返します。AbstractDocument.AttributeContext.getEmptySet()空の属性セットを取得します。StyleContext.getEmptySet()空の属性セットを取得します。AbstractDocument.AbstractElement.getResolveParent()解釈処理側の親を返します。AttributeSet.getResolveParent()解釈処理側の親を返します。SimpleAttributeSet.getResolveParent()解釈処理側の親を返します。StyleContext.NamedStyle.getResolveParent()親から属性を取得します。StyleContext.SmallAttributeSet.getResolveParent()オーバーライドしない場合、解決する親のデフォルトはこの親要素になります。AbstractDocument.AttributeContext.removeAttribute(AttributeSet old, Object name)セットから属性を削除します。StyleContext.removeAttribute(AttributeSet old, Object name)セットから属性を削除します。AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。StyleContext.removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。StyleContext.removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。型AttributeSetのパラメータを持つjavax.swing.textのメソッド修飾子と型メソッド説明AbstractDocument.AttributeContext.addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。StyleContext.addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。voidAbstractDocument.AbstractElement.addAttributes(AttributeSet attr)属性セットを要素に追加します。AbstractDocument.AttributeContext.addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。voidMutableAttributeSet.addAttributes(AttributeSet attributes)指定された属性と値を持つことを除いて、これと同じ新しい属性セットを作成します。voidSimpleAttributeSet.addAttributes(AttributeSet attributes)属性セットをリストに追加します。StyleContext.addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。voidStyleContext.NamedStyle.addAttributes(AttributeSet attr)属性セットを要素に追加します。booleanAbstractDocument.AbstractElement.containsAttributes(AttributeSet attrs)要素にすべての属性が含まれているかどうかを判定します。booleanAttributeSet.containsAttributes(AttributeSet attributes)指定のセットに含まれる、値の等しい属性すべてをこのセットが定義する場合、trueを返します。booleanSimpleAttributeSet.containsAttributes(AttributeSet attributes)属性リストに指定されたすべての名前と値のペアがあるかどうかを判定します。booleanStyleContext.NamedStyle.containsAttributes(AttributeSet attrs)要素にすべての属性が含まれているかどうかを判定します。booleanStyleContext.SmallAttributeSet.containsAttributes(AttributeSet attrs)属性セットに、指定された属性がすべて含まれているかどうかを判定します。protected ElementAbstractDocument.createBranchElement(Element parent, AttributeSet a)ドキュメントの枝の要素を作成します。この要素には、ほかの要素(複数可)を含めることができます。protected MutableAttributeSetStyleContext.createLargeAttributeSet(AttributeSet a)メモリー効率より処理時間を優先する、大きいサイズの属性セットを作成します。protected ElementAbstractDocument.createLeafElement(Element parent, AttributeSet a, int p0, int p1)ドキュメントの葉の要素を作成します。protected StyleContext.SmallAttributeSetStyleContext.createSmallAttributeSet(AttributeSet a)共有可能でコンパクトな属性セットを作成します。static intStyleConstants.getAlignment(AttributeSet a)配置方法の設定を取得します。DefaultStyledDocument.getBackground(AttributeSet attr)属性セットからバックグラウンド・カラーを取得します。static ColorStyleConstants.getBackground(AttributeSet a)属性リストからバックグラウンド・カラーの設定を取得します。StyleContext.getBackground(AttributeSet attr)属性セットを取得してバックグラウンド・カラー指定に変換します。StyledDocument.getBackground(AttributeSet attr)属性セットを取得してバックグラウンド・カラー指定に変換します。static intStyleConstants.getBidiLevel(AttributeSet a)BIDIレベルの設定を取得します。static ComponentStyleConstants.getComponent(AttributeSet a)属性リストからコンポーネントの設定を返します。static floatStyleConstants.getFirstLineIndent(AttributeSet a)最初の行のインデント設定を取得します。DefaultStyledDocument.getFont(AttributeSet attr)属性セットからフォントを取得します。StyleContext.getFont(AttributeSet attr)属性セットからフォントを取得します。StyledDocument.getFont(AttributeSet attr)属性セットを引数として、フォント指定に変換します。static StringStyleConstants.getFontFamily(AttributeSet a)属性リストからフォント・ファミリの設定を取得します。static intStyleConstants.getFontSize(AttributeSet a)属性リストからフォント・サイズの設定を取得します。DefaultStyledDocument.getForeground(AttributeSet attr)属性セットからフォアグラウンド・カラーを取得します。static ColorStyleConstants.getForeground(AttributeSet a)属性リストからフォアグラウンド・カラーの設定を取得します。StyleContext.getForeground(AttributeSet attr)属性セットを取得してフォアグラウンド・カラー指定に変換します。StyledDocument.getForeground(AttributeSet attr)属性セットを取得してフォアグラウンド・カラー指定に変換します。static IconStyleConstants.getIcon(AttributeSet a)属性リストからアイコンの設定を返します。static floatStyleConstants.getLeftIndent(AttributeSet a)左インデントの設定を取得します。static floatStyleConstants.getLineSpacing(AttributeSet a)行間隔の設定を取得します。static floatStyleConstants.getRightIndent(AttributeSet a)右インデントの設定を取得します。static floatStyleConstants.getSpaceAbove(AttributeSet a)上のスペースの設定を取得します。static floatStyleConstants.getSpaceBelow(AttributeSet a)下のスペースの設定を取得します。static TabSetStyleConstants.getTabSet(AttributeSet a)タブ・セットを取得します。voidAbstractDocument.insertString(int offs, String str, AttributeSet a)ドキュメントに内容を挿入します。voidDocument.insertString(int offset, String str, AttributeSet a)コンテンツの文字列を挿入します。abstract voidDocumentFilter.FilterBypass.insertString(int offset, String string, AttributeSet attr)DocumentFilterをバイパスして、指定テキストを挿入します。voidDocumentFilter.insertString(DocumentFilter.FilterBypass fb, int offset, String string, AttributeSet attr)指定したDocumentにテキストを挿入する前に呼び出されます。voidPlainDocument.insertString(int offs, String str, AttributeSet a)ドキュメントに内容を挿入します。protected voidAbstractDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)ドキュメント構造をテキスト挿入の結果で更新します。protected voidDefaultStyledDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)ドキュメント構造をテキスト挿入の結果で更新します。protected voidPlainDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)ドキュメント構造をテキスト挿入の結果で更新します。static booleanStyleConstants.isBold(AttributeSet a)ボールド属性が設定されているかどうかを判定します。booleanAbstractDocument.AbstractElement.isEqual(AttributeSet attr)2つの属性セットが等しいかどうかを判定します。booleanAttributeSet.isEqual(AttributeSet attr)2つの属性セットが等しいかどうかを判定します。booleanSimpleAttributeSet.isEqual(AttributeSet attr)2つの属性セットを比較します。booleanStyleContext.NamedStyle.isEqual(AttributeSet attr)2つの属性セットが等しいかどうかを判定します。booleanStyleContext.SmallAttributeSet.isEqual(AttributeSet attr)2つの属性セットが等しいかどうかを判定します。static booleanStyleConstants.isItalic(AttributeSet a)イタリック属性が設定されているかどうかを判定します。static booleanStyleConstants.isStrikeThrough(AttributeSet a)取消し線属性が設定されているかどうかを判定します。static booleanStyleConstants.isSubscript(AttributeSet a)下付き文字属性が設定されているかどうかを判定します。static booleanStyleConstants.isSuperscript(AttributeSet a)上付き文字線属性が設定されているかどうかを判定します。static booleanStyleConstants.isUnderline(AttributeSet a)下線属性が設定されているかどうかを判定します。voidAbstractDocument.AttributeContext.reclaim(AttributeSet a)属性セットを再生します。voidStyleContext.reclaim(AttributeSet a)MutableAttributeSetの実装によって必要とされなくなったセットを返します。AbstractDocument.AttributeContext.removeAttribute(AttributeSet old, Object name)セットから属性を削除します。StyleContext.removeAttribute(AttributeSet old, Object name)セットから属性を削除します。voidAbstractDocument.AbstractElement.removeAttributes(AttributeSet attrs)要素の属性セットを削除します。AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AbstractDocument.AttributeContext.removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。voidMutableAttributeSet.removeAttributes(AttributeSet attributes)指定したnameを持つ属性セットを削除します。voidSimpleAttributeSet.removeAttributes(AttributeSet attributes)リストから属性セットを削除します。voidStyleContext.NamedStyle.removeAttributes(AttributeSet attrs)要素の属性セットを削除します。StyleContext.removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。StyleContext.removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。voidAbstractDocument.replace(int offset, int length, String text, AttributeSet attrs)offsetからoffset+lengthまでのテキスト領域を削除し、textに置き換えます。abstract voidDocumentFilter.FilterBypass.replace(int offset, int length, String string, AttributeSet attrs)offsetからoffset+lengthまでのテキスト領域を削除し、textに置き換えます。voidDocumentFilter.replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attrs)指定したDocumentでテキストの範囲を置き換える前に呼び出されます。voidJTextComponent.AccessibleJTextComponent.setAttributes(int startIndex, int endIndex, AttributeSet as)2つのインデックス間のテキストの属性を設定します。voidDefaultStyledDocument.setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)ドキュメントの一部に属性を設定します。voidStyledDocument.setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)ドキュメント内の指定された範囲の既存のコンテンツに使用されているコンテンツ要素属性を変更します。protected voidStyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace)指定された属性を文字コンテンツに適用します。voidDefaultStyledDocument.setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)段落に属性を設定します。voidStyledDocument.setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)段落の属性を設定します。protected voidStyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace)指定された属性を段落に適用します。protected voidCompositeView.setParagraphInsets(AttributeSet attr)指定された属性から選ばれた段落属性から、インセットを設定します。voidAbstractDocument.AbstractElement.setResolveParent(AttributeSet parent)解釈処理側の親を設定します。voidMutableAttributeSet.setResolveParent(AttributeSet parent)解釈処理側の親を設定します。voidSimpleAttributeSet.setResolveParent(AttributeSet parent)解釈処理側の親を設定します。voidStyleContext.NamedStyle.setResolveParent(AttributeSet parent)解釈処理側の親を設定します。protected voidAbstractWriter.writeAttributes(AttributeSet attr)属性セットを<name>=<value>のペアとして書き出します。voidStyleContext.writeAttributes(ObjectOutputStream out, AttributeSet a)属性を書き込むコンテキスト固有の処理です。static voidStyleContext.writeAttributeSet(ObjectOutputStream out, AttributeSet a)直列化のために、指定されたオブジェクト・ストリームに属性セットを書き込みます。型AttributeSetのパラメータを持つjavax.swing.textのコンストラクタ修飾子コンストラクタ説明AbstractElement(Element parent, AttributeSet a)新しいAbstractElementを作成します。AttributeUndoableEdit(Element element, AttributeSet newAttributes, boolean isReplacing)AttributeUndoableEditを構築します。BranchElement(Element parent, AttributeSet a)最初は子を含まない、複合要素を作成します。ElementSpec(AttributeSet a, short type)マークアップがドキュメントに格納されない場合の、マークアップに有効なコンストラクタです。ElementSpec(AttributeSet a, short type, char[] txt, int offs, int len)ドキュメントへのコンテンツとマークアップのバッチ入力のスペックを、外部的に作成するコンストラクタです。ElementSpec(AttributeSet a, short type, int len)データがすでに追加されているがlen情報が必要な場合に、ドキュメント内で解析を行うコンストラクタです。LeafElement(Element parent, AttributeSet a, int offs0, int offs1)ドキュメント内のコンテンツを表す(子を持たない)要素を作成します。SimpleAttributeSet(AttributeSet source)指定された属性セットに基づいて新しい属性セットを作成します。SmallAttributeSet(AttributeSet attrs)SmallAttributeSetを構築します。 -
javax.swing.text.htmlでのAttributeSetの使用
AttributeSetを実装しているjavax.swing.text.html内のクラス修飾子と型クラス説明classHTMLの構造ブロックを表す要素です。classHTML文字レベル属性のセットが割り当てられているテキストのチャンクを表す要素です。修飾子と型メソッド説明StyleSheet.addAttribute(AttributeSet old, Object key, Object value)指定されたセットに属性を追加し、その新しいセットを返します。StyleSheet.addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。BlockView.getAttributes()レンダリングするときに使用する属性を取得します。abstract AttributeSetHTMLDocument.Iterator.getAttributes()このタグの属性を返します。ImageView.getAttributes()レンダリングするときに使用する属性を取得します。InlineView.getAttributes()レンダリングするときに使用する属性を取得します。Option.getAttributes()このオプションに関連した属性を取得します。ParagraphView.getAttributes()レンダリングするときに使用する属性を取得します。StyleSheet.getDeclaration(String decl)CSS宣言を、CSS宣言を表す属性セットに変換します。HTMLDocument.BlockElement.getResolveParent()解釈処理側の親を返します。HTMLDocument.RunElement.getResolveParent()解釈処理側の親を返します。StyleSheet.getViewAttributes(View v)表示のためにビューで使用される属性セットを取得します。StyleSheet.removeAttribute(AttributeSet old, Object key)セットから属性を削除します。StyleSheet.removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。StyleSheet.removeAttributes(AttributeSet old, AttributeSet attrs)属性セットを削除します。StyleSheet.translateHTMLToCSS(AttributeSet htmlAttrSet)HTML属性のセットを、同等のCSS属性のセットに変換します。型AttributeSetのパラメータを持つjavax.swing.text.htmlのメソッド修飾子と型メソッド説明StyleSheet.addAttribute(AttributeSet old, Object key, Object value)指定されたセットに属性を追加し、その新しいセットを返します。StyleSheet.addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。protected voidHTMLWriter.closeOutUnwantedEmbeddedTags(AttributeSet attr)属性セットおよびタグ・ベクターに格納された各タグを検索します。protected ElementHTMLDocument.createBranchElement(Element parent, AttributeSet a)ドキュメントの枝の要素を作成します。この要素には、ほかの要素(複数可)を含めることができます。protected MutableAttributeSetStyleSheet.createLargeAttributeSet(AttributeSet a)メモリー効率より処理時間を優先する、大きいサイズの属性セットを作成します。protected ElementHTMLDocument.createLeafElement(Element parent, AttributeSet a, int p0, int p1)テキストを直接表す(子を持たない)ドキュメントの葉の要素を作成します。protected StyleContext.SmallAttributeSetStyleSheet.createSmallAttributeSet(AttributeSet a)共有可能でコンパクトな属性セットを作成します。StyleSheet.getBackground(AttributeSet a)属性セットを取得してバックグラウンド・カラー指定に変換します。StyleSheet.getBoxPainter(AttributeSet a)指定されたCSS属性のセットで使用するボックス・フォーマッタを取得します。StyleSheet.getFont(AttributeSet a)指定された属性セットで使用するフォントを取得します。StyleSheet.getForeground(AttributeSet a)属性セットを取得してフォアグラウンド・カラー指定に変換します。static intHTML.getIntegerAttributeValue(AttributeSet attr, HTML.Attribute key, int def)整数型の属性値を取得します。StyleSheet.getListPainter(AttributeSet a)指定されたCSS属性のセットで使用するリスト・フォーマッタを取得します。protected voidHTMLDocument.insertUpdate(AbstractDocument.DefaultDocumentEvent chng, AttributeSet attr)ドキュメント構造をテキスト挿入の結果で更新します。protected booleanHTMLWriter.isBlockTag(AttributeSet attr)要素に対応するHTMLタグがblockタグかどうかを判定します。protected booleanHTMLWriter.matchNameAttribute(AttributeSet attr, HTML.Tag tag)StyleConstants.NameAttributeがパラメータとして渡されるタグに等しい場合はtrueを返します。StyleSheet.removeAttribute(AttributeSet old, Object key)セットから属性を削除します。StyleSheet.removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。StyleSheet.removeAttributes(AttributeSet old, AttributeSet attrs)属性セットを削除します。protected voidHTMLWriter.selectContent(AttributeSet attr)SELECTフォーム要素のコンテンツを書き出します。voidHTMLDocument.setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)段落に属性を設定します。protected voidHTMLWriter.textAreaContent(AttributeSet attr)フォーム要素のTEXTAREAに格納されているテキストを書き出します。StyleSheet.translateHTMLToCSS(AttributeSet htmlAttrSet)HTML属性のセットを、同等のCSS属性のセットに変換します。protected voidHTMLWriter.writeAttributes(AttributeSet attr)属性セットを書き出します。protected voidMinimalHTMLWriter.writeAttributes(AttributeSet attr)StyleConstants.ParagraphConstants、StyleConstants.CharacterConstants、StyleConstants.FontConstants、StyleConstants.ColorConstantsの各型のすべての属性を書き出します。protected voidHTMLWriter.writeEmbeddedTags(AttributeSet attr)AttributeSetで組込みタグを検索してそれを書き出します。protected voidMinimalHTMLWriter.writeHTMLTags(AttributeSet attr)属性設定に基づいてテキストのボールド<b>、イタリック<i>、および<u>のタグを生成します。protected voidMinimalHTMLWriter.writeNonHTMLAttributes(AttributeSet attr)HTMLに準拠した方法で残りの文字レベルの属性(ボールド、イタリック、下線以外の属性)を書き出します。型AttributeSetのパラメータを持つjavax.swing.text.htmlのコンストラクタ修飾子コンストラクタ説明BlockElement(Element parent, AttributeSet a)最初は子を含まない、複合要素を作成します。Option(AttributeSet attr)新しいOptionオブジェクトを作成します。RunElement(Element parent, AttributeSet a, int offs0, int offs1)ドキュメント内のコンテンツを表す(子を持たない)要素を作成します。