Package com.jalios.jcms.pdf.form
Class PDFieldNode
- java.lang.Object
-
- com.jalios.jcms.pdf.form.PDFieldNode
-
-
Constructor Summary
Constructors Constructor Description PDFieldNode(org.apache.pdfbox.pdmodel.interactive.form.PDField field, TreeNode parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.pdfbox.pdmodel.interactive.form.PDFieldgetField()java.lang.StringgetId()Returns id of the current nodejava.util.Collection<PDFieldNode>getTreeChildren()Returns a Collection of TreeNode children of the current nodeTreeNodegetTreeParent()Returns parent of the current nodeTreeNodegetTreeRoot()Returns the root of the current nodebooleanisTreeLeaf()Returns boolean true if the TreeNode is a leafbooleanisTreeNode()Returns boolean true if the TreeNode is a node
-
-
-
Constructor Detail
-
PDFieldNode
public PDFieldNode(org.apache.pdfbox.pdmodel.interactive.form.PDField field, TreeNode parent)
-
-
Method Detail
-
getField
public org.apache.pdfbox.pdmodel.interactive.form.PDField getField()
-
getTreeChildren
public java.util.Collection<PDFieldNode> getTreeChildren()
Description copied from interface:TreeNodeReturns a Collection of TreeNode children of the current node- Specified by:
getTreeChildrenin interfaceTreeNode- Returns:
- Collection of TreeNode
-
getId
public java.lang.String getId()
Description copied from interface:TreeNodeReturns id of the current node
-
getTreeParent
public TreeNode getTreeParent()
Description copied from interface:TreeNodeReturns parent of the current node- Specified by:
getTreeParentin interfaceTreeNode- Returns:
- TreeNode parent Node
-
isTreeLeaf
public boolean isTreeLeaf()
Description copied from interface:TreeNodeReturns boolean true if the TreeNode is a leaf- Specified by:
isTreeLeafin interfaceTreeNode- Returns:
- boolean indicating if node is leaf or node
-
isTreeNode
public boolean isTreeNode()
Description copied from interface:TreeNodeReturns boolean true if the TreeNode is a node- Specified by:
isTreeNodein interfaceTreeNode- Returns:
- boolean indicating if node is leaf or node
-
getTreeRoot
public TreeNode getTreeRoot()
Description copied from interface:TreeNodeReturns the root of the current node- Specified by:
getTreeRootin interfaceTreeNode- Returns:
- TreeNode root Node
-
-