インタフェース
javax.swing.text.AttributeSetの使用
-
AttributeSetを使用しているパッケージ パッケージ 説明 java.awt ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。javax.accessibility ユーザー・インタフェース・コンポーネントとそれらのコンポーネントへのアクセスを提供するユーザー補助テクノロジの間の規約を定義します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。javax.swing.text 編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。javax.swing.text.html HTMLテキスト・エディタを作成するためのクラスHTMLEditorKitとサポート・クラスを提供します。 -
-
java.awtでのAttributeSetの使用
AttributeSetを返すjava.awt内のメソッド 修飾子と型 メソッド 説明 AttributeSetTextComponent.AccessibleAWTTextComponent. getCharacterAttribute(int i)インデックスで指定された文字のAttributeSetを返します。 -
javax.accessibilityでのAttributeSetの使用
AttributeSetとして宣言されているjavax.accessibility内のフィールド 修飾子と型 フィールド 説明 AttributeSetAccessibleAttributeSequence. attributesテキストの属性AttributeSetを返すjavax.accessibility内のメソッド 修飾子と型 メソッド 説明 AttributeSetAccessibleText. getCharacterAttribute(int i)指定されたインデックスにある文字のAttributeSetを返します。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内のメソッド 修飾子と型 メソッド 説明 AttributeSetAbstractButton.AccessibleAbstractButton. getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。AttributeSetJLabel.AccessibleJLabel. getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。AttributeSetJSpinner.AccessibleJSpinner. getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。AttributeSetProgressMonitor.AccessibleProgressMonitor. getCharacterAttribute(int i)指定されたインデックスの位置にある指定された文字のAttributeSetを返します。AttributeSetJTextPane. getCharacterAttributes()現在のキャレット位置で有効な文字属性がある場合はそれを取得します。ない場合はnullを返します。AttributeSetJTextPane. 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のサブインタフェース 修飾子と型 インタフェース 説明 interfaceMutableAttributeSet一意な属性を集めた可変コレクションのジェネリック・インタフェースです。interfaceStyleドキュメント内の要素に関連した属性のコレクションです。AttributeSetを実装しているjavax.swing.text内のクラス 修飾子と型 クラス 説明 classAbstractDocument.AbstractElement要素の抽象部分を実装します。classAbstractDocument.BranchElementほかの要素を含む複合要素を実装します。classAbstractDocument.LeafElementある種のコンテンツを直接表す要素を実装します。protected classDefaultStyledDocument.SectionElementドキュメントのデフォルト・ルート要素で、含まれる段落や行をマッピングします。classSimpleAttributeSetハッシュ・テーブルを使用する、MutableAttributeSetの直接の実装です。classStyleContext.NamedStyle通常、文字および段落の書式を表すために使用される属性のコレクションです。classStyleContext.SmallAttributeSetこのクラスは、少数の属性を配列として格納します。AttributeSetとして宣言されているjavax.swing.text内のフィールド 修飾子と型 フィールド 説明 protected AttributeSetDefaultStyledDocument.AttributeUndoableEdit. copy要素に含まれるAttributeSetのコピー。static AttributeSetSimpleAttributeSet. EMPTY空の属性セットです。protected AttributeSetDefaultStyledDocument.AttributeUndoableEdit. newAttributes追加のエントリを含むAttributeSetは、変更不可能でなければなりません!AttributeSetを返すjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 AttributeSetAbstractDocument.AttributeContext. addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。AttributeSetStyleContext. addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。AttributeSetAbstractDocument.AttributeContext. addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。AttributeSetStyleContext. addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。AttributeSetAbstractDocument.AbstractElement. copyAttributes()属性セットをコピーします。AttributeSetAttributeSet. copyAttributes()時間がたっても変化しないことが保証された属性セットを返します。AttributeSetSimpleAttributeSet. copyAttributes()属性のコピーを作成します。AttributeSetStyleContext.NamedStyle. copyAttributes()属性セットをコピーします。AttributeSetStyleContext.SmallAttributeSet. copyAttributes()属性セットをコピーします。AttributeSetAbstractDocument.AbstractElement. getAttributes()要素の属性を取得します。AttributeSetDefaultStyledDocument.ElementSpec. getAttributes()要素の属性を取得します。AttributeSetElement. getAttributes()この要素が保持する属性のコレクションを取得します。AttributeSetView. getAttributes()描画するときに使用する属性を取得します。AttributeSetJTextComponent.AccessibleJTextComponent. getCharacterAttribute(int i)インデックスで指定された文字のAttributeSetを返します。AttributeSetAbstractDocument.AttributeContext. getEmptySet()空の属性セットを取得します。AttributeSetStyleContext. getEmptySet()空の属性セットを取得します。AttributeSetAbstractDocument.AbstractElement. getResolveParent()解釈処理側の親を返します。AttributeSetAttributeSet. getResolveParent()解釈処理側の親を返します。AttributeSetSimpleAttributeSet. getResolveParent()解釈処理側の親を返します。AttributeSetStyleContext.NamedStyle. getResolveParent()親から属性を取得します。AttributeSetStyleContext.SmallAttributeSet. getResolveParent()オーバーライドしない場合、解決する親のデフォルトはこの親要素になります。AttributeSetAbstractDocument.AttributeContext. removeAttribute(AttributeSet old, Object name)セットから属性を削除します。AttributeSetStyleContext. removeAttribute(AttributeSet old, Object name)セットから属性を削除します。AttributeSetAbstractDocument.AttributeContext. removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AttributeSetAbstractDocument.AttributeContext. removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。AttributeSetStyleContext. removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AttributeSetStyleContext. removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。AttributeSet型のパラメータを持つjavax.swing.text内のメソッド 修飾子と型 メソッド 説明 AttributeSetAbstractDocument.AttributeContext. addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。AttributeSetStyleContext. addAttribute(AttributeSet old, Object name, Object value)指定されたセットに属性を追加し、その新しいセットを返します。voidAbstractDocument.AbstractElement. addAttributes(AttributeSet attr)属性セットを要素に追加します。AttributeSetAbstractDocument.AttributeContext. addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。voidMutableAttributeSet. addAttributes(AttributeSet attributes)指定された属性と値を持つことを除いて、これと同じ新しい属性セットを作成します。voidSimpleAttributeSet. addAttributes(AttributeSet attributes)属性セットをリストに追加します。AttributeSetStyleContext. 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)配置方法の設定を取得します。ColorDefaultStyledDocument. getBackground(AttributeSet attr)属性セットからバックグラウンド・カラーを取得します。static ColorStyleConstants. getBackground(AttributeSet a)属性リストからバックグラウンド・カラーの設定を取得します。ColorStyleContext. getBackground(AttributeSet attr)属性セットを取得してバックグラウンド・カラー指定に変換します。ColorStyledDocument. getBackground(AttributeSet attr)属性セットを取得してバックグラウンド・カラー指定に変換します。static intStyleConstants. getBidiLevel(AttributeSet a)BIDIレベルの設定を取得します。static ComponentStyleConstants. getComponent(AttributeSet a)属性リストからコンポーネントの設定を返します。static floatStyleConstants. getFirstLineIndent(AttributeSet a)最初の行のインデント設定を取得します。FontDefaultStyledDocument. getFont(AttributeSet attr)属性セットからフォントを取得します。FontStyleContext. getFont(AttributeSet attr)属性セットからフォントを取得します。FontStyledDocument. getFont(AttributeSet attr)属性セットを引数として、フォント指定に変換します。static StringStyleConstants. getFontFamily(AttributeSet a)属性リストからフォント・ファミリの設定を取得します。static intStyleConstants. getFontSize(AttributeSet a)属性リストからフォント・サイズの設定を取得します。ColorDefaultStyledDocument. getForeground(AttributeSet attr)属性セットからフォアグラウンド・カラーを取得します。static ColorStyleConstants. getForeground(AttributeSet a)属性リストからフォアグラウンド・カラーの設定を取得します。ColorStyleContext. getForeground(AttributeSet attr)属性セットを取得してフォアグラウンド・カラー指定に変換します。ColorStyledDocument. 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の実装によって必要とされなくなったセットを返します。AttributeSetAbstractDocument.AttributeContext. removeAttribute(AttributeSet old, Object name)セットから属性を削除します。AttributeSetStyleContext. removeAttribute(AttributeSet old, Object name)セットから属性を削除します。voidAbstractDocument.AbstractElement. removeAttributes(AttributeSet attrs)要素の属性セットを削除します。AttributeSetAbstractDocument.AttributeContext. removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AttributeSetAbstractDocument.AttributeContext. removeAttributes(AttributeSet old, AttributeSet attrs)要素の属性セットを削除します。voidMutableAttributeSet. removeAttributes(AttributeSet attributes)指定したnameを持つ属性セットを削除します。voidSimpleAttributeSet. removeAttributes(AttributeSet attributes)リストから属性セットを削除します。voidStyleContext.NamedStyle. removeAttributes(AttributeSet attrs)要素の属性セットを削除します。AttributeSetStyleContext. removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AttributeSetStyleContext. 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内のクラス 修飾子と型 クラス 説明 classHTMLDocument.BlockElementHTMLの構造ブロックを表す要素です。classHTMLDocument.RunElementHTML文字レベル属性のセットが割り当てられているテキストのチャンクを表す要素です。AttributeSetを返すjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 AttributeSetStyleSheet. addAttribute(AttributeSet old, Object key, Object value)指定されたセットに属性を追加し、その新しいセットを返します。AttributeSetStyleSheet. addAttributes(AttributeSet old, AttributeSet attr)属性セットを要素に追加します。AttributeSetBlockView. getAttributes()描画するときに使用する属性を取得します。abstract AttributeSetHTMLDocument.Iterator. getAttributes()このタグの属性を返します。AttributeSetImageView. getAttributes()描画するときに使用する属性を取得します。AttributeSetInlineView. getAttributes()描画するときに使用する属性を取得します。AttributeSetOption. getAttributes()このオプションに関連した属性を取得します。AttributeSetParagraphView. getAttributes()描画するときに使用する属性を取得します。AttributeSetStyleSheet. getDeclaration(String decl)CSS宣言を、CSS宣言を表す属性セットに変換します。AttributeSetHTMLDocument.BlockElement. getResolveParent()解釈処理側の親を返します。AttributeSetHTMLDocument.RunElement. getResolveParent()解釈処理側の親を返します。AttributeSetStyleSheet. getViewAttributes(View v)表示のためにビューで使用される属性セットを取得します。AttributeSetStyleSheet. removeAttribute(AttributeSet old, Object key)セットから属性を削除します。AttributeSetStyleSheet. removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AttributeSetStyleSheet. removeAttributes(AttributeSet old, AttributeSet attrs)属性セットを削除します。AttributeSetStyleSheet. translateHTMLToCSS(AttributeSet htmlAttrSet)HTML属性のセットを、同等のCSS属性のセットに変換します。AttributeSet型のパラメータを持つjavax.swing.text.html内のメソッド 修飾子と型 メソッド 説明 AttributeSetStyleSheet. addAttribute(AttributeSet old, Object key, Object value)指定されたセットに属性を追加し、その新しいセットを返します。AttributeSetStyleSheet. 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)共有可能でコンパクトな属性セットを作成します。ColorStyleSheet. getBackground(AttributeSet a)属性セットを取得してバックグラウンド・カラー指定に変換します。StyleSheet.BoxPainterStyleSheet. getBoxPainter(AttributeSet a)指定されたCSS属性のセットで使用するボックス・フォーマッタを取得します。FontStyleSheet. getFont(AttributeSet a)指定された属性セットで使用するフォントを取得します。ColorStyleSheet. getForeground(AttributeSet a)属性セットを取得してフォアグラウンド・カラー指定に変換します。static intHTML. getIntegerAttributeValue(AttributeSet attr, HTML.Attribute key, int def)整数型の属性値を取得します。StyleSheet.ListPainterStyleSheet. 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を返します。AttributeSetStyleSheet. removeAttribute(AttributeSet old, Object key)セットから属性を削除します。AttributeSetStyleSheet. removeAttributes(AttributeSet old, Enumeration<?> names)要素の属性セットを削除します。AttributeSetStyleSheet. 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に格納されているテキストを書き出します。AttributeSetStyleSheet. 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)ドキュメント内のコンテンツを表す(子を持たない)要素を作成します。
-