Uses of Interface
javax.swing.text.MutableAttributeSet
-
Packages that use MutableAttributeSet Package Description javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components.javax.swing.text.html Provides the classHTMLEditorKitand supporting classes for creating HTML text editors. -
-
Uses of MutableAttributeSet in javax.swing
Methods in javax.swing that return MutableAttributeSet Modifier and Type Method Description MutableAttributeSetJTextPane. getInputAttributes()Gets the input attributes for the pane. -
Uses of MutableAttributeSet in javax.swing.text
Subinterfaces of MutableAttributeSet in javax.swing.text Modifier and Type Interface Description interfaceStyleA collection of attributes to associate with an element in a document.Classes in javax.swing.text that implement MutableAttributeSet Modifier and Type Class Description classAbstractDocument.AbstractElementImplements the abstract part of an element.classAbstractDocument.BranchElementImplements a composite element that contains other elements.classAbstractDocument.LeafElementImplements an element that directly represents content of some kind.protected classDefaultStyledDocument.SectionElementDefault root element for a document... maps out the paragraphs/lines contained.classSimpleAttributeSetA straightforward implementation of MutableAttributeSet using a hash table.classStyleContext.NamedStyleA collection of attributes, typically used to represent character and paragraph styles.Methods in javax.swing.text that return MutableAttributeSet Modifier and Type Method Description protected MutableAttributeSetStyleContext. createLargeAttributeSet(AttributeSet a)Create a large set of attributes that should trade off space for time.MutableAttributeSetStyledEditorKit. getInputAttributes()Gets the input attributes for the pane.Methods in javax.swing.text with parameters of type MutableAttributeSet Modifier and Type Method Description protected voidStyledEditorKit. createInputAttributes(Element element, MutableAttributeSet set)Copies the key/values inelements AttributeSet intoset.voidStyleContext. readAttributes(ObjectInputStream in, MutableAttributeSet a)Context-specific handling of reading in attributesstatic voidStyleContext. readAttributeSet(ObjectInputStream in, MutableAttributeSet a)Reads a set of attributes from the given object input stream that have been previously written out withwriteAttributeSet.static voidStyleConstants. setAlignment(MutableAttributeSet a, int align)Sets alignment.static voidStyleConstants. setBackground(MutableAttributeSet a, Color fg)Sets the background color.static voidStyleConstants. setBidiLevel(MutableAttributeSet a, int o)Sets the BidiLevel.static voidStyleConstants. setBold(MutableAttributeSet a, boolean b)Sets the bold attribute.static voidStyleConstants. setComponent(MutableAttributeSet a, Component c)Sets the component attribute.static voidStyleConstants. setFirstLineIndent(MutableAttributeSet a, float i)Sets the first line indent.static voidStyleConstants. setFontFamily(MutableAttributeSet a, String fam)Sets the font attribute.static voidStyleConstants. setFontSize(MutableAttributeSet a, int s)Sets the font size attribute.static voidStyleConstants. setForeground(MutableAttributeSet a, Color fg)Sets the foreground color.static voidStyleConstants. setIcon(MutableAttributeSet a, Icon c)Sets the icon attribute.static voidStyleConstants. setItalic(MutableAttributeSet a, boolean b)Sets the italic attribute.static voidStyleConstants. setLeftIndent(MutableAttributeSet a, float i)Sets left indent.static voidStyleConstants. setLineSpacing(MutableAttributeSet a, float i)Sets line spacing.static voidStyleConstants. setRightIndent(MutableAttributeSet a, float i)Sets right indent.static voidStyleConstants. setSpaceAbove(MutableAttributeSet a, float i)Sets space above.static voidStyleConstants. setSpaceBelow(MutableAttributeSet a, float i)Sets space below.static voidStyleConstants. setStrikeThrough(MutableAttributeSet a, boolean b)Sets the strikethrough attribute.static voidStyleConstants. setSubscript(MutableAttributeSet a, boolean b)Sets the subscript attribute.static voidStyleConstants. setSuperscript(MutableAttributeSet a, boolean b)Sets the superscript attribute.static voidStyleConstants. setTabSet(MutableAttributeSet a, TabSet tabs)Sets the TabSet.static voidStyleConstants. setUnderline(MutableAttributeSet a, boolean b)Sets the underline attribute. -
Uses of MutableAttributeSet in javax.swing.text.html
Classes in javax.swing.text.html that implement MutableAttributeSet Modifier and Type Class Description classHTMLDocument.BlockElementAn element that represents a structural block of HTML.classHTMLDocument.RunElementAn element that represents a chunk of text that has a set of HTML character level attributes assigned to it.Fields in javax.swing.text.html declared as MutableAttributeSet Modifier and Type Field Description protected MutableAttributeSetHTMLDocument.HTMLReader. charAttrCurrent character attribute set.Methods in javax.swing.text.html that return MutableAttributeSet Modifier and Type Method Description protected MutableAttributeSetStyleSheet. createLargeAttributeSet(AttributeSet a)Creates a large set of attributes that should trade off space for time.MutableAttributeSetHTMLEditorKit. getInputAttributes()Gets the input attributes used for the styled editing actions.Methods in javax.swing.text.html with parameters of type MutableAttributeSet Modifier and Type Method Description voidStyleSheet. addCSSAttribute(MutableAttributeSet attr, CSS.Attribute key, String value)Adds a CSS attribute to the given set.booleanStyleSheet. addCSSAttributeFromHTML(MutableAttributeSet attr, CSS.Attribute key, String value)Adds a CSS attribute to the given set.protected voidHTMLDocument.HTMLReader. addSpecialElement(HTML.Tag t, MutableAttributeSet a)Adds content that is basically specified entirely in the attribute set.protected voidHTMLDocument.HTMLReader. blockOpen(HTML.Tag t, MutableAttributeSet attr)Adds an instruction to the parse buffer to create a block element with the given attributes.protected voidHTMLEditorKit. createInputAttributes(Element element, MutableAttributeSet set)Copies the key/values inelements AttributeSet intoset.voidHTMLDocument.HTMLReader. handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)Callback from the parser.voidHTMLEditorKit.ParserCallback. handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)Callback from the parser.voidHTMLDocument.HTMLReader. handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)Callback from the parser.voidHTMLEditorKit.ParserCallback. handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)Callback from the parser.voidHTMLDocument.HTMLReader.TagAction. start(HTML.Tag t, MutableAttributeSet a)Called when a start tag is seen for the type of tag this action was registered to.
-