- java.lang.Object
 -  
      
- javax.swing.text.AbstractDocument.AbstractElement
 -  
        
- javax.swing.text.AbstractDocument.BranchElement
 -  
          
- javax.swing.text.html.HTMLDocument.BlockElement
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable,AttributeSet,Element,MutableAttributeSet,TreeNode 
- Enclosing class:
 - HTMLDocument
 
public class HTMLDocument.BlockElement extends AbstractDocument.BranchElement
表示HTML结构 块的元素。- 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
嵌套类汇总
-  
               
Nested classes/interfaces declared in interface javax.swing.text.AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute 
 -  
               
 
-  
             
字段汇总
-  
               
Fields declared in interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute 
 -  
               
 
-  
             
构造方法摘要
构造方法 构造器 描述 BlockElement(Element parent, AttributeSet a)构造一个最初不包含子元素的复合元素。 
-  
             
方法摘要
所有方法 实例方法 具体的方法 变量和类型 方法 描述 StringgetName()获取元素的名称。AttributeSetgetResolveParent()获取解析父级。-  
               
声明方法的类 javax.swing.text.AbstractDocument.BranchElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toString 
-  
               
声明方法的类 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 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
BlockElement
public BlockElement(Element parent, AttributeSet a)
构造一个最初不包含子元素的复合元素。- 参数
 -  
              
parent- 父元素 -  
              
a- 元素的属性 - 从以下版本开始:
 - 1.4
 
 
 -  
 
-  
             
方法详细信息
-  
getName
public String getName()
获取元素的名称。- Specified by:
 -  
              
getName在界面Element - 重写:
 -  
              
getName在类AbstractDocument.BranchElement - 结果
 - 名称,如果没有则为null
 
 
-  
getResolveParent
public AttributeSet getResolveParent()
获取解析父级。 HTML属性不是在模型级别继承的,因此我们重写此属性以返回null。- Specified by:
 -  
              
getResolveParent在界面AttributeSet - 重写:
 -  
              
getResolveParent在课程AbstractDocument.AbstractElement - 结果
 - null,没有
 - 另请参见:
 -  
              
AttributeSet.getResolveParent() 
 
 -  
 
 -