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 boolean
protected Vector
protected boolean
protected PRemovePaymentSetupNode
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(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()
boolean
compare fields - not referencesboolean
Returns 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.int
Returns the number of children of this node.int
Returns the index of child Node from child array.Returns this node's parent or null if this node has no parentboolean
isLeaf()
Returns true if this node has no children or setIsNotLeaf prop is not set.void
Set the data at particular column indexvoid
set '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:
getChildAt
in interfaceTreeNode
- Parameters:
childIndex
- int- Returns:
- TreeNode
-
getChildCount
public int getChildCount()Returns the number of children of this node.- Specified by:
getChildCount
in 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:
getAllowsChildren
in 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
-