Package com.portal.app.cc
Class PRemovePaymentSetupNode
java.lang.Object
com.portal.app.cc.PRemovePaymentSetupNode
- All Implemented Interfaces:
TreeNode
PRemovePaymentSetupNode is used as a Node for building PRemovePaymentSetupTreeTable- Author:
- Manjunatha L
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Vectorprotected booleanprotected PRemovePaymentSetupNode -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(PRemovePaymentSetupNode child) Add children to the nodeObject[]Returns array of childrenschildren()Creates and returns a forward-order enumeration of this node's children.Object[]data()booleancompare fields - not referencesbooleanReturns true if this node is allowed to have children.getChildAt(int childIndex) Returns the child at the specified index in this node's child array.intReturns the number of children of this node.intReturns the index of child Node from child array.Returns this node's parent or null if this node has no parentbooleanisLeaf()Returns true if this node has no children or setIsNotLeaf prop is not set.voidSet the data at particular column indexvoidset 'isLeaf' status to 'false'toString()
-
Field Details
-
parent
-
children
-
allowsChildren
protected boolean allowsChildren -
isLeaf
protected boolean isLeaf
-
-
Constructor Details
-
PRemovePaymentSetupNode
public PRemovePaymentSetupNode() -
PRemovePaymentSetupNode
-
PRemovePaymentSetupNode
-
-
Method Details
-
setIsNotLeaf
public void setIsNotLeaf()set 'isLeaf' status to 'false' -
equals
compare fields - not references -
addChild
Add children to the node- Parameters:
child- PRemoveBillInProgressNode
-
data
-
setDataAt
Set the data at particular column index- Parameters:
s- Stringi- int
-
getChildAt
Returns the child at the specified index in this node's child array.- Specified by:
getChildAtin interfaceTreeNode- Parameters:
childIndex- int- Returns:
- TreeNode
-
getChildCount
public int getChildCount()Returns the number of children of this node.- Specified by:
getChildCountin interfaceTreeNode- Returns:
- int
-
getParent
Returns this node's parent or null if this node has no parent -
getIndex
Returns the index of child Node from child array. -
getAllowsChildren
public boolean getAllowsChildren()Returns true if this node is allowed to have children.- Specified by:
getAllowsChildrenin interfaceTreeNode- Returns:
- boolean
-
isLeaf
public boolean isLeaf()Returns true if this node has no children or setIsNotLeaf prop is not set. -
children
Creates and returns a forward-order enumeration of this node's children. -
childArray
Returns array of childrens- Returns:
- Object[]
-
toString
-