Uses of Interface
javax.swing.text.MutableAttributeSet
Packages that use MutableAttributeSet
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors.-
Uses of MutableAttributeSet in javax.swing
Methods in javax.swing that return MutableAttributeSetModifier and TypeMethodDescriptionJTextPane.getInputAttributes()Gets the input attributes for the pane. -
Uses of MutableAttributeSet in javax.swing.text
Subinterfaces of MutableAttributeSet in javax.swing.textModifier and TypeInterfaceDescriptioninterfaceA collection of attributes to associate with an element in a document.Classes in javax.swing.text that implement MutableAttributeSetModifier and TypeClassDescriptionclassImplements the abstract part of an element.classImplements a composite element that contains other elements.classImplements an element that directly represents content of some kind.protected classDefault root element for a document... maps out the paragraphs/lines contained.classA straightforward implementation of MutableAttributeSet using a hash table.classA collection of attributes, typically used to represent character and paragraph styles.Methods in javax.swing.text that return MutableAttributeSetModifier and TypeMethodDescriptionprotected MutableAttributeSetStyleContext.createLargeAttributeSet(AttributeSet a) Create a large set of attributes that should trade off space for time.StyledEditorKit.getInputAttributes()Gets the input attributes for the pane.Methods in javax.swing.text with parameters of type MutableAttributeSetModifier and TypeMethodDescriptionprotected 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 MutableAttributeSetModifier and TypeClassDescriptionclassAn element that represents a structural block of HTML.classAn 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 MutableAttributeSetModifier and TypeFieldDescriptionprotected MutableAttributeSetHTMLDocument.HTMLReader.charAttrCurrent character attribute set.Methods in javax.swing.text.html that return MutableAttributeSetModifier and TypeMethodDescriptionprotected MutableAttributeSetStyleSheet.createLargeAttributeSet(AttributeSet a) Creates a large set of attributes that should trade off space for time.HTMLEditorKit.getInputAttributes()Gets the input attributes used for the styled editing actions.Methods in javax.swing.text.html with parameters of type MutableAttributeSetModifier and TypeMethodDescriptionvoidStyleSheet.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.