public class CT_OutlineElem extends OFDElement
图 19 大纲节点结构
proxy| 构造器和说明 |
|---|
CT_OutlineElem() |
CT_OutlineElem(org.dom4j.Element proxy) |
CT_OutlineElem(String title) |
| 限定符和类型 | 方法和说明 |
|---|---|
CT_OutlineElem |
addOutlineElem(CT_OutlineElem outlineElem)
【可选】
增加 大纲子节点
该节点的子大纲节点。
|
Actions |
getActions()
【可选】
获取 当此大纲节点被激活时执行的动作序列
|
Integer |
getCount()
【可选 属性】
获取 该节点下所有叶节点的数目参考值
应该根据该节点下实际出现的子节点数为准
默认值为 0
|
Boolean |
getExpanded()
【可选 属性】
在有子节点存在时有效,如果为 true,
表示该大纲在初始状态下展开子节点;
如果为 false,则表示不展开
默认值为 true
|
List<CT_OutlineElem> |
getOutlineElems()
【可选】
获取 该大纲下所有子节点
该节点的子大纲节点。
|
String |
getTitle()
【必选 属性】
获取 大纲节点标题
|
CT_OutlineElem |
setActions(Actions actions)
【可选】
设置 当此大纲节点被激活时执行的动作序列
|
CT_OutlineElem |
setCount(int count)
【可选 属性】
设置 该节点下所有叶节点的数目参考值
应该根据该节点下实际出现的子节点数为准
默认值为 0
|
CT_OutlineElem |
setExpanded(boolean expanded)
【可选 属性】
在有子节点存在时有效,如果为 true,
表示该大纲在初始状态下展开子节点;
如果为 false,则表示不展开
默认值为 true
|
CT_OutlineElem |
setTitle(String title)
【必选 属性】
设置 大纲节点标题
|
addOFDEntity, getElements, getInstance, getObjID, getOFDElement, getOFDElement, getOFDElements, getOFDElementText, getQualifiedName, removeAll, removeAttr, removeOFDElemByNames, set, setObjID, setObjID, setOFDEntity, setOFDNameaccept, add, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addElement, addElement, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, appendContent, asXML, asXPathResult, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, clearContent, clone, content, createCopy, createCopy, createCopy, createXPath, declaredNamespaces, detach, element, element, elementByID, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, equals, getData, getDocument, getName, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespacesForURI, getNamespaceURI, getNodeType, getNodeTypeName, getParent, getPath, getPath, getProxy, getQName, getQName, getStringValue, getText, getTextTrim, getUniquePath, getUniquePath, getXPathResult, hasContent, hasMixedContent, indexOf, isReadOnly, isRootElement, isTextOnly, matches, node, nodeCount, nodeIterator, normalize, numberValueOf, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeProcessingInstruction, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setAttributes, setAttributeValue, setAttributeValue, setContent, setData, setDocument, setName, setParent, setProcessingInstructions, setProxy, setQName, setText, supportsParent, valueOf, writepublic CT_OutlineElem(org.dom4j.Element proxy)
public CT_OutlineElem()
public CT_OutlineElem(String title)
public CT_OutlineElem setTitle(String title)
title - 大纲节点标题public String getTitle()
public CT_OutlineElem setCount(int count)
应该根据该节点下实际出现的子节点数为准
默认值为 0
count - 该节点下所有叶节点的数目参考值public Integer getCount()
应该根据该节点下实际出现的子节点数为准
默认值为 0
public CT_OutlineElem setExpanded(boolean expanded)
默认值为 true
expanded - true - 展开; false - 不展开public Boolean getExpanded()
默认值为 true
public CT_OutlineElem setActions(Actions actions)
actions - 动作序列public Actions getActions()
public CT_OutlineElem addOutlineElem(CT_OutlineElem outlineElem)
该节点的子大纲节点。层层嵌套,形成树状结构
outlineElem - 大纲子节点public List<CT_OutlineElem> getOutlineElems()
该节点的子大纲节点。层层嵌套,形成树状结构
Copyright © 2021. All rights reserved.