GNU Classpath (0.19) | ||
Frames | No Frames |
Classes implementing javax.swing.text.AttributeSet | |
class | An abstract base implementation of the Element interface.
|
class | |
class | An implementation of Element that represents a leaf in the
document structure. |
class | An element type for sections. |
class | |
class | |
class |
Constructors with parameter type javax.swing.text.AttributeSet | |
Creates a new instance of AbstractElement with a
specified parent Element and AttributeSet .
| |
Creates a new BranchElement with the specified
parent and attributes.
| |
Creates a new ElementSpec with no content, length or
offset. | |
DefaultStyledDocument.ElementSpec.ElementSpec(AttributeSet a, short type, char[] txt, int offs, int len) Creates a new ElementSpec with document content.
| |
Creates a new ElementSpec that specifies the length but
not the offset of an element. | |
AbstractDocument.LeafElement.LeafElement(Element parent, AttributeSet attributes, int start, int end) Creates a new LeafElement .
| |
Fields of type javax.swing.text.AttributeSet | |
AttributeSet |
Methods with parameter type javax.swing.text.AttributeSet | |
AttributeSet | Returns an AttributeSet that contains the attributes
of old plus the new attribute specified by
name and value .
|
AttributeSet | Returns an AttributeSet that contains the attributes
of old plus the new attribute specified by
name and value .
|
void | Adds a set of attributes to this element.
|
void | addAttributes
|
void | addAttributes
|
void | |
AttributeSet | |
AttributeSet | |
boolean | Returns true if this element contains all of the
specified attributes.
|
boolean | Returns true of this AttributeSet contains all
of the specified attributes .
|
boolean | |
boolean | |
boolean | |
Element | Creates and returns a branch element with the specified
parent and attributes . |
MutableAttributeSet | |
Element | Creates and returns a leaf element with the specified
parent and attributes . |
StyleContext.SmallAttributeSet | |
int | |
Color | Extracts a background color from a set of attributes.
|
Color | |
Color | |
Color | getBackground
|
int | |
Component | |
float | |
Font | Extracts a font from a set of attributes.
|
Font | |
Font | getFont
|
String | |
int | |
Color | Extracts a foreground color from a set of attributes.
|
Color | |
Color | |
Color | getForeground
|
Icon | |
float | |
float | |
float | |
float | |
float | |
TabSet | |
void | Inserts a String into this Document at the specified
position and assigning the specified attributes to it.
|
void | Inserts a piece of text with an AttributeSet at the specified
offset .
|
void | |
void | Inserts a string into the document. |
void | DocumentFilter.insertString(DocumentFilter.FilterBypass fb, int offset, String string, AttributeSet attr) |
void | Called to indicate that text has been inserted into this
Document . |
void | Called in response to content insert actions. |
void | Called to indicate that text has been inserted into this
Document . |
boolean | |
boolean | Returns true if the specified AttributeSet
is equal to this element's AttributeSet , false
otherwise.
|
boolean | Returns true if all of the attributes in attr
are equal to the attributes in this AttributeSet ,
false otherwise.
|
boolean | Returns true if the given set has the same number of attributes
as this set and containsAttributes(attr) returns
true.
|
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
void | Called to indicate that the attributes in attributes are
no longer used.
|
void | Called to indicate that the attributes in attributes are
no longer used.
|
AttributeSet | |
AttributeSet | |
void | Removes a set of attributes from this element.
|
void | removeAttributes
|
void | Removes attributes from this set if they are found in the
given set. |
void | |
AttributeSet | Removes all attributes specified by names from
old and returns the resulting AttributeSet .
|
AttributeSet | Removes all attributes specified by names from
old and returns the resulting AttributeSet .
|
AttributeSet | Removes all attributes in attributes from old
and returns the resulting AttributeSet .
|
AttributeSet | Removes all attributes in attributes from old
and returns the resulting AttributeSet .
|
void | Replaces a piece of content in this Document with
another piece of content.
|
void | |
void | DocumentFilter.replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) |
void | DefaultStyledDocument.setCharacterAttributes(int offset, int length, AttributeSet attributes, boolean replace) Sets text attributes for the fragment specified by offset
and length .
|
void | setCharacterAttributes
|
void | StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) Sets the specified character attributes on the currently selected
text of editor . |
void | DefaultStyledDocument.setParagraphAttributes(int offset, int length, AttributeSet attributes, boolean replace) Sets text attributes for the paragraph at the specified fragment.
|
void | setParagraphAttributes
|
void | StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor, AttributeSet atts, boolean replace) Sets the specified character attributes on the paragraph that
contains the currently selected
text of editor . |
void | Sets the insets defined by attributes in attributes . |
void | Sets the parent attribute set against which the element can resolve
attributes that are not defined in itself.
|
void | setResolveParent
|
void | setResolveParent
|
void | |
void | |
void | |
void | Print the given AttributeSet as a sequence of assignment-like
strings, e.g. |
Methods with return type javax.swing.text.AttributeSet | |
AttributeSet | Returns an AttributeSet that contains the attributes
of old plus the new attribute specified by
name and value .
|
AttributeSet | Returns an AttributeSet that contains the attributes
of old plus the new attribute specified by
name and value .
|
AttributeSet | |
AttributeSet | |
AttributeSet | Returns a copy of the attributes of this element.
|
AttributeSet | Creates and returns a copy of this AttributeSet .
|
AttributeSet | |
AttributeSet | |
AttributeSet | |
AttributeSet | Returns the attributes of this element.
|
AttributeSet | Returns the attributes of the element.
|
AttributeSet | |
AttributeSet | |
AttributeSet | getCharacterAttribute
|
AttributeSet | Returns an empty AttributeSet .
|
AttributeSet | Returns an empty AttributeSet .
|
AttributeSet | Returns the resolve parent of this element.
|
AttributeSet | Returns the resolving parent of this AttributeSet .
|
AttributeSet | |
AttributeSet | |
AttributeSet | |
AttributeSet | |
AttributeSet | |
AttributeSet | Removes all attributes specified by names from
old and returns the resulting AttributeSet .
|
AttributeSet | Removes all attributes specified by names from
old and returns the resulting AttributeSet .
|
AttributeSet | Removes all attributes in attributes from old
and returns the resulting AttributeSet .
|
AttributeSet | Removes all attributes in attributes from old
and returns the resulting AttributeSet .
|
Methods with parameter type javax.swing.text.AttributeSet | |
void | Set the attributes of text between two points.
|
Methods with return type javax.swing.text.AttributeSet | |
AttributeSet | AccessibleText.getCharacterAttribute(int index) Returns the attributes of a character at an index, or null if the index
is out of bounds.
|
Classes implementing javax.swing.text.AttributeSet | |
class |
Constructors with parameter type javax.swing.text.AttributeSet | |
Creates a new BranchElement with the specified
parent and attributes.
|
Methods with parameter type javax.swing.text.AttributeSet | |
int | Searches the value of given attribute in the provided set.
|
Methods with return type javax.swing.text.AttributeSet | |
AttributeSet | Return the attribute set for this tag.
|
AttributeSet | Gets the resolving parent. |
Methods with parameter type javax.swing.text.AttributeSet | |
void | Sets text attributes for the current selection. |
void | Sets text attributes for the paragraph at the current selection.
|
Methods with return type javax.swing.text.AttributeSet | |
AttributeSet | |
AttributeSet | JLabel.AccessibleJLabel.getCharacterAttribute(int index) Returns an AttributeSet that reflects the text attributes of
the specified character. |
AttributeSet | Returns the text attributes for the character at the current caret
position.
|
AttributeSet | Returns the text attributes of the paragraph at the current caret
position.
|
Methods with return type javax.swing.text.AttributeSet | |
AttributeSet |
GNU Classpath (0.19) |