Package com.jalios.jcms.pdf.form
Class PDFieldNode
java.lang.Object
com.jalios.jcms.pdf.form.PDFieldNode
- All Implemented Interfaces:
TreeNode
-
Constructor Summary
ConstructorsConstructorDescriptionPDFieldNode(org.apache.pdfbox.pdmodel.interactive.form.PDField field, TreeNode parent) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pdfbox.pdmodel.interactive.form.PDFieldgetField()getId()Returns id of the current nodeReturns a Collection of TreeNode children of the current nodeReturns parent of the current nodeReturns the root of the current nodebooleanReturns boolean true if the TreeNode is a leafbooleanReturns boolean true if the TreeNode is a node
-
Constructor Details
-
PDFieldNode
-
-
Method Details
-
getField
public org.apache.pdfbox.pdmodel.interactive.form.PDField getField() -
getTreeChildren
Description copied from interface:TreeNodeReturns a Collection of TreeNode children of the current node- Specified by:
getTreeChildrenin interfaceTreeNode- Returns:
- Collection of TreeNode
-
getId
Description copied from interface:TreeNodeReturns id of the current node -
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
Description copied from interface:TreeNodeReturns the root of the current node- Specified by:
getTreeRootin interfaceTreeNode- Returns:
- TreeNode root Node
-