|
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.Objectjavax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.BranchElement
javax.swing.text.html.HTMLDocument.BlockElement
public class HTMLDocument.BlockElement extends AbstractDocument.BranchElement
An element that represents a structural block of HTML.
| 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.BlockElement(Element parent,
AttributeSet a)
Constructs a composite element that initially contains 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.BranchElement |
|---|
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, 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.BlockElement(Element parent,
AttributeSet a)
parent - the parent elementa - the attributes for the element| Method Detail |
|---|
public String getName()
getName in interface ElementgetName in class AbstractDocument.BranchElementpublic AttributeSet getResolveParent()
getResolveParent in interface AttributeSetgetResolveParent in class AbstractDocument.AbstractElementAttributeSet.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.