Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.AbstractDocument.AbstractElement javax.swing.text.AbstractDocument.LeafElement javax.swing.text.html.HTMLDocument.RunElement
public class HTMLDocument.RunElement extends AbstractDocument.LeafElement
An element that represents a chunk of text that has a set of HTML character level attributes assigned to it.
Modifier and Type | Interface and Description |
---|
Nested classes/interfaces inherited from interface javax.swing.text.AttributeSet |
---|
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute |
Modifier and Type | Field and Description |
---|
Fields inherited from interface javax.swing.text.AttributeSet |
---|
NameAttribute, ResolveAttribute |
Constructor and Description |
---|
HTMLDocument.RunElement(Element parent,
AttributeSet a,
int offs0,
int offs1)
Constructs an element that represents content within the document (has no children). |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the element. |
AttributeSet |
getResolveParent()
Gets the resolving parent. |
Methods inherited from class javax.swing.text.AbstractDocument.LeafElement |
---|
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, toString |
Methods inherited from class javax.swing.text.AbstractDocument.AbstractElement |
---|
addAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HTMLDocument.RunElement(Element parent, AttributeSet a, int offs0, int offs1)
parent
- the parent elementa
- the element attributesoffs0
- the start offset (must be at least 0)offs1
- the end offset (must be at least offs0)Method Detail |
---|
public String getName()
getName
in interface Element
getName
in class AbstractDocument.LeafElement
public AttributeSet getResolveParent()
getResolveParent
in interface AttributeSet
getResolveParent
in class AbstractDocument.AbstractElement
AttributeSet.getResolveParent()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.