Uses of Interface
javax.swing.text.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
Modifier and TypeMethodDescriptionJTextPane.getInputAttributes()
Gets the input attributes for the pane. -
Uses of MutableAttributeSet in javax.swing.text
Modifier and TypeInterfaceDescriptioninterface
A collection of attributes to associate with an element in a document.Modifier and TypeClassDescriptionclass
Implements the abstract part of an element.class
Implements a composite element that contains other elements.class
Implements an element that directly represents content of some kind.protected class
Default root element for a document... maps out the paragraphs/lines contained.class
A straightforward implementation of MutableAttributeSet using a hash table.class
A collection of attributes, typically used to represent character and paragraph styles.Modifier and TypeMethodDescriptionprotected MutableAttributeSet
StyleContext.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.Modifier and TypeMethodDescriptionprotected void
StyledEditorKit.createInputAttributes
(Element element, MutableAttributeSet set) Copies the key/values inelement
s AttributeSet intoset
.void
StyleContext.readAttributes
(ObjectInputStream in, MutableAttributeSet a) Context-specific handling of reading in attributesstatic void
StyleContext.readAttributeSet
(ObjectInputStream in, MutableAttributeSet a) Reads a set of attributes from the given object input stream that have been previously written out withwriteAttributeSet
.static void
StyleConstants.setAlignment
(MutableAttributeSet a, int align) Sets alignment.static void
StyleConstants.setBackground
(MutableAttributeSet a, Color fg) Sets the background color.static void
StyleConstants.setBidiLevel
(MutableAttributeSet a, int o) Sets the BidiLevel.static void
StyleConstants.setBold
(MutableAttributeSet a, boolean b) Sets the bold attribute.static void
StyleConstants.setComponent
(MutableAttributeSet a, Component c) Sets the component attribute.static void
StyleConstants.setFirstLineIndent
(MutableAttributeSet a, float i) Sets the first line indent.static void
StyleConstants.setFontFamily
(MutableAttributeSet a, String fam) Sets the font attribute.static void
StyleConstants.setFontSize
(MutableAttributeSet a, int s) Sets the font size attribute.static void
StyleConstants.setForeground
(MutableAttributeSet a, Color fg) Sets the foreground color.static void
StyleConstants.setIcon
(MutableAttributeSet a, Icon c) Sets the icon attribute.static void
StyleConstants.setItalic
(MutableAttributeSet a, boolean b) Sets the italic attribute.static void
StyleConstants.setLeftIndent
(MutableAttributeSet a, float i) Sets left indent.static void
StyleConstants.setLineSpacing
(MutableAttributeSet a, float i) Sets line spacing.static void
StyleConstants.setRightIndent
(MutableAttributeSet a, float i) Sets right indent.static void
StyleConstants.setSpaceAbove
(MutableAttributeSet a, float i) Sets space above.static void
StyleConstants.setSpaceBelow
(MutableAttributeSet a, float i) Sets space below.static void
StyleConstants.setStrikeThrough
(MutableAttributeSet a, boolean b) Sets the strikethrough attribute.static void
StyleConstants.setSubscript
(MutableAttributeSet a, boolean b) Sets the subscript attribute.static void
StyleConstants.setSuperscript
(MutableAttributeSet a, boolean b) Sets the superscript attribute.static void
StyleConstants.setTabSet
(MutableAttributeSet a, TabSet tabs) Sets the TabSet.static void
StyleConstants.setUnderline
(MutableAttributeSet a, boolean b) Sets the underline attribute. -
Uses of MutableAttributeSet in javax.swing.text.html
Modifier and TypeClassDescriptionclass
An element that represents a structural block of HTML.class
An element that represents a chunk of text that has a set of HTML character level attributes assigned to it.Modifier and TypeFieldDescriptionprotected MutableAttributeSet
HTMLDocument.HTMLReader.charAttr
Current character attribute set.Modifier and TypeMethodDescriptionprotected MutableAttributeSet
StyleSheet.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.Modifier and TypeMethodDescriptionvoid
StyleSheet.addCSSAttribute
(MutableAttributeSet attr, CSS.Attribute key, String value) Adds a CSS attribute to the given set.boolean
StyleSheet.addCSSAttributeFromHTML
(MutableAttributeSet attr, CSS.Attribute key, String value) Adds a CSS attribute to the given set.protected void
HTMLDocument.HTMLReader.addSpecialElement
(HTML.Tag t, MutableAttributeSet a) Adds content that is basically specified entirely in the attribute set.protected void
HTMLDocument.HTMLReader.blockOpen
(HTML.Tag t, MutableAttributeSet attr) Adds an instruction to the parse buffer to create a block element with the given attributes.protected void
HTMLEditorKit.createInputAttributes
(Element element, MutableAttributeSet set) Copies the key/values inelement
s AttributeSet intoset
.void
HTMLDocument.HTMLReader.handleSimpleTag
(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.void
HTMLEditorKit.ParserCallback.handleSimpleTag
(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.void
HTMLDocument.HTMLReader.handleStartTag
(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.void
HTMLEditorKit.ParserCallback.handleStartTag
(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.void
HTMLDocument.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.